Coder Social home page Coder Social logo

Comments (6)

ezio-melotti avatar ezio-melotti commented on July 2, 2024

Those refs were already broken since they mapped to hg.python.org, which hasn't been accessible in a while, so I didn't port them.

from gh-migration.

gvanrossum avatar gvanrossum commented on July 2, 2024

I assume you meant svn.python.org? hg.python.org is still alive.

from gh-migration.

ezio-melotti avatar ezio-melotti commented on July 2, 2024

The rXXXXX revisions were updated in bpo to point to hg.python.org/lookup, so that e.g. r72662 linked to https://hg.python.org/lookup/r72662. Then the lookup script was supposed to find the hg changeset equivalent to r72662, however if I try to open that link I get this:
image

The title of the popup indeed mentions svn.python.org, but the end result is the same: the link and the lookup script don't seem accessible anymore.

from gh-migration.

gvanrossum avatar gvanrossum commented on July 2, 2024

Hm, it looks like it might be difficult to recover those references. E.g. I looked for the commit that added weakref support to copy.py, which was r72662 according to https://bugs.python.org/issue2116#msg87822 (or r72670?). It's easy to locate in the git history for copy.py: python/cpython@6e61006 -- but somehow the revision number got changed:

Merged revisions 72669 via svnmerge from
svn+ssh://[email protected]/python/trunk

........
  r72669 | antoine.pitrou | 2009-05-15 18:54:52 +0200 (ven., 15 mai 2009) | 3 lines

  Issue https://github.com/python/cpython/pull/2116: Weak references and weak dictionaries now support copy()ing and deepcopy()ing.
........

from gh-migration.

serhiy-storchaka avatar serhiy-storchaka commented on July 2, 2024

Yes, it was already broken on BPO for some time. It is bad. We are losing history. And it is only 13 years old.

I think it is a good opportunity to fix old references. Can we scan all logs and create a mapping between Subversion revision numbers, and Mercurial and Git hashes?

from gh-migration.

ezio-melotti avatar ezio-melotti commented on July 2, 2024

I found two files used by the lookup script:

There doesn't seem to be any mapping between SVN and HG, and the script simply accepts rXXXXX and redirects that to svn.python.org (see line 48).

I'm not aware of a mapping between HG and Git either, unless someone still has the logs of the SVN->HG and HG->Git migrations. It should be possible to recreate them though -- assuming we still have an SVN clone around (or if the SVN commit number is stored somewhere in the HG metadata).

from gh-migration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.