Skip to content
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 support ssh:https:// URL and github local branch name fix. #148

Closed
wants to merge 2 commits into from

Conversation

kounoike
Copy link
Collaborator

@kounoike kounoike commented Apr 30, 2017

by Git manual git command also supports ssh:https:// style URL. It is useful for GitBucket supoprt(#144).

And Gogs/Gitea can use any user for ssh access. This change accepts any user on scp-style user@server:pathto/repo.git.

@guyzmo
Copy link
Owner

guyzmo commented Apr 30, 2017

hum it's missing the third commit 😖

@kounoike
Copy link
Collaborator Author

hum it's missing the third commit

"third commit" means local branch name fix? I will keep it to #144. (I think it has a little relation to GitBucket support).

@guyzmo guyzmo closed this in 625cb64 Apr 30, 2017
@guyzmo
Copy link
Owner

guyzmo commented Apr 30, 2017

merged 👍

elif url.startswith('git@'):
if url.endswith('.git'):
url = url[:-4]
elif url.find('@') > -1 and url.find(':') > -1:
Copy link
Owner

Choose a reason for hiding this comment

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

so you know, this is not very pythonic, the pythonic way is if '@' in url 😉

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, thanks for comments!

guyzmo added a commit that referenced this pull request May 8, 2017
First anniversary release 🎂

This release marks the first anniversary
and 10th release of git-repo 🎉

Now git-repo supports 6 git services:

  github, gitlab, bitbucket,
  gogs, gitea and gitbucket

It supports the following commands:

  clone, fork, create, delete,
  add, open, ls, request, gist

And it's becoming relatively stable
(keep sending bug reports 🙏)

♥ Contributors

Thanks to @kounoike for the gitbucket support 🙌

Now there are three contributors promoted to collaborators:

* @kounoike, @pyhedgehog and @Crazybus

🚧 Features

* When add has no parameters, add default remote #100 #141
* When add has 'upstream' parameter, add the upstream remote #99 #141
* Use default branch instead of hardcoded 'master' #91
* Refactor and complete bitbucket support #43 #11 #80 #14 #89 #90 #79
* Loosen versions of dependencies #133
* Report if the service is already setup #136
* Adds GitBucket support #142 #144
* Adds support for ssh:https:// URL #148

🚒 Bugfixes

* fix various crashes #152
* fix gitlab clone crash #129
* fix request create command #147 #127
* fix request fetch command #138 #131
* fix wizard crash #149
* fix mishandling of renamed gitlab project urls #137

📝 Documentation

* documentation #145

Signed-off-by: Guyzmo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants