Comments (6)
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.
I assume you meant svn.python.org? hg.python.org is still alive.
from gh-migration.
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:
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.
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.
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.
I found two files used by the lookup script:
- hglookup.py is the script itself
- hg_commits.json is a flat list of HG commits
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)
- Issue (re)numbering HOT 9
- Replace the local_replace.py script HOT 1
- Map bpo users to GitHub users HOT 15
- Notify bpo users once the migration is done HOT 12
- Migration and risk management plans HOT 2
- Make bpo read-only HOT 3
- Add links from bpo to GitHub
- Set up autonosy on labels HOT 2
- Add a page that redirects from bpo to GitHub HOT 3
- Fate of Roundup and the instances HOT 1
- Some GH PR references were not ported correctly HOT 19
- Archive bpo-related repos HOT 6
- Message conversion and formatting HOT 2
- Write a tool to export data from bpo HOT 1
- Map bpo issue metadata to GitHub fields/labels HOT 7
- Replace the weekly summary report HOT 20
- Replace the sendmail script HOT 13
- Replace the irker detector HOT 3
- Replace the stats page HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gh-migration.