Frank Fesevur
daa19636c6
Add license file ( #90 )
...
The project is licensed under MIT, but that is quite hidden
in the README. Adding a LICENSE files makes it more visible.
2017-06-23 06:51:58 -07:00
Paul Irish
0a43af82ab
skip failing tests temporarily. see #87
2017-06-21 13:27:34 -07:00
Paul Irish
15421e8fb4
readme: fix echo mode note
2017-06-21 10:25:22 -07:00
Paul Irish
fd2258f77b
readme: npm run unit for unit tests
2017-06-21 10:23:34 -07:00
Paul Irish
c9ba476e71
fix shellcheck failure https://github.com/koalaman/shellcheck/wiki/SC2004
2017-06-21 10:19:31 -07:00
Paul Irish
06b74c4821
update test expectations
2017-06-21 10:04:55 -07:00
Paul Irish
494c54e1c6
test: safety check to confirm we're in the sandbox repo.
2017-06-20 18:42:38 -07:00
Paul Irish
2bb36a36cd
git open issue: add assertion
2017-06-20 18:03:36 -07:00
Dave Wikoff
79501d6f11
Add issues support
2017-06-20 18:02:52 -07:00
Paul Irish
75ced59719
Merge branch 'master' into rewrite
2017-06-20 17:59:19 -07:00
Frank Fesevur
3f1d4e84b6
Not necessary anymore to skip the test
2017-06-20 17:57:52 -07:00
Paul Irish
73b460f582
add 'npm run unit' for bats tests.
2017-06-20 17:49:44 -07:00
Paul Irish
21d370175d
add tests for gitlab: ssh://git@host:port origin ( #82 )
2017-06-18 17:47:46 -07:00
Paul Irish
53e91d130b
export BROWSER variable, and test that its set.
2017-06-18 17:14:31 -07:00
Dave Wikoff
c2c7830514
Bitbucket server, and minor tweaks to BROWSER
2017-06-18 16:52:12 -07:00
Paul Irish
fd8b0aa991
sandboxrepo: set origin url differently for git 2.12.1?
2017-06-18 16:43:54 -07:00
Paul Irish
e4970897f8
update test expectations
2017-06-18 13:53:43 -07:00
Paul Irish
9e9fee04de
import revised git-open from @dermagia
...
62e17bfcb9/config/zsh/bin/git-open
2017-06-18 13:51:53 -07:00
Paul Irish
fbc508a940
add issue_template
2017-06-18 13:43:58 -07:00
Paul Irish
b449cd0cbc
Add BB sourceview tests from PR #26 ( #81 )
2017-06-18 13:38:43 -07:00
Paul Irish
42a4a0ee70
v1.3.1
2017-06-16 16:04:16 -07:00
Paul Irish
628d75faa8
readme: travis badge and changelog bump
...
[skip ci]
2017-06-16 16:02:52 -07:00
Paul Irish
927517adb9
Add a test suite ( #78 )
2017-06-16 15:57:49 -07:00
Frank Fesevur
661a4cb20b
Merge pull request #76 from xasx/gitlab-urls
...
Normalize ssh+port URLs to match default style
2017-06-16 08:58:32 +02:00
Andreas Schoeneck
ac027a8d00
Normalize ssh+port URLs to match default style
...
This will make `ssh://git@<host>:<port>/<user>/<repo>` URLs
intermediately look like `git@<host>:<user>/<repo>` and
expose these to further processing/substitution.
Properties required for proper working are:
* `gitopen.gitlab.domain`
* `gitopen.gitlab.ssh.port`
2017-06-12 12:56:31 +02:00
Frank Fesevur
054772bed6
Fix trailing spaces
...
CI checks because of it
Leftover of #63
2017-06-01 13:01:34 +02:00
Frank Fesevur
cf2c289692
Merge pull request #63 from freekmurze/master
...
Handle GitHub urls without the git user
2017-05-31 20:55:35 +02:00
Paul Irish
abd822a486
Merge pull request #74 from paulirish/shellcheck
...
Add Shellcheck to CI tests
2017-05-29 12:47:11 -07:00
Paul Irish
92dc862c02
correct shellcheck issues.
2017-05-29 12:41:01 -07:00
Paul Irish
33f34fa516
run shellcheck in CI
2017-05-29 12:37:35 -07:00
Paul Irish
75c61f13e6
Add eclint to assert editorconfig settings ( #72 )
2017-05-29 12:34:10 -07:00
Paul Irish
d2147824ec
add travis config ( #73 )
2017-05-29 12:28:48 -07:00
Frank Fesevur
6da04ca3bc
Add EditorConfig file ( #70 )
2017-05-29 12:11:49 -07:00
Trent Rand
176f1b8f96
Remove username from <giturl> for BitBucket ( #69 )
...
The username prefix ‘username@bitbucket.org/*’ caused a phishing error
on Safari which persisted across page visits on BitBucket, unless the
username was manually deleted from url.
2017-05-26 19:16:03 -07:00
Gilad Peleg
1abbb405f9
Correct usage for new versions of zplug ( #66 )
2017-04-23 08:21:59 -07:00
Paul Irish
305629b0af
1.3.0
2017-02-10 16:22:43 -08:00
Martin Delille
4e3aa0ad51
Add http protocol for Gitlab custom host ( #60 )
...
* Add http protocol for Gitlab custom host
* default to https
* Revert "default to https"
This reverts commit b25190b5d1 .
* Revert "Merge branch 'master' into http"
This reverts commit 18573f8b29 , reversing
changes made to 88a9e254ae .
* Revert "Revert "Merge branch 'master' into http""
This reverts commit fa0e6d1f21 .
* Revert "Revert "default to https""
This reverts commit d754476010 .
2017-02-10 09:13:47 -08:00
Freek Van der Herten
e7dc5562b7
Handle GitHub urls without the git user
...
In my ssh config if specified that all connections with github.com should use the `git` user. So when cloning a repo I can type:
```bash
git clone github.com:paulirish/git-open.git
```
instead of
```bash
git clone git@github.com:paulirish/git-open.git
```
This PR contains a fix for repos that have been cloned without specifying the `git` user.
2017-01-04 16:03:51 +01:00
Paul Irish
bbc50d7018
v1.2.0
2017-01-03 16:27:40 -08:00
Paul Irish
197648315b
Merge pull request #56 from elim/feature/separate-url-gitlab
...
Supports separate URLs in the repo and the web
2017-01-03 16:19:24 -08:00
Takeru Naito
8ce4938097
Add an explanation of options for GitLab
2016-11-21 20:10:21 +09:00
Takeru Naito
7ac4f71f42
Change the option names for GitLab
2016-11-19 23:03:57 +09:00
Paul Irish
70e7399140
Merge pull request #57 from b4b4r07/change-exit-code
...
Changed to be exit code when that command is finished
2016-11-12 17:55:13 -08:00
b4b4r07
cb4d833644
Replace exit 0 with exit $?
2016-11-13 01:51:40 +09:00
Takeru Naito
1808e612c5
Supports separate URLs in the repo and the web
...
On a GitLab server.
ex.
---
repo: git@git.example.com:namespace/project.git
web: https://gitlab.example.com/namespace/project
$ git config gitopen.gitlab.domain gitlab.example.com
$ git config gitopen.gitlab.ssh-domain git.example.com
$ git open
2016-11-04 19:03:51 +09:00
Paul Irish
ce8fb12532
Merge pull request #55 from ffes/gitlab-ssh
...
Handle GitLab's default SSH notation
2016-11-02 22:54:08 -07:00
Frank Fesevur
36f9a77956
Handle GitLab's default SSH notation
...
On GitLab the default SSH style is like git@gitlab.example.com:user/repo
Now it recognizes this format as well on your own GitLab installation.
2016-10-27 14:01:14 +02:00
Paul Irish
485bb31427
Merge pull request #51 from evoactivity/patch-1
...
Handle gitlab using SSH remote URL
2016-08-15 19:39:55 -07:00
Paul Irish
afd7fee2b2
Merge pull request #49 from neoascetic/patch-1
...
Fix gist opening
2016-08-15 19:26:09 -07:00
Liam Potter
6f07f14de5
Handle gitlab using SSH remote URL
...
You need to add another config option to remove the port, but this is now working for me. Could be improved by adding an option for the protocol as well, I'm using `http` instead of `https`, I've left that as is for now though.
2016-08-15 13:19:17 +01:00