Commit graph

5685 commits

Author SHA1 Message Date
Azeem Sajid
09ec38e8d7 Update tests 2025-02-06 22:50:26 +05:00
Tyler McGoffin
2f0f387e11
Add test cases for succeed on no cache and api errors for --all (#1) 2025-02-06 22:47:01 +05:00
Michael Hoffman
7a5b49a4c4
Merge branch 'trunk' into delete-autolinks 2025-02-06 09:53:09 -05:00
Azeem Sajid
9e13890c77 Remove short (abbreviated) flag support 2025-02-06 11:56:08 +05:00
Azeem Sajid
139271d85c
Merge branch 'trunk' into 10348-escape-pipe-in-long-description-for-website-manual 2025-02-06 11:45:06 +05:00
Tyler McGoffin
89ee37a8e4
Merge pull request #10333 from iamazeem/9759-gh-extension-install
[gh extensions install] Improve help text and error message
2025-02-05 16:14:58 -08:00
Tyler McGoffin
9255658ccc
Merge pull request #10364 from timrogers/timrogers/fix-10034
Error when `gh repo rename` is used with a new repo name that contains an owner
2025-02-05 15:32:20 -08:00
Azeem Sajid
277f27442c Update tests 2025-02-05 19:51:52 +05:00
Azeem Sajid
64b63f61f6 [gh project item-edit] Fix number type 2025-02-05 16:30:57 +05:00
Azeem Sajid
695f0be1a6
Merge branch 'trunk' into 9759-gh-extension-install 2025-02-05 12:21:47 +05:00
Azeem Sajid
50e7b00327 Address review comments 2025-02-05 12:21:29 +05:00
Azeem Sajid
91c75596ee Address review comments 2025-02-05 12:14:39 +05:00
Azeem Sajid
b95e6b2ae4 Revert breaking change 2025-02-05 11:22:54 +05:00
Azeem Sajid
5be832e2ae
Merge branch 'trunk' into 10348-escape-pipe-in-long-description-for-website-manual 2025-02-05 10:49:34 +05:00
Kynan Ware
ae20633ba6
Revert "[gh repo edit] Allow setting commit message defaults" 2025-02-04 13:55:37 -07:00
Kynan Ware
353799bc89
Merge pull request #10363 from iamazeem/8320-gh-edit-repo-merge-defaults
[gh repo edit] Allow setting commit message defaults
2025-02-04 13:34:54 -07:00
Michael Hoffman
e195b24cb1
Merge branch 'trunk' into delete-autolinks 2025-02-04 12:53:32 -05:00
Meredith Lancaster
4729ad2fde
Merge pull request #10233 from malancas/attestation-bundle-fetch-improvements
Attestation bundle fetch improvements
2025-02-04 07:54:07 -07:00
Azeem Sajid
a4b86bff77 Use HTML numeric code instead of escaping with slash 2025-02-04 18:48:56 +05:00
Azeem Sajid
bc46833495
Merge branch 'trunk' into 8320-gh-edit-repo-merge-defaults 2025-02-04 10:37:06 +05:00
Andy Feller
4f80400a89
Merge pull request #10329 from iamazeem/10301-gh-project-iteration-id
[gh project item-list] Add `iterationId` field in ProjectV2ItemFieldIterationValue
2025-02-03 15:37:46 -05:00
Andy Feller
5f54201fc5 Ensure item iteration field is populated in tests
Updating tests to ensure `ProjectV2ItemFieldIterationValue` actually populates `IterationId` appropriately.
2025-02-03 15:25:15 -05:00
Tim Rogers
430e5abe25
Drop accidental help text change 2025-02-03 12:04:42 +00:00
Tim Rogers
6c21ab2284
Error when gh repo rename is used with a new repo name that contains an owner
`gh repo rename` can only rename a repo, but not change its owner
(i.e. transfer it).

As flagged in #10034, at the moment, the CLI behaves like it can do
this, and produces weird results.

If I ask to rename my repo to `polyseam/frappe-containers`:

```bash
gh repo rename polyseam/frappe-containers
```

..the preview suggests that it will do the right thing:

```
? Rename polyseam/containers to polyseam/frappe-containers? Yes
```

...but the repo gets renamed wrongly:

```
✓ Renamed repository polyseam/polyseam-frappe-containers
```

This adds an upfront validation that looks for a slash and tells
you that the command can't transfer a repo.

Fixes #10034.
2025-02-03 11:49:21 +00:00
Azeem Sajid
e144168dde [gh repo edit] Allow setting commit title defaults 2025-02-03 15:26:05 +05:00
Michael Hoffman
d5adafd3fb Rename staggler 2025-02-02 21:46:56 -05:00
Michael Hoffman
a1ae68b4f4 Formatting 2025-02-02 21:37:34 -05:00
Michael Hoffman
021557912d AuoLink -> Autolink 2025-02-02 21:34:03 -05:00
Michael Hoffman
0b3efede35 Use http constants 2025-02-02 21:12:49 -05:00
Michael Hoffman
f907ad9f97 refac and some spacing in output 2025-02-02 20:50:37 -05:00
Michael Hoffman
7325944040 More consistency 2025-02-02 20:31:12 -05:00
Michael Hoffman
0274999880 whitespace 2025-02-02 20:22:51 -05:00
Michael Hoffman
dcc1efa2bd clean up 2025-02-02 20:22:16 -05:00
Michael Hoffman
e14d7a4428 Merge branch 'trunk' into delete-autolinks 2025-02-02 20:10:07 -05:00
Michael Hoffman
fc5a6d1c3f Autolink delete http tests 2025-02-02 20:09:49 -05:00
Michael Hoffman
031b45de23 Merge branch 'trunk' into delete-autolinks 2025-02-01 15:46:29 -05:00
Michael Hoffman
e226a79dc5 Autolink delete tests 2025-02-01 15:46:09 -05:00
Kynan Ware
026672e79e
Merge branch 'trunk' into nil/fix-2329 2025-02-01 12:37:44 -07:00
Kynan Ware
88e744bafb
Merge pull request #10332 from iamazeem/10260-gh-api-notifications-slurp-flag
[gh api] Fix mutual exclusion messages of `--slurp` flag
2025-02-01 12:36:26 -07:00
Kynan Ware
850627bc37
Merge pull request #10335 from iamazeem/9067-gh-issue-list-improve-help-text
[gh issue/pr list] Improve help text
2025-02-01 11:08:32 -07:00
Michael Hoffman
908513f97f Initial working implementation 2025-02-01 11:09:00 -05:00
nilvng
42c9d244f7 remove duplicated Prompter type 2025-02-01 11:45:37 +11:00
nilvng
7311b5cdd1 revert isEqualSet to private 2025-02-01 11:45:37 +11:00
nilvng
59031c645e Revert color changes
This reverts commit 36eaf14857.
2025-02-01 11:45:37 +11:00
Tyler McGoffin
d10fbbfaea
Merge pull request #10354 from cli/jtmcg/fix-10352-not-in-repo-error
Hotfix: `gh pr view` fails with provided URL
2025-01-31 15:07:49 -08:00
Tyler McGoffin
877871f1e0 Address PR comments 2025-01-31 14:55:24 -08:00
Tyler McGoffin
601cf88852 Handle error from ParsePRRefs when the selector is provided 2025-01-31 14:40:54 -08:00
Tyler McGoffin
fa5325aec9 Add comment to status recognizing when we require a repo 2025-01-31 14:40:54 -08:00
Tyler McGoffin
058cb2c220 Refactor finder to work with URL selectors 2025-01-31 14:40:54 -08:00
Tyler McGoffin
29e57ee8e7 Add tests for using the pr Finder outside of repo
This includes an acceptance test for `gh pr view` and a unit test on
`TestFind`
2025-01-31 14:22:02 -08:00