Learn more about these different git repos.
Other Git URLs
Hello. When setting up a testing pagure instance using the docker-compose file, the container creation sequence does not create the needed pagure.egg-info directory, which then causes the git_auth.get_auth_helper function to fail with a KeyError, because pkg_resources has no knowledge about the entry points. It can be worked around by running python setup.py develop in the dev_web_1 container, but it should be probably added to the web-run script? Of course, because of the volume mapping, it will also manifest in the host's filesystem, however it is probably better to have a working containerized deployment.
I have tried setting things up and it works fine for me, can you tell me the exact steps to replicate.
The steps were: 1. Do a fresh clone. 2. Change to the folder with the checkout. 3. Run mkdir -p lcl/{repos,remotes,attachments,releases}. 4. Run docker-compose -f dev/docker-compose.yml build. 5. Run docker-compose -f dev/docker-compose.yml up -d 6. Create a repository through the web interface. At least in my case, it was enough to trigger the worker failure during the search of the gitolite3 auth backend.
I got this error while making a PR because the diff requires a diffstyle class which was not there, so yes for docker we are missing python setup.py build.
diff
diffstyle
python setup.py build
What will be the good way of doing this @jessfraz can you help us out?
Now that the diffstyle class has been removed, I believe this ticket is no longer an issue. Could someone confirm?
Closing this one off. Feel Free to re-open if this is still and issue.
Metadata Update from @ryanlerch: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.