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

Destroy documentation #3413

Merged
merged 6 commits into from
Mar 25, 2018
Merged

Destroy documentation #3413

merged 6 commits into from
Mar 25, 2018

Conversation

ewdurbin
Copy link
Member

@ewdurbin ewdurbin commented Mar 25, 2018

Resolves #582

Only displays admin tab for projects which have documentation on pythonhosted.org

I'm going to spot check the bucket and our DB and make sure it's in sync before we deploy

Requires new configuration New configuration added:

test.pypi.org

DOCS_BACKEND=warehouse.packaging.services.S3FileStorage bucket=pypi-docs-staging

pypi.org

DOCS_BACKEND=warehouse.packaging.services.S3FileStorage bucket=pypi-docs

@ewdurbin
Copy link
Member Author

screen shot 2018-03-25 at 12 54 42 pm
screen shot 2018-03-25 at 12 54 45 pm
screen shot 2018-03-25 at 12 54 47 pm
screen shot 2018-03-25 at 12 54 57 pm
screen shot 2018-03-25 at 12 55 00 pm
screen shot 2018-03-25 at 12 55 09 pm


project.has_docs = False
# Flush so we can repeat this multiple times if necessary
request.db.flush()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need a flush here? That really surprises me that it's required.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eh, probably not, definitely just copy pasta :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants