nate smith
c32bf6387e
update wording for extensions that cannot be installed
2022-01-19 11:44:05 -06:00
nate smith
562f1b3d0d
add GetOrDefault functionality to config
2022-01-11 14:56:58 -06:00
tison
0d3dd7e758
extension upgrade: do not consider up-to-date to be a failure ( #4857 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-12-16 12:59:22 +01:00
Mislav Marohnić
a65b9a3831
💅 simplify filesystem operations while creating extensions
...
- doing mkdir before `git init <dir>` is not necessary; git will
create the directory if it doesn't exist
- passing both `-C` and `--git-dir` is not needed for git invocations
- reading the current working directory isn't necessary for specifying
nested paths to operate in
- use `git add .` instead of explicitly naming all paths; we generate a
gitignore for binaries that we want to avoid adding
- generate cross-platform gitignore for Go binary extensions
- add helpers to simplify writing files, tests
2021-11-24 13:46:36 +01:00
vilmibm
6950c6ee32
binary extension create
...
- add a wizard to gh extension create
- add --precompiled-go
- add --precompiled-other
- build out scaffolding for both types of binary extensions
2021-11-23 16:53:45 -06:00
nate smith
54b82dd072
Migrate to binary style extensions when detected
2021-11-17 13:15:04 -06:00
nate smith
3bc4f4f5dd
oops
2021-11-12 15:26:15 -06:00
nate smith
59d651b5ea
xplatform test fix
2021-11-12 15:17:21 -06:00
nate smith
6b7889be6e
fix binary extensions on windows
2021-11-12 14:29:56 -06:00
nate smith
f65c1537dc
review feedback
2021-10-21 11:58:25 -05:00
nate smith
42ce8faafa
dispatch binary extensions directly
2021-10-19 14:25:33 -05:00
Sam Coe
defbf0f306
Make extension upgrade output more friendly
2021-10-12 16:47:19 -07:00
Sam Coe
ed3427974c
Use concurrency to check for extension updates
2021-10-12 09:44:41 -07:00
Sam Coe
8f5806d61f
Set io when initializing extension manager
2021-10-05 09:10:49 -07:00
vilmibm
7efd06b87d
rename function
2021-09-29 13:43:37 -05:00
vilmibm
1fe49fa776
fix listing, cleanup
2021-09-28 13:07:01 -05:00
vilmibm
54ec5329c5
add ability to upgrade binary extensions
2021-09-28 13:03:00 -05:00
vilmibm
db5bbf799f
use manager io in Upgrade
2021-09-28 13:03:00 -05:00
vilmibm
514d4d992c
refactor dependencies of ext manager
2021-09-21 15:55:31 -05:00
vilmibm
e85b0480e9
track installed tag name
2021-09-20 17:10:18 -05:00
vilmibm
0e2861a507
WIP refactoring
2021-09-20 17:05:19 -05:00
vilmibm
f5d269ebad
WIP refactoring
2021-09-20 17:02:34 -05:00
vilmibm
f4d97dcedd
WIP refactoring
2021-09-20 16:25:26 -05:00
vilmibm
ae38daf08a
nit
2021-09-20 16:05:35 -05:00
vilmibm
eeca998640
binary extension support in gh extension install
2021-09-15 18:46:17 -05:00
Mislav Marohnić
e0fa56dc29
Merge remote-tracking branch 'origin' into go-module-v2
2021-09-02 20:02:16 +02:00
Kid
b56f77b2e5
Use /usr/bin/env bash instead of /bin/bash in gh extension create
2021-08-26 00:49:33 +08:00
Mislav Marohnić
11fbb60ae7
Rename the module to "github.com/cli/cli/v2"
2021-08-25 12:41:30 +02:00
Sam Coe
5756e2397a
Extension template is executable according to git
2021-08-23 10:36:29 -07:00
Sam Coe
c8963a6345
Address PR comments
2021-08-23 09:01:05 -07:00
Sam Coe
d22286a8e8
Add examples to template
2021-08-19 15:58:01 -07:00
Sam Coe
e9f7459ce2
Add extension create command
2021-08-19 13:30:34 -07:00
Mislav Marohnić
bf9c49eccd
Rename gh extensions → gh extension
...
This is for compatibility with other core commands which are all singular.
2021-08-11 22:22:39 +02:00