"SHA256ify" commits

Edwin Groothuis edwin at mavetju.org
Mon Jan 23 01:52:23 PST 2006


On Sun, Jan 22, 2006 at 03:54:30PM -0800, Darren Pilgrim wrote:
> There's no criticism here, just one geek's interested query.  I'm already
> familiar with the reasons for moving to SHA256, but how is this process
> being accomplished?  What are you using to calculate and insert the new
> hashes?  What conditions result in the "manually checked and updated"
> commit?  If there's previous list traffic answering these questions, by all
> means, point me in a direction.

The way it's done right now is best described as "blunt axe":

- Run "make checksun", which downloads the files and checks them
  for validity.

- Run "make makesum", which adds the SHA256 lines

- Diff the old distinfo and new distinfo for lost lines.

- If no lost lines, commit. The commit info only shows +n and -0.


The "manually checked and updated" ones are ones on which the diff
showed -n (where n!=0) and checked for validity, for example the
relocation of SIZE or extra files which the normal "mkae checksum"
didn't fetch.

Of course I'm going to miss one or two lines, but a distinfo parser
will later on tell me what I'm still missing.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/


More information about the cvs-all mailing list