[core-workflow] GitHub migration update for 2016-12-03

Antoine Pitrou solipsis at pitrou.net
Mon Dec 5 18:51:30 EST 2016


On Mon, 05 Dec 2016 23:45:52 +0000
Brett Cannon <brett at python.org> wrote:
> >  
> > >       - Need to update the code to use the commit IDs (both 12 and 40
> > >       character lengths) for linking to hg commits
> > >       - Need to update the code to accept 10 or longer hashes from git
> > >       (default used to be 7, but git 2.11 now calculates the shortest,
> > >       unamibiguous hash and CPython is big enough to need 10 characters)  
> >
> > I'm not sure I understand those two points, but that probably doesn't
> > matter.
> >  
> 
> hg.python.org/lookup says any hexadecimal number that is 12 or 40 digits is
> an hg commit ID, but git uses 10 or 40 digits for our repo for a commit
> hash. The 10 digit and 12 digit lengths don't clash but the 40 digit one
> does.

I see.  Thanks for the clarification.

Regards

Antoine.




More information about the core-workflow mailing list