William Martin
d72752830c
Merge pull request #8768 from cli/wm-af/fix-pr-fill
...
Fix regression around commas in commit titles during `pr create`
2024-02-28 13:53:29 +01:00
William Martin
5fe6eebfea
Update incorrect regex comment for client Commits
2024-02-28 13:38:39 +01:00
William Martin
2ee6737053
Use regex to split apart the git client Commit logs
...
Theoretically this should be clearer and more robust than the previous
version which had some custom loop logic while trying to parse newlines
and determine whether it had reached a new commit entry by trying to parse
a git sha. This would not have worked correctly if a commit body contained
a sha on a new line.
2024-02-27 20:49:00 +01:00
William Martin
2b0484f5aa
Use null byte separators when fetching comments from git
2024-02-27 18:00:40 +01:00
William Martin
fb353caf19
Add new tests to git client Commits
...
This adds coverage for mutliple commits and commits with
newlines in bodies.
2024-02-27 17:33:17 +01:00
William Martin
2af0c899d8
Remove unnecessary split conditional from client Commits
...
Since this is guarded by the line starting with a git sha, it must
be a line of the form 'sha,title,body', so there can never be only
two entries since the Split fn will produce an empty string in the
last spot in the case of a missing body.
2024-02-27 17:26:51 +01:00
William Martin
0541d286c1
Extract new test helper for git client Commits
2024-02-27 14:41:45 +01:00
William Martin
24481c5c2e
Merge pull request #8715 from dean-tate/dean-tate/8712-fix-repo-variable-update-msg
...
bug: fixed the msg returned for patching a repo variable
2024-02-20 14:58:31 +01:00
William Martin
fcb1576d26
Merge pull request #8716 from cli/wm/remove-loop-label-from-garden
...
Resolve go compiler regression
2024-02-18 20:05:06 +01:00
Dean Tate
a3601a7eca
bug: fixed the result.Operation variable prior to patchRepoVariable being called in the setVariable function.
2024-02-18 11:12:01 +11:00
William Martin
81be2b67ee
Remove mainLoop label from garden
2024-02-17 13:45:39 +01:00
Andy Feller
b07f955c23
Merge pull request #8707 from cli/wm/fix-pr-create-regression-8706
...
Fix PR create regression around title and body when there is only one commit
2024-02-16 12:12:27 -05:00
William Martin
658e7ac889
Ensure PRs with one commit have title and body prefilled
2024-02-16 16:30:44 +01:00
William Martin
14617e59e9
Update test to run against trunk
2024-02-16 16:30:00 +01:00
William Martin
237f6e3435
Test PR create uses commit title and body when only one commit
2024-02-16 16:19:02 +01:00
William Martin
8948ee8c3b
Merge pull request #8667 from toshimaru/add-cache-key-optoion-to-cache-list
...
feat: Add cache key option to `gh cache list`
2024-02-12 11:34:15 +01:00
William Martin
ae2a361d76
Merge pull request #8614 from chrisroat/patch-1
...
Add more detail to fork failure message
2024-02-12 11:33:23 +01:00
William Martin
960c6662ca
Update cache list key example to be clearer
2024-02-09 17:21:43 +01:00
William Martin
b7ffe6ed27
Add cache list key example to help
2024-02-09 17:19:31 +01:00
William Martin
662db3ca9e
Test cache list key is sent to API
2024-02-09 17:15:15 +01:00
William Martin
8768eece8f
Change cache list key to lowercase short
2024-02-09 17:14:59 +01:00
Andy Feller
c47c1db376
Merge pull request #8367 from Rebeccasun31/show_aliases
...
Documentation for built-in aliases
2024-02-08 14:05:05 -05:00
William Martin
334592c69f
Merge pull request #8648 from cli/dependabot/github_actions/microsoft/setup-msbuild-2.0.0
...
build(deps): bump microsoft/setup-msbuild from 1.3.2 to 2.0.0
2024-02-07 16:34:57 +01:00
Andy Feller
b817b1423a
Merge pull request #8395 from zsloane/trunk
...
Add default values to web manual and man pages
2024-02-06 09:27:49 -05:00
toshimaru
8252e59f17
feat: Add cache key option to gh cache list
...
Add `key` option to `gh cache list` command.
```
-K, --key string Filter by cache key prefix
```
> An explicit key or prefix for identifying the cache
ref. https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#list-github-actions-caches-for-a-repository
- Add key option related tests to `TestNewCmdList`
2024-02-05 12:42:00 +09:00
Zack Sloane
f70bcba779
switch to [] characters for default info in usage strings
2024-02-01 21:35:31 +00:00
Zack Sloane
15166f485a
Merge branch 'cli:trunk' into trunk
2024-02-01 16:27:12 -05:00
Andy Feller
201842d75c
Merge pull request #8423 from guerinoni/autofill-with-body
...
autofill with body
2024-02-01 15:17:01 -05:00
Federico Guerinoni
3409d068d4
Make commit title in bold
2024-02-01 09:12:06 +01:00
Federico Guerinoni
42613172bd
pr: Add flag fillverbose
...
This is used to fill the body of PR with all commits msg + body
of every commits because there can be lot of useful information.
Signed-off-by: Federico Guerinoni <guerinoni.federico@gmail.com>
2024-02-01 09:12:04 +01:00
Federico Guerinoni
6dfae58b47
git: Return body from list of commits
...
This allow to use body of every commits between two ref.
2024-02-01 09:09:06 +01:00
Andy Feller
28c3a40558
Merge pull request #8632 from leevic31/8579-ordering-by-created-at-date-for-releases
...
Feature: added Order flag for release list command
2024-01-31 17:09:23 -05:00
Andy Feller
dd25f885dc
Merge pull request #8653 from cli/wm/fix-label-create-regression
...
Fix label create regression in v2.43.0
2024-01-31 16:04:12 -05:00
William Martin
600aeee2a4
Avoid parsing create or update label http response
2024-01-31 18:55:52 +01:00
dependabot[bot]
2bbafc1a09
build(deps): bump microsoft/setup-msbuild from 1.3.2 to 2.0.0
...
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild ) from 1.3.2 to 2.0.0.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases )
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md )
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.3.2...v2.0.0 )
---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 14:37:37 +00:00
Andy Feller
e461c89b7d
Merge pull request #8647 from cli/andyfeller/8496-config-readonly-home-manager
...
Upgrade cli/go-gh to v2.5.0 for home-manager fix
2024-01-31 09:20:12 -05:00
Andy Feller
8ba4658c45
go mod tidy
2024-01-31 08:43:41 -05:00
Andy Feller
3063a61666
Upgrade cli/go-gh to v2.5.0 for home-manager fix
...
Closes #8496
2024-01-31 08:28:15 -05:00
David Gardiner
023d711e73
Merge pull request #8639 from dmgardiner25/non-interactive-ssh-keep-alive
...
Send activity signals during non-interactive codespace SSH command
2024-01-30 14:14:52 -08:00
David Gardiner
400db0f41b
Fix linting error
2024-01-30 13:24:23 -08:00
David Gardiner
2cb044caf5
Parse SSH args before creating the shell
2024-01-30 13:16:46 -08:00
David Gardiner
8c77e53c35
Send activity signals during non-interactive codespace SSH command
2024-01-29 19:20:51 -08:00
William Martin
cac97888f3
Merge pull request #8618 from arunsathiya/fix/pr-create-branch-refspec
...
fix(pr create): clarify refspec to push to correct branch in the event of a conflicting tag
2024-01-29 16:54:20 +01:00
William Martin
c02b410327
Update fork failure error and add test
2024-01-29 16:27:29 +01:00
Chris Roat
39215d9316
Add more detail to fork failure message
2024-01-29 16:27:29 +01:00
victor
3db1bee20d
fixed linting
2024-01-26 16:12:55 -05:00
victor
5cea8aa74d
fixed linting
2024-01-26 16:10:48 -05:00
victor
795213319e
added Order flag for release list command
2024-01-26 15:47:08 -05:00
William Martin
f015020bcd
Merge pull request #8629 from cli/dependabot/github_actions/microsoft/setup-msbuild-1.3.2
...
build(deps): bump microsoft/setup-msbuild from 1.3.1 to 1.3.2
2024-01-26 17:27:08 +01:00
dependabot[bot]
8378e83e45
build(deps): bump microsoft/setup-msbuild from 1.3.1 to 1.3.2
...
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases )
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md )
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 14:05:45 +00:00