-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docs on renaming existing package #40171
Conversation
To mention the old package's URL should be updated.
@ericphanson @oxinabox Is this good to merge? |
I think so. Do you think the link is OK? That was the only PR I could find which actually did the thing I suggest to do here, but the main PR body has a lot of discussion which I thought could confuse people. |
Hmmm. Maybe pick a simpler PR? |
Or just omit the PR link. I agree that the discussion in that PR will probably be overwhelming and not terribly useful. |
README.md
Outdated
|
||
- Follow the instructions above for renaming a package: rename on GitHub, rename files etc. | ||
- if you rename the repository so it has a new URL, make a PR to edit the URL stored in the | ||
registry for the old package name to point to the new URL ([example](https://github.com/JuliaRegistries/General/pull/11578/files)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
registry for the old package name to point to the new URL ([example](https://github.com/JuliaRegistries/General/pull/11578/files)). | |
registry for the old package name to point to the new URL. |
These are the repos whose URL in the registry redirects to another URL (ignoring (edit: crossed-out ones which have already been updated). as of a couple weeks ago when I ran get_url_after_redirect(url) = readchomp(`curl -ILs -o /dev/null -w %\{url_effective\} $url`)
# GitHub does not like this and will block you temporarily:
repo_redirects_df = let
repo_redirects_df = DataFrame(:original_repo => unique(df.repo))
repo_redirects_df.final_repo = asyncmap(get_url_after_redirect, repo_redirects_df.original_repo)
repo_redirects_df
end
Arrow.write("repo_redirects.arrow", repo_redirects_df) and got suspended from GitHub for a day for not rate-limiting when preparing my JuliaCon talk with Mosè about how many packages have docs/tests/ci/license/# lines of code/etc in General. Of those, only one is a rename ( |
To mention the old package's URL should be updated. cc @oxinabox who wrote the original version