-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Disable a project without deleting it? #8143
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
Comments
We do have a policy for abandoned projects modeled after PEP 541, but we don't seem to have a policy on name squatting. I also looked into using redirections, but I don't think it's possible to redirect to an |
You can create redirects to external sites, but redirects only work on 404s. So in order to have a global redirect you can import an "empty" project (with only an index.rst), set an exact redirect from Note that you can omit docs on custom redirects https://docs.readthedocs.io/en/stable/user-defined-redirects.html#exact-redirects |
I also tried to disable doc builds for "numpy" as well, because as far as I can tell RTD is still trying (and failing) to build the docs upon every commit. A re-direct isn't really so important here -- a 404 would be fine. I guess the simplest solution would be to delete the project, and just keep an eye out for anyone claiming the name. If that comes up, I assume the RTD team will be responsive. |
You should remove the webhooks that are pointing to rtd from the github project. |
Oh nevermind -- someone just manually tried doing a build a few hours ago.
There are no web-hooks to worry about :)
…On Wed, Apr 28, 2021 at 7:04 PM Santos Gallegos ***@***.***> wrote:
I also tried to disable doc builds for "numpy" as well, because as far as
I can tell RTD is still trying (and failing) to build the docs upon every
commit.
You should remove the webhooks that are pointing to rtd from the github
project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8143 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJJFVXEPTRCCKHSO5SY2LTTLC5C5ANCNFSM43X5JWWA>
.
|
Some ideas:
I'd personally add a "nice index" saying that the project was moved but it's kept to avoid "stealing the namespace" and confusing users. Why I am saying this? Because we do have a policy for abandoned projects and if someone request |
The bigger questions are:
I suppose that you already talked about this, tho. |
Looks like you cannot do that, there's Active/Hidden buttons and for
that's not relevant, we do not want to build or host on RTD - we just also do not want anyone else to take over the |
This looks like a good idea. |
IMO it would be worth reconsidering for cases where the name is already "claimed" in the Python community by another project and could potentially be a source of confusion. Kind of like how Pypi doesn't let you register projects with the same name as standard library modules. |
For context, it was challenging to get NumPy's doc generating working on RTD for a few reasons:
Presumably these could all be fixed, but I'm not sure it would be a good use of anyone's time. We already have a pretty good custom CI setup for building NumPy's docs, and NumPy is a bit of a special case (as the foundation of the numerical Python ecosystem). |
Thanks a lot for the extra context @shoyer! |
The main challenge here is that RTD is larger than Python. So there's a large number of projects in other package indexes which have similar names to Python ones, and we can't really reserve every special case in every language. I think the proper solution is just changing the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@ericholscher I saw that you marked this issue as |
I think probably a guide: |
I'm confused, isn't this about being able to "reserve" or "disable" a project? |
@astrojuanlu I think both apply :D like you can create an empty project that redirects to the new domain, that means leaving the old project always reserved/active. |
We have implemented "Force redirects" now and we also wrote a small guide about how to migrate your docs to a different domain: https://docs.readthedocs.io/en/stable/user-defined-redirects.html#migrating-your-documentation-to-another-domain I'm closing this issue, but feel free to re-open if there is another action that Read the Docs should do at this point. Also, let us know if you find that guide useful to achieve your goal 👍🏼 |
@rgommers and I are maintainers for NumPy.
There is currently a broken RTD config for NumPy that is attempting (and failing) to build every new commit. This seems like a needless waste of resources -- and also users could stumble upon the broken docs -- but there is concern (numpy/numpy.org#431) that if we deleted the project someone unaffiliated could register the name.
Is there some way we could disable the NumPy project without deleting it, or otherwise achieve this goal?
Thanks,
Stephan
The text was updated successfully, but these errors were encountered: