-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add gogs support #18
Comments
If there are no objections I'm going to implement this one. |
I got no objections, don't hesitate to ask for my help on anything. I wanted to work on it recently, as I started pushing to a friend's gogs, but I already got my hands full with both the gitlab and bitbucket integrations. |
for the tests, @pyhedgehog, please come back on IRC so we can discuss quickly what's going wrong. |
This reverts commit 9de90ce.
Just to log here results of our discussion:
|
for the feature set, go by babysteps:
About the configuration features:
About the tests, I did my best to make them easy to write and run, of course I'm around if you need any help. |
FYI, I actually just checked with a gogs install, I believe it's possible to make a fork, given that the token auth works for this use case: if you make a
to the URL: N.B.: I believe there's a |
implementation for tokens in progress over unfoldingWord-dev/python-gitea-client#2 👍 |
BTW, in the module http_utils you'll have to have init create a Also, we need to make sure that That's very important to have that in order to be able to write tests in git-repo. |
How you've avoided |
@pyhedgehog Please make an issue for each (unless there already is one) so that the devs (myself included) are aware of the need 🙂 |
@bkcsoft well the two most important missing APIs (AFAICT):
and generally for feature completeness:
I'll leave @pyhedgehog make an issue about repository listing, as I'm not sure to the details of the repository listing limitations. Some other API might be nice to have (like the ability to list and push SSH public keys, or have oauth2 authentication). |
- extraction of all GogsApi code into an adapter subclass - removal of custom features to use the RepositoryServices equivalents Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- removed url handling code from GogsService - added handling of new URL details parameters in RepositoryService Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- added env variable GOGS_URL to select the target (defaults to try.gogs.io) - added PLACEHOLDER in config for any target URL Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- extraction of all GogsApi code into an adapter subclass - removal of custom features to use the RepositoryServices equivalents Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- removed url handling code from GogsService - added handling of new URL details parameters in RepositoryService Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- added env variable GOGS_URL to select the target (defaults to try.gogs.io) - added PLACEHOLDER in config for any target URL Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- extraction of all GogsApi code into an adapter subclass - removal of custom features to use the RepositoryServices equivalents Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- removed url handling code from GogsService - added handling of new URL details parameters in RepositoryService Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- added env variable GOGS_URL to select the target (defaults to try.gogs.io) - added PLACEHOLDER in config for any target URL Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- removed url handling code from GogsService - added handling of new URL details parameters in RepositoryService Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
- added env variable GOGS_URL to select the target (defaults to try.gogs.io) - added PLACEHOLDER in config for any target URL Fixes: #18 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
🚧 Features * Gogs (fixes #18) (kudos @pyhedgehog) * certificate pinning (fixes #88) * non-standard http ports (fixes #81) * possibility to use custom SSH address (fixes #107) * .gitconfig in XDG home directory (fixes #95) * .gitconfig's proxy definition support (fixes #105) * automatically grab PR title/body from last commit (fixes #73) 🚒 Bugfixes * refactoring of listings, improved list command (fixes #114) 💄 Cosmetics * Switch to a git tag scheme for versioning (using setuptools-scm) * Updated README with new informations * Added @pyhedgehog to contributors * Updated TODO list Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
No description provided.
The text was updated successfully, but these errors were encountered: