Commit graph

2058 commits

Author SHA1 Message Date
Sam Coe
539b150833
Extract feature detection package (#5494) 2022-05-17 19:07:44 +00:00
Mark Phelps
669b0fa981 dont need assignment 2022-05-17 13:36:15 +00:00
Mark Phelps
48bb894277 filter out internal ports from gh cs ports list 2022-05-16 12:40:24 -07:00
Josh Gross
b00bfce9cc
Support rerunning Actions runs with debug logging (#5594) 2022-05-16 19:01:53 +02:00
Josh Soref
104d7655d7
Support and favor delete for secrets (#5617)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-05-16 12:24:05 +00:00
Sam Coe
60ea13b39e
Fix whitespace in search prs examples (#5650) 2022-05-16 10:35:27 +02:00
Sam Coe
74f0feec8b
Fix struct field tag (#5649) 2022-05-16 10:14:19 +02:00
Sam Coe
d244346960
Replace uses of strings.Title (#5623) 2022-05-12 13:52:21 +00:00
colby thomas
02357c0063
Removing confusing user search text (#5620) 2022-05-12 08:48:22 +00:00
Greggory Rothmeier
a0a9099037
Hide retention-period flag (#5607)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-05-10 19:49:55 +02:00
Greggory Rothmeier
06153770a9
Merge pull request #5504 from greggroth/gregg/retention-period
Add support for setting codespace retention-period
2022-05-10 18:21:55 +02:00
Dan Halbert
51d18d95f1
repo clone: document the upstream remote (#5466)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-05-10 18:12:59 +02:00
Mislav Marohnić
c26ff6ac9a
Merge pull request #5605 from cannist/cannist/fix-npe
Fix nil pointer exception in codespace selection
2022-05-10 18:11:10 +02:00
Mislav Marohnić
8c5103aefa
Merge pull request #5595 from ffalor/exclude_drafts
Add `exclude-drafts` flag to `gh release list`
2022-05-10 18:10:15 +02:00
Hirad Pourtahmasbi
bbaf010303
repo list: add --visibility internal filter (#5564)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-05-10 15:39:53 +00:00
Thomas Horstmeyer
d9d3d7ba8e Fix nil pointer exception in codespace selection 2022-05-10 16:27:25 +01:00
Mislav Marohnić
5cb4e4d862
Merge pull request #5570 from koskeller/submit-as-draft-option-pr-create
pr create: add "Submit as draft" interactive option
2022-05-10 17:17:07 +02:00
Mislav Marohnić
cf92705d4c pr create: default to "Submit as draft" when --draft was used 2022-05-10 17:09:40 +02:00
Mislav Marohnić
c8baec74c0 Ensure stable presentation of FORBIDDEN errors 2022-05-10 16:07:57 +02:00
Mislav Marohnić
d103ba251a 💅 optimize fetches 2022-05-10 15:44:55 +02:00
Heath Stewart
fc4cd12cbf Ignore FORBIDDEN errors for gh status
Fixes #5587
2022-05-10 15:44:55 +02:00
Mislav Marohnić
78ae6f85c6
Merge pull request #5583 from ffalor/gh_status
status: exclude results from archived repositories
2022-05-10 11:51:20 +02:00
ffalor
8f199ba730 status: exclude results from archived repositories
This adds `arhived:false` to the underlying search queries.
Additionally, the query approach was rearranged so that the query
strings are passed as GraphQL variables rather than being interpolated
directly into the GraphQL query string.

Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-05-10 11:41:04 +02:00
ffalor
c3a3ce5bee Add exclude-drafts flag to gh release list 2022-05-09 20:47:39 +00:00
Ariel Deitcher
c1345296ab
Merge pull request #5514 from mntlty/pr_merge_refactor
refactor merge command
2022-05-09 11:56:36 -07:00
Jose Garcia
cd6386cf64 Update order 2022-05-05 15:07:29 -04:00
Jose Garcia
ea7d9288e3 Handle star in display name 2022-05-05 08:21:12 -04:00
Mislav Marohnić
2c178cedd5 Dis-ambiguate "currentBranch" 2022-05-04 22:38:19 +02:00
Mislav Marohnić
b9026ab862 💅 2022-05-04 22:23:52 +02:00
Jose Garcia
801cd3b282
Merge pull request #5571 from cli/jg/add-display-name
codespaces: add Display Name to the list command
2022-05-04 09:38:27 -04:00
Heath Stewart
46e5fbdc84
Add --json support to label list (#5567) 2022-05-04 13:02:55 +00:00
Jose Garcia
7191960694 Add Display Name to the list command 2022-05-03 16:17:53 -04:00
Konstantin Keller
dea446d2a8
"Submit as draft" option for pr create 2022-05-03 22:20:22 +03:00
JP Ungaretti
2dd81671a9
Remove empty return 2022-05-03 09:40:07 -07:00
Mohammed Anas
b352648259
Fix non-working gh issue view usage example (#5563) 2022-05-03 07:55:00 +00:00
Damien Sedgwick
b24e4c09d9
Fix: 5501 - Added examples of negated qualifiers to search commands (#5562) 2022-05-03 07:48:24 +00:00
Heath Stewart
f0027fdfd9
Add label list sorting and delete command (#5503) 2022-05-03 07:31:18 +00:00
ffalor
b57746a878
Add the ability to pass teams to review-requested (#5538) 2022-05-02 19:07:16 +02:00
Mislav Marohnić
5fdeb8b0a2
Merge pull request #5549 from cli/editor-shellquote-fix
issue comment: support quotes and arguments in EDITOR value
2022-05-02 13:09:51 +02:00
chemotaxis
a291b3eed3
Fix grammar in repo create prompt (#5557)
* Use plural linking verb

While it looks like you could use "there's" informally, grammatically, it should be "are" since "commits" is plural.

<https://dictionary.cambridge.org/us/grammar/british-grammar/there-is-there-s-and-there-are>

* Omit "the"

I created a remote called "github" and got this prompt:

> Would you like to push commits from the current branch to the "github"?

Normally, the default name "origin" doesn't sound bad in that prompt,
but using the name "github" made the prompt sound like something wasn't
right to my American English-speaking ears.

Here are a few options.  Yes, I know English grammar sucks, to put it
mildly.  But, hopefully, the following options and explanations make
sense.

Get rid of "the".  This is the option I went with.  "github" acts as a
proper noun, so no determiner is needed.  If you substitute your own
name for "github" in the original prompt above, you get the same effect:

> Would you like to push commits from the current branch to "github"?

Add the implicit word "remote".  "github" now acts as an adjective and
"the" refers to "remote":

> Would you like to push commits from the current branch to the "github" remote?

Or, combine the two.  This last option relies on the fact that
instructions and manuals often omit definite articles because most
articles are definite.  See the [zero-marking][2] article on Wikipedia.
The original prompt already does this by omitting "the" before the word
"commits":

> Would you like to push commits from the current branch to "github" remote?

Reference:

[1]: http://writing.umn.edu/sws/quickhelp/grammar/articlesproper.html

[2]: https://en.wikipedia.org/wiki/Zero-marking_in_English
2022-05-02 10:21:59 +02:00
Mislav Marohnić
5986f88565 issue comment: support quotes and arguments in EDITOR value
The `issue comment` command would perform a `filepath.Base()` on the
value of EDITOR and use the result for launching the editor, which is
undesireable for both functional and display purposes:

- For functional purposes, always shellsplit the value of GH_EDITOR or
  EDITOR before we shell out to that process;
- For display purposes, extract the basename only after shellsplitting.
2022-04-29 18:05:39 +02:00
Caleb Brose
55bce59ab7
Add command to open codespaces in JupyterLab
Add command to open codespaces in JupyterLab
2022-04-28 16:11:14 -05:00
JP Ungaretti
3526d25a1e Remove mention of function 2022-04-28 20:55:43 +00:00
JP Ungaretti
8aa132e6c6 Use named return values 2022-04-28 18:42:05 +00:00
JP Ungaretti
ceba2c896b Use safeClose instead of Close 2022-04-28 18:38:46 +00:00
JP Ungaretti
6ddd3360d8 Update auth error message 2022-04-28 18:10:14 +00:00
Heath Stewart
5ed83e2b2a
Remove Stringer from ghrepo.Interface (#5536) 2022-04-28 08:58:34 +02:00
ffalor
7d0a7f98e1
Add progress indicator to gist create (#5526) 2022-04-27 08:17:17 +00:00
Heath Stewart
171baca07d
Clarify label edit --name switch (#5525)
Follow-up from #5519
2022-04-27 09:37:28 +02:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00