Re: -s/--checksum deprecated
Axel Thimm <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 17, 2009 at 11:11:48PM +0300, Axel Thimm wrote: > On Fri, Apr 17, 2009 at 03:31:44PM -0400, Seth Vidal wrote: > >>>> createrepo 0.9.7 has the options to change the checksum type > >>>> deprected, and indeed some parts are hardcoded (for example using -s > >>>> uses the proper sumtype for the meta-metadata, but still uses the > >>>> hardwired sha256 for the checksums of the packages themselves). > > >>> Check upstream git and latest 0.9.7 build in f11/rawhide - I already > >>> undeprecated it. > > I still have problems with the latest createrepo - I tried to use it > with "-s sha" and -s "sha1". The checksums of the metadata files in > repomd.xml is then indeed sha1, but the checksums of the packages in > primary is still sha256. CreateRepoPackage inherits from YumLocalPackage which has a default self.checksum_type. Maybe CreateRepoPackage's __init__ should replace self.checksum_type with the cli option? -- Axel.Thimm at ATrpms.net _______________________________________________ Rpm-metadata mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/rpm-metadata
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkno5e0ACgkQQBVS1GOamfE7FACeLOgDXb2/+RFydD5fetxsM3ZE uBQAn3q1skHsdii/C/11VuVMD52Gjqsf =fiU6 -----END PGP SIGNATURE-----