Learn more about these different git repos.
Other Git URLs
Just tried to setup a development environment with Vagrant for the first time in a while, and ran into a bunch of issues. Below are the issues i hit, and what i did to get the vagrant setup working again. Not really versed in how all this works, so not comportable doing a PR for this, but just listing the issues and what i did so hopefully someone with more knowedge can :smile:
systemctl --user enable pagure.service pagure-docs.service pagure_ci.service pagure_ev.service pagure_webhook.service pagure_worker.service systemctl --user start pagure.service pagure-docs.service pagure_ci.service pagure_ev.service pagure_webhook.service pagure_worker.service
After starting the services, a couple failed with missing deps (trollius and trollius-redis) these are installed via RPM, so not sure why it's not finding them. I Fixed this by doing a pip install of these in the virtualenv.
pagure_webhook.service was complaining about not being able to find /home/vagrant/devel/webhook-server/pagure-webhook-server.py this file actaully appears to be in /home/vagrant/devel/pagure-webhook/pagure-webhook-server.py I just updated the pagure_webhook.service file with the correct location
/home/vagrant/devel/webhook-server/pagure-webhook-server.py
/home/vagrant/devel/pagure-webhook/pagure-webhook-server.py
pagure_worker.service was erroring out on invalid arguments. It appears the celery deprecated the --autoreload flag. I just removed this from the pagure_worker.service
The first point is a dup of: https://pagure.io/pagure/issue/2647
And there is also https://pagure.io/pagure/issue/2639 about install all the deps for the tests :)
You said on IRC you managed to fix the vagrant setup, could you send a PR for this?
@pingou i just meant that i figured out how to fix it after provisioning (i.e. the steps above)
anyhoo, i figured out how to fix all the issues in ansible now... see PR#2762
Metadata Update from @ryanlerch: - Issue assigned to ryanlerch
Fixed in the aforementioned PR
Metadata Update from @pingou: - Issue close_status updated to: Fixed
Login to comment on this ticket.