Re: -s/--checksum deprecated

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>

On Fri, 17 Apr 2009, 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.

you're right- I've just pushed a change which should fix this - and I'm 
fairly certain this doesn't break mergerepos.

Check out from git and give it a test for me, please.
-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.