vilmibm
4bc623591f
gh ext browse
2022-11-08 10:51:20 -08:00
Ariel Deitcher
33e589465e
--force overrides pinned extensions (#6513 )
2022-11-03 12:12:20 +01:00
swfz
2b570d9e53
Upgrade actions/checkout to v3 in extension template ( #6543 )
2022-11-01 17:18:10 +00:00
Sam Coe
4294ee14a1
revert revert 57fbe4f317 ( #6474 )
2022-10-20 12:17:20 +00:00
Sam Coe
2cefb9fa59
Fix pr create regression ( #6472 )
...
* Revert "Refactor to use new git client (#6447 )"
This reverts commit 57fbe4f317 .
* Fix pr create regression
2022-10-20 12:46:23 +03:00
Sam Coe
57fbe4f317
Refactor to use new git client ( #6447 )
2022-10-19 21:11:36 +03:00
Mislav Marohnić
3fe5026d39
Migrate to tableprinter from go-gh ( #6346 )
2022-10-17 15:15:39 +02:00
Ariel Deitcher
abb8c86ee8
mntly/extension not found ( #6425 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-10-14 15:27:15 +02:00
Sam Coe
6955db471d
Set default value for all Select prompts ( #6131 )
2022-08-24 09:10:38 +03:00
vilmibm
2d093c1741
add test helpers
2022-08-15 13:53:43 -05:00
vilmibm
791b8b4173
Merge remote-tracking branch 'origin/trunk' into prompt-factory
2022-08-15 13:21:22 -05:00
vilmibm
f7d5c5f725
move prompter to own package
2022-07-26 16:41:13 -05:00
vilmibm
4afb567d06
WIP: survey wrapper
2022-07-26 14:39:38 -05:00
vilmibm
a659676270
ext alias
2022-07-22 11:53:05 -05:00
casswedson
00bc550dc6
chore: typo hunting ft. codespell
2022-07-09 21:41:09 -05:00
Sam Coe
cacff4ad6d
Use go-gh config package ( #5771 )
2022-06-23 11:50:04 +00:00
Alexandre Zollinger Chohfi
d1a0f72cd8
Added Arm64 compilation
2022-05-25 16:47:50 -07:00
Heath Stewart
00e97121ec
Allow passing full extension name ( #5464 )
2022-05-18 08:35:47 +02:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os ( #5498 )
2022-04-26 13:07:44 +02:00
Roshan Padaki
13342cb272
Don't error on list commands when no results found ( #5479 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-04-25 17:55:52 +00:00
Mislav Marohnić
ae0b93575e
Add support for installing binary extensions on M1 Macs
...
If the extension publishes an amd64 binary and Rosetta is available,
use that binary as it will most likely work.
If the extension publishes an arm64 binary, make sure to codesign it
after downloading so that the OS allows its execution.
2022-04-13 20:01:18 +02:00
Roshan Padaki
8f046e0b77
gh extensions list: Don't error if no extensions installed (#5445 )
2022-04-13 07:31:24 +00:00
Sam Coe
2c0236d096
Add extension upgrade --dry-run ( #5098 )
2022-04-12 07:18:08 +00:00
Nate Smith
c1e5934b21
Merge pull request #5272 from meiji163/pin-ext
2022-03-29 09:21:20 -05:00
Jimmy Keith
ce8f66b421
Have extension upgrade --all be non-fatal when no extensions installed ( #5356 )
2022-03-29 16:15:25 +02:00
meiji163
45845bc999
cant pin local
2022-03-22 11:02:16 -07:00
meiji163
8174640cda
install tests
2022-03-07 19:47:21 -08:00
meiji163
65bc3acaa5
merge upstream
2022-03-07 17:58:48 -08:00
meiji163
aad291a3b8
Merge branch 'tmp' into pin-ext
2022-03-07 17:53:42 -08:00
meiji163
619774d460
fix tests
2022-03-07 17:50:38 -08:00
meiji163
bed630452b
list pinned exts
2022-03-07 17:49:04 -08:00
meiji163
db53df102c
pinning script exts
2022-03-07 17:02:22 -08:00
meiji163
d7277e396c
pinning binary exts
2022-03-07 17:02:22 -08:00
Seito Tanaka
6f66a1d265
Add version to extension list command ( #5219 )
...
* Add version to extension list command
* Trim sha only when displaying
2022-03-07 07:14:26 +00:00
meiji163
f350b917e4
fix tests
2022-03-03 22:10:35 -08:00
meiji163
bdab7de1d2
list pinned exts
2022-03-02 21:06:23 -08:00
meiji163
44334bbec6
pinning script exts
2022-03-02 19:25:25 -08:00
meiji163
15bca56fd2
Merge branch 'cli:trunk' into pin-ext
2022-03-01 15:02:03 -08:00
meiji163
fe5eca1dd5
pinning binary exts
2022-03-01 15:01:04 -08:00
Christian Gregg
c5dbf20ed4
Alias list as ls for all commands ( #5214 )
...
I always get tripped up whenever trying to list my codespaces, adding
`ls` as an alias to `list` feels natural enough.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-17 13:53:42 +01:00
Kevin Lee
0d143ca89c
Consistent punctuation in command usages ( #5139 )
...
* Fix spelling and grammatical errors in command docs
* Add periods for consistency across the long command descriptions
* Format imports
2022-01-31 10:56:12 +00:00
nate smith
c32bf6387e
update wording for extensions that cannot be installed
2022-01-19 11:44:05 -06:00
Nate Smith
4b415f80d7
Merge pull request #5022 from cli/config-defaults
...
add GetOrDefault and related methods to Config
2022-01-17 10:44:28 -06:00
Mislav Marohnić
e43cb2b880
Port more legacy stubs to the new ask stubber
2022-01-14 19:34:15 +01: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ć
d02f184bd1
go fmt
2021-12-02 16:12:24 +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
Mislav Marohnić
e506910a08
Add newlines to generated files
2021-11-24 11:59:00 +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