Commit graph

209 commits

Author SHA1 Message Date
Dave Wikoff 7eeee771ce
default to upstream branch (#140)
default to upstream branch
2019-06-02 13:35:38 -04:00
Love F 3d1ad212b2 default to upstream branch 2019-06-02 14:24:41 +02:00
Paul Irish 4eed00f282
Fix shellcheck on travis (#134) 2018-12-03 18:24:29 -08:00
Paul Irish 556dbe91f2
readme: add 2.1.0 release to mini changelog 2018-12-03 11:09:06 -08:00
Paul Irish 5344a73106 -> v2.1.0 2018-12-03 10:59:46 -08:00
Paul Irish 5eba420570 npm audit fix 2018-12-03 10:55:18 -08:00
Paul Irish f02d7e97b0 add package-lock.json 2018-12-03 10:55:18 -08:00
Dave Wikoff 301c5a619e
Merge pull request #132 from neersighted/patch-1
Remove openopt, allow spaces in $BROWSER
2018-11-22 20:11:25 -05:00
Bjorn Neergaard 96c80ffe80 Remove openopt, allow spaces in $BROWSER
Remove the openopt variable, instead opting to allow spaces in `$BROWSER`.

`$BROWSER` as used by the XDG implementation allows spaces (and `%s`
printf-style formatting strings), and is actually a PATH-style list.
While this patch doesn't make git-open compliant with the XDG-style
variable, it does allow for the use of `BROWSER="powershell.exe
Start"` in the environment.
2018-11-21 14:01:33 -07:00
Dave Wikoff 4ca19904a2
Merge pull request #130 from orestisf1993/tags-commits
Support opening current tag / commit
2018-09-17 11:08:39 -04:00
Orestis Floros 8c8c41bd50
Support opening current tag / commit
Fixes #89.
Fixes #129.
2018-09-14 05:28:58 +03:00
Dave Wikoff 5fefffede3
Merge pull request #128 from crossroad0201/master
Supports AWS Code Commit.
2018-08-16 17:49:40 -04:00
Y.Tsuji 6bb49c28c5 Fix Indentation. 2018-08-13 01:55:43 +09:00
Yohei TSUJI c5e636f423 Append 'AWS Code Commit' to supported remote repositories. 2018-08-10 15:56:39 +09:00
Yohei TSUJI 2ef17f07d8 Added test cases for AWS Code Commit. 2018-08-10 15:56:21 +09:00
Yohei TSUJI c68b9c16e8
Merge pull request #1 from crossroad0201/supports_aws_code_commit
Added support for AWS Code commit.
2018-08-08 14:20:13 +09:00
Yohei TSUJI 557fd40b1c Added support for AWS Code commit. 2018-08-08 13:58:57 +09:00
Dave Wikoff 995e91591f Swap uppercase/lowercase for ssh feature (#123) 2018-04-29 17:31:30 -07:00
Dave Wikoff d24f64da48
Merge pull request #122 from derimagia/uppercase-bash-3
Fix issue #121 - incompatability with bash < 4
2018-04-27 10:23:50 -04:00
Dave Wikoff 895240ff03 Fix issue #121 - incompatability with bash < 4 2018-04-27 10:19:56 -04:00
Paul Irish 4b1e8601a7
Merge pull request #120 from 4U6U57/119-fix-markdownlint
Fixes markdownlint for build
2018-02-26 23:44:28 -08:00
August Valera c3fd9a48df Revert gitignore package-lock, fix #115
Remove package-lock.json from gitignore for npm
Fix bug in #115 that modified user's gitconfig when running tests
2018-02-26 22:15:35 -08:00
August Valera 5b815cb619 Fix current errors in Markdown files
Also: add package-lock.json to gitignore
Remove prefix $ for commands in the manpage, hope people aren't angry
Add MD034 to markdownlint ignore (bare links, which are helpful for the
manpage)
2018-02-24 22:00:30 -08:00
August Valera 702b8a6fc6 Change dependency markdownlint to markdownlint-cli
markdownlint-cli is the recommended cli for the markdownlint package
See https://www.npmjs.com/package/markdownlint#related

Unit tests should now fail due to markdownlint actually linting md files
2018-02-24 21:50:18 -08:00
Dave Wikoff d049d441b3
Merge pull request #114 from Jaxwood/master
Fix bug with open -i on default VSTS project repo
2018-02-21 20:37:32 -05:00
Jacob Lorenzen aea6e3edb7
Add comment on default VSTS repository urls 2018-02-20 18:20:01 +01:00
Dave Wikoff d9b958087d
Merge pull request #109 from 4U6U57/master
Support domain expansion from sshconfig
2018-02-19 15:06:32 -05:00
August Valera 775361b509 Fix shellcheck 2018-02-15 22:23:37 -08:00
August Valera 8909a2b753 Adds support for sshconfig expansion
See `man ssh_config` for documentation for sshconfig.
Only works on SCP-like remote URL's [user@]hostalias:path/to/repo.git
Parses through ~/.ssh/config, looking for a Host entry matching
hostalias (bash-like pattern matching supported) and expanding it to the
corresponding HostName entry, if applicable.
2018-02-04 12:12:48 -08:00
Dave Wikoff 7449bfa7e1
Merge pull request #115 from larsks/feature/ls-url
Use ls-remote --get-url to get remote url
2018-02-04 12:06:54 -05:00
Dave Wikoff beebcdbf37
Merge pull request #113 from nwinkler/bb-server-context
Bitbucket Server Root Context
2018-02-04 11:32:28 -05:00
Lars Kellogg-Stedman 740222babf Use ls-remote --get-url to get remote url
As noted in a comment, 'git ls-remote --get-url' will expand insteadOf
mappings.  I use a number of shortcuts (like gh: for git on github,
lp: for git on launchpad, me: for my github repositories, etc), so I
was constantly hitting situations in which git-open would fail to do
the right thing.

It looks like '--get-url' has been available since git 2.12.0.
2018-02-02 10:41:54 -05:00
Jacob Lorenzen 67b72ac0f2 Fix bug with open -i on default VSTS project repo
The default VSTS clone url is different from other project repository urls

e.g. Default repository url: https://gitopen.visualstudio.com/_git/Project
     Sibling repository url: https://gitopen.visualstudio.com/Project/_git/Repository

     Trying to use git open -i on the default repository will lead to an
     url formatted as https://gitopen.visualstudio.com/_git/Project/_workitems?id=xx
     This url is malformed as the _git part should not be part of it.

     This change will fix this bug and correctly format url as
     https://gitopen.visualstudio.com/Project/_workitems?id=xx.
2018-01-24 13:41:02 +01:00
Dave Wikoff 51caa23c63
Merge pull request #110 from ffes/add-man-page
Add man page
2018-01-22 11:08:08 -05:00
Nils Winkler 140edbbcee Fixed test names to match existing tests
Also removed some duplicated tests that were introduced during a
previous merge.
2018-01-11 08:18:42 +01:00
Nils Winkler 119ada7f69 Removed an unnecessary if statement 2018-01-10 07:53:44 +01:00
Nils Winkler 24dd2fc5fc Added support for Bitbucket Server with different root context
Please see the unit tests for more details. Basically, take the context
parts before 'scm' and add them to the new URL before the other parts.

Instead of taking fixed indexes for the path elements, base everything
off the index of the found 'scm' path element.
2018-01-09 09:21:01 +01:00
Frank Fesevur ed3a6d0f4d Various improvements as suggested in #110 2017-12-28 00:04:52 +01:00
Dave Wikoff 8caa9ad1da
Merge pull request #112 from felixmosh/master
One-liner install for oh-my-zsh
2017-12-22 11:00:09 -05:00
Felix Mosheev 29434cd76e One liner install for oh-my-zsh 2017-12-21 17:36:23 +02:00
Frank Fesevur ade7ae1595 Add man page 2017-12-03 22:33:45 +01:00
Paul Irish 170159c345
New demo GIF for the readme (#108) 2017-12-01 15:14:49 -08:00
Paul Irish 2ade70e717 readme: changelog bump for 2.0 - breaking change about config. 2017-12-01 14:29:39 -08:00
Paul Irish 4173f3dea4 v2.0.0 2017-12-01 14:27:11 -08:00
Paul Irish 7cf058d1bf readme: changelog bump for 2.0 2017-12-01 14:27:02 -08:00
Paul Irish cdfb1cb05c
readme: refactor Configuration section (#107) 2017-12-01 14:23:41 -08:00
Paul Irish b526edced1
readme: changelog updates 2017-12-01 14:17:33 -08:00
Paul Irish f0bcdd200a
update readme for (gitlab) config (#99) 2017-12-01 13:41:45 -08:00
Frank Fesevur 734517991a Update support for open.default.remote config (#79) 2017-12-01 13:41:32 -08:00
Frank Fesevur d97b7f36aa Fix BATS testing on WSL (#104)
The $openopt resulted in unexpected results during testing
2017-12-01 12:30:50 -08:00