-
Notifications
You must be signed in to change notification settings - Fork 254
rewrite: Bitbucket server, and minor tweaks to BROWSER #84
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
Conversation
I also implemented #80 here, it looks like https://bitbucket.org/guyzmo/git-repo/src?at=bugfix/conftest_fix worked without the ref (or HEAD) at all |
@derimagia take look at these two results:
you can see a few changes in the second. (commits from |
@derimagia I like the look of the refactors in here. Very nice!
+1 to this.
yeah i'm hoping that's the case, it seemed like a stretch anyway.
no reason. i like having it available everywhere. this is much better. I'll hold off on merging until we hear confirmation from @nwinkler about the details of the bb server stuff. |
@derimagia fwiw you have some |
@derimagia so far it looks like the Changing it to |
Interesting, Line 83 in fbc508a
I added the ref to bitbucket urls, as expected this messes with the tests if we don't have a static commit, but i'll take a look at this later tonight I removed the directory (thought I did it, whoops) and added the export. I'm using mac too, strange It must be doing something odd, we may be able to have just lifted it up but I'll just export it for now. |
@derimagia btw take a look at |
@derimagia can you work from the |
Changed the branch, it still has |
perfect. this is great. |
Added bitbucket server support. I didn't add functionality for the prefix yet, i'd rather do that for all of them at once (Having a way to supply replacements for the "server" with the root path would take care of Custom Schemes (http vs https), Gitlab having a separate ssh vs http domain, and having custom roots). There any objections to this? Having separate options for every service sounds a little strange rather than supporting them everywhere
From the tests,
gitopen.gitlab.port
should no longer be needed since it just removes the protocol anyway i believe.This also makes it so you can supply "BROWSER" on all platforms, or was there a reason why this wasn't allowed? Made testing slightly easier to allow it. I had to hardcode "echo" to not be exported to /dev/null since before it was like this for tests, if we add options using getopts a verbosity option would be nice here