-
Notifications
You must be signed in to change notification settings - Fork 12
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
Remove git-url-parse requirement #73
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline
1c6e54c
to
69177bd
Compare
@retr0h I've added all the repo URIs from the git-url-parse tests, along with a couple more specific to Bitbucket Server. I added a new test to validate the repo URIs, and updated the existing tests to take into account the lock and clone files being in a hostname subdirectory. All tests pass. |
Fixes #72
- replace giturlparse.parse with local implementation based on
urllib.parse.urlparse
- Strip tilde from owner for Bitbucket Server user repos
- put src_dir and lock dir under directory named after the repo
hostname
- remove _get_lock_dir()
69177bd
to
744bfae
Compare
Not wanting to change your course, however there is discussion about new maintenance of git-url-parse at https://github.com/retr0h/git-url-parse/pull/39 @coala / @moremoban / @GitMateIO depends on it in too many different projects for vendoring to be the ideal solution, and we do have a large-ish team, but we'd also be happy if someone else has a special interest in maintaining it. fwiw, coala also needs the BitBucket support improved. |
I don't much care one way or the other, but it seemed to me that if it was easy to remove the dependency on an unmaintained project then why not. But given that @retr0h isn't reviewing this PR after I made the requested changes, I've dropped my interest in this project entirely. |
I haven't had a chance to look at this. Sorry about that. |
It's not personal -- we all have day jobs and sometimes other things take over our lives. I just think this project is getting very low attention, and we can't rely on it, so we'll come up with a different solution for our needs. |
@philipsd6 , depending on your needs, you may be interested in https://github.com/moremoban/moban , which isnt as mature as gilt at the things gilt does well, but it is maintained and has a few different features. Another one I have seen but not tried is https://github.com/jpscaletti/copier . Or you may someone more suitable in the lists at ksdme/org-status#6 and https://gitlab.com/coala/package_manager/issues/237 |
Gilt is maintained. However, I am in the process of moving Gilt into my own repo. I somewhat recently moved teams, and no longer have access to merge Gilt PRs. I am hoping to straighten that out soon, and get the project back in line. Again, my apologies. |
@philipsd6 your fix works great! I installed it in pip with the following command (somehow got errors, but it installed), and now gilt works with Bitbucket. Thanks much!
@retr0h do you have access to merge yet? Or move the repo? :) |
@ryandaugherty ok just got access back :) |
7f69361
to
54f2a58
Compare
Yay! thanks! |
Fixes #72
giturlparse.parse
with local implementation based onurllib.parse.urlparse
src_dir
andlock dir
under directory named after the repohostname
_get_lock_file()