-
Notifications
You must be signed in to change notification settings - Fork 1
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
Gitlab integration #43
base: develop
Are you sure you want to change the base?
Conversation
Thanks for the contribution! We likely won’t be able to review until early August |
@tmorrell any update here ? |
We've had some staffing changes, but it's on our list to review soon. Hopefully by the end of the month! One quick comment, it would be great to add some gitlab tests like https://github.com/caltechlibrary/iga/blob/develop/tests/test_github_mocks.py and https://github.com/caltechlibrary/iga/blob/develop/tests/test_github.py. Since we don't use gitlab at Caltech having tests is important to make sure we don't break anything. |
working on it. next commit within this week. |
added the pytest for gitlab. |
@tmorrell , added the pytest similar to github and github_mocks. |
Thanks again for your patience! This contribution looks really good. When I was testing I did run into the following error
with command I'll try to do more debugging next week. I think we should change to --account and --git-repo. I don't think we want to change -github-token, since that's connected to the environment variable name. I can imagine a scenario where someone is archiving both github and gitlab content, and they'd want to have both tokens in their environment. |
@tmorrell , I am not getting that error. |
Description
Closes: #42 #40
This allows gitlab integration.
Added CLI options:
Interface to gitlab is made in
gitlab.py
.A comman inteferace that pass the info to gitlab or github is made, (githublab.py) , it calls gitlab.py if --gitlab is specified.
Aditonal: closes the rich optionhighlighter issue aswell.
Questions:
In cli help , the text says --account but that option is not there. The available option is --github-account.
Should we change to --account (as this will be not github/gitlab specicifc).
Also there are option --github-token and --github-repo , should this be changed to --git-token and --git-repo repectively. So that we will be NOT be github/gitlab specific.
Software environment
Please include the following information:
Checklist
Please check that the following have been done:
develop
or another branch and notmain