Re: Is md5sum compulsion in review instead sha1sum?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "NM" == Nicolas Mailhot <nicolas.mailhot@xxxxxxxxxxx> writes:

NM> This is something for the BADURL script or autoqa, IMHO. The ROI on
NM> doing it manually, and only on the initial submission, is pretty
NM> low.

Well, so far I've caught many, many instances of improper URLs, several
cases where the packager had modified the tarball and not realized that
was problematic, and a few instances where the tarball needed to be
modified but the packager hadn't documented the reasons or the necessary
changes in accordance with our guidelines.  All of those are things that
need to be done in review, before the import, because the point is to
actually check the packages before they're imported to guard against
errors where the packager simply isn't aware of the proper way to do
things.  Letting crap get in and then mailbombing the packager with
autoqa mail (which doesn't even exist at this point) isn't friendly to
either the packager or the distribution.

But of course we have no QA on actual package reviews, so I guess you're
welcome to simply skip the step, or pretty much do whatever you want.
And in any case, it's only a few keystrokes to run this after unpacking
the srpm:

#!/bin/sh
mkdir source
cd source
spectool -g ../*spec
for i in *; do
  sha256sum $i
  sha256sum ../$i
done

and only a further few seconds to look at the output, so the investment
is rather low regardless of what you think the return is.

 - J<

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux