Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Fixes for bug 1112084 and some doc changes #417

Merged
merged 4 commits into from Dec 17, 2014
Merged

Conversation

lgp171188
Copy link
Contributor

All the dev requirements have been specified in requirements/dev.txt and are installed while the VM is provisioned. Docs have been updated for the current pre-commit hook. The users no longer have to install flake8 manually.

@@ -57,6 +57,9 @@ sudo -H -u vagrant virtualenv $VENV
# Install Fjord requirements
sudo -H -u vagrant $VENV/bin/python ./peep install -r requirements/requirements.txt

# Install Fjord dev requirements
sudo -H -u vagrant $VENV/bin/pip install -r requirements/dev.txt
Copy link
Contributor

Choose a reason for hiding this comment

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

Since dev.txt has hashes in it, you should probably use peep here, instead of pip.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@willkg said this on #input "we should install it with pip--not peep. that way we get dependencies. we don't really care about making sure what we are installing is exactly what we installed last time for dev libraries.". So I guess, I could remove the hashes and probably the version numbers as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok. @willkg trumps me here. I would leave the version numbers. I don't care about the hashes, they could stay or go.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The hashes and version numbers are there since I copy-pasted the contents from kitsune :)

Create a requirements/dev.txt and specify the dev requirements in it
Since we now have a requirements/dev.txt listing all the dev
requirements, we can install those requirements while provisioning
the VM. This is a better way to fix bug 1075563.
flake8 is automatically installed while the VM is provisioned
@willkg
Copy link
Member

willkg commented Dec 17, 2014

This looks good to me. Thank you!

willkg added a commit that referenced this pull request Dec 17, 2014
Fixes for bug 1112084 and some doc changes
@willkg willkg merged commit 405b0cc into mozilla:master Dec 17, 2014
@willkg
Copy link
Member

willkg commented Dec 17, 2014

d4c5a09 [bug 1112084] create requirements/dev.txt
4f03c48 [bug 1112084] Update provisioning script to install dev requirements
03c5710 Remove instructions for manual installation of flake8

@lgp171188 lgp171188 deleted the 1112084 branch December 19, 2014 13:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants