Skip to content

error make initdb if xz isn't installed #5872

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

Merged
merged 2 commits into from
Jun 4, 2019
Merged

error make initdb if xz isn't installed #5872

merged 2 commits into from
Jun 4, 2019

Conversation

ewdurbin
Copy link
Member

@ewdurbin ewdurbin commented May 17, 2019

This threw me for a loop getting warehouse setup on my new laptop! make initdb was silently failing to load the dev db assets.

This threw me for a loop getting warehouse setup on my new laptop! `make initdb` was silently failing.
@brainwane
Copy link
Contributor

@di I feel ok going ahead and merging this; how do you feel?

@di
Copy link
Member

di commented Jun 3, 2019

I had talked to @ewdurbin elsewhere about moving this step into a container to sidestep this problem entirely. I think he was attempting to do that but probably got sidetracked by more important stuff.

@brainwane
Copy link
Contributor

If this is a small positive step then how about we merge it and then work on the bigger improvement later?

@ewdurbin
Copy link
Member Author

ewdurbin commented Jun 4, 2019

Sorry I didn't close the loop! Moving it into the docker container was non-trivial. Let's merge this up.

Might make sense to look through all remaining local dev tasks and file an issue with a punch list to move them all into containers. This will likely make for a good contribution from someone with more docker-compose experience!

@ewdurbin ewdurbin merged commit 35ef1d1 into master Jun 4, 2019
@ewdurbin ewdurbin deleted the xz_error branch June 4, 2019 11:54
ewdurbin added a commit that referenced this pull request Jun 7, 2019
ewdurbin added a commit that referenced this pull request Jun 7, 2019
miketheman added a commit to miketheman/warehouse that referenced this pull request Mar 20, 2022
When moving all development actions to containers in pypi#10803, this step
remained outside on the host OS.

As `xz-utils` are installed in the `web` image already, use those
instead of relying on the host to install them.

Refs: pypi#5872
Closes: pypi#5980

Signed-off-by: Mike Fiedler <[email protected]>
di pushed a commit that referenced this pull request Mar 20, 2022
When moving all development actions to containers in #10803, this step
remained outside on the host OS.

As `xz-utils` are installed in the `web` image already, use those
instead of relying on the host to install them.

Refs: #5872
Closes: #5980

Signed-off-by: Mike Fiedler <[email protected]>
domdfcoding pushed a commit to domdfcoding/warehouse that referenced this pull request Jun 7, 2022
When moving all development actions to containers in pypi#10803, this step
remained outside on the host OS.

As `xz-utils` are installed in the `web` image already, use those
instead of relying on the host to install them.

Refs: pypi#5872
Closes: pypi#5980

Signed-off-by: Mike Fiedler <[email protected]>
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.

3 participants