Discussion:
createrepo not generate deltarpm in case of update
Farkas Levente
2012-11-20 12:56:51 UTC
Permalink
hi,
if i run this command:
createrepo --update --deltas --num-deltas 20 --oldpackagedirs x x
then it never generate drpms while if i remove --update ie:
createrepo --deltas --num-deltas 20 --oldpackagedirs x x
it's generate. why? i'd like to use --update since it's a rather large
repo and only a very small portion change, but i also like to generate
drpms for the updated packages.
--
Levente "Si vis pacem para bellum!"
James Antill
2012-11-27 20:06:37 UTC
Permalink
Post by Farkas Levente
hi,
createrepo --update --deltas --num-deltas 20 --oldpackagedirs x x
createrepo --deltas --num-deltas 20 --oldpackagedirs x x
it's generate. why? i'd like to use --update since it's a rather large
repo and only a very small portion change, but i also like to generate
drpms for the updated packages.
I assume you mean it doesn't generate deltas for packages it's already
found in the metadata?
At a guess that was probably a time saving thing, and/or just never
thought to be needed. What is the usecase you need it for (where you are
doing an update but don't have deltas for the old packages?)
Farkas Levente
2012-11-28 11:47:22 UTC
Permalink
Post by James Antill
Post by Farkas Levente
hi,
createrepo --update --deltas --num-deltas 20 --oldpackagedirs x x
createrepo --deltas --num-deltas 20 --oldpackagedirs x x
it's generate. why? i'd like to use --update since it's a rather large
repo and only a very small portion change, but i also like to generate
drpms for the updated packages.
I assume you mean it doesn't generate deltas for packages it's already
found in the metadata?
At a guess that was probably a time saving thing, and/or just never
thought to be needed. What is the usecase you need it for (where you are
doing an update but don't have deltas for the old packages?)
i mean if there is a
a-1.0
in the repo and i add
a-1.1
then it won't generate delta between a-1.0 and a-1.1.
while this is the most common use case:-)
--
Levente "Si vis pacem para bellum!"
Farkas Levente
2012-12-11 13:35:35 UTC
Permalink
is there any progress or feedback about it?
Post by Farkas Levente
Post by James Antill
Post by Farkas Levente
hi,
createrepo --update --deltas --num-deltas 20 --oldpackagedirs x x
createrepo --deltas --num-deltas 20 --oldpackagedirs x x
it's generate. why? i'd like to use --update since it's a rather large
repo and only a very small portion change, but i also like to generate
drpms for the updated packages.
I assume you mean it doesn't generate deltas for packages it's already
found in the metadata?
At a guess that was probably a time saving thing, and/or just never
thought to be needed. What is the usecase you need it for (where you are
doing an update but don't have deltas for the old packages?)
i mean if there is a
a-1.0
in the repo and i add
a-1.1
then it won't generate delta between a-1.0 and a-1.1.
while this is the most common use case:-)
--
Levente "Si vis pacem para bellum!"
--
Levente "Si vis pacem para bellum!"
Loading...