-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[backend] add "--filelists_ext" parameter for createrepo #12358
Conversation
This is an alternative for #12296, using the new I am not sure where this |
426026a
to
765b19c
Compare
can you please prefix your commit with [backend] ? |
the minitest failures seem to be cause by failing createrepo runs, will need to check why later today. |
The failures seem to be cause by the broken createrepo_c, independend of this cange. @M0ses is that already on your radar? |
765b19c
to
156f2a8
Compare
156f2a8
to
9b09be0
Compare
Sure. Done. |
and please write it using defined(): if defined($options{'filelists_ext'}); it seems to be the cause for the failures. |
9b09be0
to
b0716da
Compare
Done! |
b60b515
to
938aad4
Compare
revert my wrong hint and used a hash instead, testsuite is working now again. |
Oh sorry, I see now my bug : (( |
On Dienstag, 5. April 2022, 08:01:33 CEST Alberto Planas wrote:
Oh sorry, I see now my bug : ((
credits are going to @M0ses for spotting it btw :)
…--
Adrian Schroeter ***@***.***>
Build Infrastructure Project Manager
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
If "filelists_ext" option is enabled for the rpmmd repository, it will call createrepo_c with the --filelists_ext parameter. This parameter will create a new optional variant of filelists.xml, named filelists_ext.xml. This will contain, besides the list of files, the hash (usually SHA256) registered in the RPM header for this file (only for file types, not for ghost or dir types). Additionally, a new field "checksum" will register the hash algorithm used by librpm for those file entries. Signed-off-by: Alberto Planas <aplanas@suse.com>
6ae95fb
to
fddfa1c
Compare
createrepo_c renamed the --filelists_ext to --filelists-ext before the release, and this patch follow the rename. See #12358 for more information. Signed-off-by: Alberto Planas <aplanas@suse.com>
If "filelists_ext" option is enabled for the rpmmd repository, it will
call createrepo_c with the --filelists_ext parameter.
This parameter will create a new optional variant of filelists.xml,
named filelists_ext.xml. This will contain, besides the list of files,
the hash (usually SHA256) registered in the RPM header for this file
(only for file types, not for ghost or dir types).
Additionally, a new field "checksum" will register the hash algorithm
used by librpm for those file entries.
Signed-off-by: Alberto Planas aplanas@suse.com