Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os ( #5498 )
2022-04-26 13:07:44 +02:00
Sam Coe
2c0236d096
Add extension upgrade --dry-run ( #5098 )
2022-04-12 07:18:08 +00:00
meiji163
8174640cda
install tests
2022-03-07 19:47:21 -08:00
meiji163
f350b917e4
fix tests
2022-03-03 22:10:35 -08: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
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
c696416a11
add test
2021-10-19 14:52:14 -05:00
Sam Coe
defbf0f306
Make extension upgrade output more friendly
2021-10-12 16:47:19 -07:00
vilmibm
a2e7eaf808
test update available for binary ext in list
2021-09-29 13:39:00 -05:00
vilmibm
ef08712354
test list
2021-09-28 19:27:21 -05:00
vilmibm
3971df4f93
switch to stubBinaryExtension
2021-09-28 19:23:28 -05:00
vilmibm
392460b81e
WIP switching to stubBinaryExtension
2021-09-28 15:45:49 -05:00
vilmibm
541ed3ba6f
test Upgrade with binary exts
2021-09-28 15:33:11 -05:00
vilmibm
22c1778b9f
TODOs
2021-09-28 15:04:45 -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
1f3b872859
test for unsupported platform
2021-09-20 17:17:30 -05:00
vilmibm
e85b0480e9
track installed tag name
2021-09-20 17:10:18 -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
eeca998640
binary extension support in gh extension install
2021-09-15 18:46:17 -05: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