Skip to content
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

Missing python packaging user guide #4576

Closed
davidfischer opened this issue Aug 28, 2018 · 20 comments
Closed

Missing python packaging user guide #4576

davidfischer opened this issue Aug 28, 2018 · 20 comments
Labels
Accepted Accepted issue on our roadmap Bug A bug

Comments

@davidfischer
Copy link
Contributor

Details

This is based on this tweet.

Expected Result

I expect the packaging guide to be there

Actual Result

It is not there

@theacodes
Copy link

theacodes commented Aug 28, 2018

More Context:
About 10 minutes ago, I deleted the account associated with my dead name. This seems to have broken every project associated with that name even though all of these projects have additional owners.

Prior to deletion I added my new account, theacodes, to every project. After deletion, this account does not have access.

Projects affected:

I feel like I'm forgetting one...

@theacodes
Copy link

To specify: I deleted the RTD account. I disassociated the old RTD account from my GitHub account before deletion.

@ncoghlan
Copy link

The symptoms from my side are the same as those that Thea is seeing on her new account: projects where we're co-maintainers (i.e. including Thea's old account) are not appearing in my project list at https://readthedocs.org/dashboard/

@stsewd stsewd added the Bug A bug label Aug 28, 2018
@stsewd
Copy link
Member

stsewd commented Aug 28, 2018

Ok, I was able to replicate this in my local instance. Looks like we are deleting all projects that belong to a user when it deletes its account (even if this wasn't the original owner of the project).

@theacodes
Copy link

theacodes commented Aug 28, 2018 via email

@agjohnson
Copy link
Contributor

Absolutely. We had a similar theoretical bug that we patched a while back, this is a different but related. Let me see if I can easily restore things from a backup

@theacodes
Copy link

theacodes commented Aug 28, 2018 via email

@agjohnson
Copy link
Contributor

No worries!

Everything is in flux since our migration to Azure, so frankly, it might be faster to just recreate the projects unfortunately.

@theacodes
Copy link

theacodes commented Aug 28, 2018 via email

@agjohnson
Copy link
Contributor

Files for the projects above have mostly been restored, I'm working on the database restore pieces now. Files aren't accessible by domain name until I get data out from the snapshot and back into our production database.

Good news: our new database restore procedure has officially been tested though ✔️

@agjohnson
Copy link
Contributor

@theacodes there are also some projects where your old account is the only owner, shall I restore those as well?

@theacodes
Copy link

theacodes commented Aug 28, 2018 via email

@agjohnson
Copy link
Contributor

Sounds good. I'll need verification for the changes on the orphaned projects as per our policy on intervening on project changes -- I'll send some verification emails tomorrow.

Things are mostly restored now. I didn't reload builds or build commands, if there is anything important there, let us know and we can manage restoring it. I haven't fully tested building either, but things appear okay.

I'll wrap up some of the smaller pieces tomorrow morning.

safwanrahman added a commit to safwanrahman/readthedocs.org that referenced this issue Aug 28, 2018
@humitos humitos added the Accepted Accepted issue on our roadmap label Aug 28, 2018
safwanrahman added a commit to safwanrahman/readthedocs.org that referenced this issue Aug 28, 2018
@theacodes
Copy link

Cool, so after the verification process my access will be restored to all of those projects?

@theacodes
Copy link

theacodes commented Aug 28, 2018

Okay, I'm not sure if this is related or not, but it appears one of the restored projects is not updating properly.

See https://nox.thea.codes/en/stable/ and https://nox.thea.codes/en/latest. These docs are quite old. The most recent two builds for latest and stable were successful and pulled in the correct commits from GitHub, but the HTML itself doesn't seem to be updating.

@agjohnson
Copy link
Contributor

Oops, I didn't test that I restored things with the correct permissions, so there is probably an issue there. I'll check on that later and follow up on email verification

@ncoghlan
Copy link

The Python Packaging User Guide has reverted quite a bit as well - most notably, the new Overview page that was merged in pypa/packaging.python.org@4b5e860 is missing.

The currently displayed PyPUG build does include the changes from mid-July to update Continuum Analytics references to Anaconda, Inc (to account for the company name change), so it's likely that that's just the most recently archived version.

However, I forced a new build, and even though that reported itself as successful, the https://packaging.python.org doesn't appear to have updated to the latest version.

(@theacodes I also added you back as a project maintainer on the user guide)

@theacodes
Copy link

theacodes commented Aug 30, 2018 via email

@agjohnson
Copy link
Contributor

Sorry, we had a busy day yesterday, so i'm just now getting to my yesterday todo list.

@theacodes it looks like nox is updating correctly. I see the version of nox that is marked as stable showing up at https://nox.thea.codes/en/stable/. I think latest looks correct too?

@ncoghlan I think the pypa guide is also updating correctly. Can you confirm your versions look as you expect, or if they don't, that rebuilding does update the hosted versions as you'd expect?

@ncoghlan
Copy link

ncoghlan commented Sep 3, 2018

The overview is back in PyPUG, so it does look like that's building again: https://packaging.python.org/overview/

Potentially still a CDN cache invalidation issue, though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Bug A bug
Projects
None yet
Development

No branches or pull requests

6 participants