Mislav Marohnić
1260023547
repo sync: Use the new merge-upstream API if available
...
This helps avoid the errors when a new commit from upstream is not yet
available in the fork, resulting in a HTTP 404 when trying to update the
ref in the fork.
If the merge-upstream API is unavailable (404) or errors out (409/422),
the functionality falls back to the previous functionality of manually
updating refs. This ensures that `--force` still has effect.
2021-12-21 16:44:27 +01:00
Mislav Marohnić
5cd977e328
💅 normalize prompt style for text inputs
2021-12-14 18:38:46 +01:00
Mislav Marohnić
c90fc18b0c
Avoid creating repo when cancelling from interactive mode
2021-12-14 18:18:08 +01:00
Mislav Marohnić
3e40780074
💅 repo create cleanups
2021-12-14 18:05:42 +01:00
Mislav Marohnić
21e6d95982
Fix repo create printing created URL in no-TTY mode
2021-12-14 17:49:43 +01:00
Mislav Marohnić
7d199fa783
repo edit: add ability to add or remove repository topics
2021-12-07 19:28:29 +01:00
Gowtham Munukutla
98217fc38c
gh repo edit
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-12-07 19:28:29 +01:00
Sam
2580a63a44
Merge pull request #4750 from cli/replace-shurcool
...
Replace shurcool/graphql with cli/shurcool-graphql
2021-11-18 09:10:06 -08:00
Benjamin Chadwick
6cc7712583
Confirm name change before creating a repo with special characters ( #4562 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-11-18 13:24:48 +00:00
Nate Smith
762d956c6f
Merge pull request #4655 from cli/issue-4589
...
add base repo resolution to `gh repo delete`
2021-11-17 15:25:04 -06:00
Nate Smith
c5c83bfb9d
Merge pull request #4654 from cli/issue-4590
...
add base repo resolution to archive
2021-11-17 15:23:18 -06:00
Sam Coe
260716a9f8
Repace shurcool/graphql with cli/shurcool-graphql
2021-11-17 12:57:43 -08:00
Meijke
0a0a358168
rewrite gh repo create ( #4578 )
...
Co-authored-by: Parth Patel <ppatil91099@gmail.com>
2021-11-17 20:16:37 +01:00
meiji163
35131058ed
commit @samcoe's suggestions
2021-11-10 17:38:11 -08:00
meiji163
a1426ac19b
implement samcoe's suggestions
2021-11-10 17:10:37 -08:00
meiji163
0596834c95
rollback arg changes
2021-11-03 10:11:45 -07:00
Parth Patel
d4105807c2
@mislav changes requested
2021-11-03 12:18:44 -04:00
meiji163
26748dc2f3
allow base repo notty
2021-11-02 10:59:30 -07:00
meiji163
09064a5f55
fix tests
2021-11-02 10:51:42 -07:00
Parth Patel
dbebd74a9f
final changes made
2021-11-01 17:14:04 -04:00
Parth Patel
13a97c29ed
removed unnecessary things
2021-11-01 14:21:10 -04:00
Parth Patel
b0dce5b04d
minor fix in base repo functionality
2021-11-01 13:49:11 -04:00
meiji163
001b1a36e7
add base resolution to delete
2021-10-31 14:46:57 -07:00
meiji163
48baf50b8e
add base repo resolution to archive
2021-10-31 14:22:43 -07:00
nate smith
da258fb4f4
confirm when inferring repository
2021-10-28 12:26:01 -05:00
Sam Coe
296cf381a2
Reduce duplicate warning message code
2021-10-27 14:07:00 -04:00
Parth Patel
95dbd677e0
resolved comments
2021-10-27 12:12:09 -04:00
Parth Patel
333f0ec530
remove repooverride from repo
2021-10-26 11:55:46 -04:00
Parth Patel
ea0e8d5c23
fixed http_tests git stub
2021-10-26 11:38:12 -04:00
Parth Patel
ccdea2db6d
lint fix
2021-10-25 17:19:27 -04:00
Parth Patel
c83c6a83e6
Merge branch 'trunk' into repo-rename
2021-10-25 17:17:06 -04:00
Parth Patel
b4d2bce6fc
res comments
2021-10-25 17:07:48 -04:00
Parth Patel
1d382fa7ca
lint fix?
2021-10-22 12:46:07 -04:00
Parth Patel
4e30fd5ba4
uncommented tests
2021-10-22 12:43:23 -04:00
Parth Patel
dc0b9bc6b0
finished up tests
2021-10-22 12:41:06 -04:00
Parth Patel
de1d860bce
lint fix
2021-10-21 17:33:24 -04:00
Parth
d378dc84c6
final changes made
2021-10-21 15:17:15 -04:00
Alan Donovan
f4491c7a80
Add FlagErrorf; encapsulate FlagError.error
2021-10-21 11:40:20 -04:00
Parth Patel
624f19764d
minor fix
2021-10-21 11:28:18 -04:00
Parth Patel
dd98c7f51f
added requested changes
2021-10-21 11:27:02 -04:00
Alan Donovan
7215522123
use FlagError
2021-10-21 10:06:11 -04:00
Parth Patel
5946c98096
fixed forr real
2021-10-20 16:23:08 -04:00
Parth Patel
5ac744a68d
lint fix
2021-10-20 16:19:20 -04:00
Parth Patel
9003034c1c
lint fix
2021-10-20 16:17:29 -04:00
Parth Patel
8e72d48e72
Merge branch 'trunk' into repo-rename
2021-10-20 16:16:31 -04:00
Parth Patel
f5e963fd56
minor fix
2021-10-20 16:13:11 -04:00
Parth Patel
dd87e80b4c
added final touches
2021-10-20 16:12:32 -04:00
Mislav Marohnić
b9c26dfba3
Declare that the delete repo endpoint needs delete_repo scope
...
The API endpoint doesn't declare this in its `X-Accepted-Oauth-Scopes`
response header.
2021-10-19 19:16:50 +02:00
Mislav Marohnić
a9b2c0dc82
Merge pull request #4523 from joshmgross/joshmgross/support-localhost
...
Support github.localhost as a non-enterprise host
2021-10-19 18:37:39 +02:00
Parth
8400ed4a19
optimize api calls
2021-10-19 11:28:55 -04:00