-
Notifications
You must be signed in to change notification settings - Fork 4.8k
pkg/oc/cli/admin/release: Support 'Bug X, Y, Z: ...' pull-request subjects #22225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3e94fee to
b14604e
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wking If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
…jects For pulls that fix multiple bugs. The rename from MergeCommit -> commit is because: * There is no need for a public structure that is part of this package's API, and * Consumers don't need to care if the commit is a merge or not. The new 'issue' structure sets the stage for future work to also support references to GitHub and other issue stores, although I haven't added extractors for those yet. At the moment, it just provides separation between the issue-extracting logic (which knows "Bug ###" means "Red Hat's Bugzilla") and the formatting logic (which just needs to know "there's an issue with a Markdown link").
/retest |
|
Hmm. Still no new jobs? Try explicit per-test commands: /test images |
|
/refresh |
|
It ran serial at |
| ParentCommits []string | ||
| // Local Merkle-graph node information | ||
| Subject string | ||
| CommitterDate time.Time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CommitDate vs CommiterDate ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CommitDate vs CommiterDate ?
I'm fine leaving that off, but as long as I was touching this struct I thought I'd align with Git's usage (which is not perfectly consistent either):
$ git clone git://github.com/git/git.git
$ cd git
$ git grep -i committer.date v2.21.0 | wc -l
330
$ git grep -i commit.date v2.21.0 | wc -l
79
$ git grep -i committerdate v2.21.0 | wc -l
14
$ git grep -i commitdate v2.21.0 | wc -l
2That said, CommitDate is the default in pretty logs (although not always a winner in the pretty docs :p):
$ git grep -i 'commit.*date' Documentation/pretty-formats.txt | cat
Documentation/pretty-formats.txt: CommitDate: <committer date>
Documentation/pretty-formats.txt:- '%cd': committer date (format respects --date= option)
Documentation/pretty-formats.txt:- '%cD': committer date, RFC2822 style
Documentation/pretty-formats.txt:- '%cr': committer date, relative
Documentation/pretty-formats.txt:- '%ct': committer date, UNIX timestamp
Documentation/pretty-formats.txt:- '%ci': committer date, ISO 8601-like format
Documentation/pretty-formats.txt:- '%cI': committer date, strict ISO 8601 formatSo I'm leaning weakly towards CommitterDate but could be swayed ;).
|
Kicking again; maybe this time Prow will notice. /test images |
|
Heh, seems like Prow is only picking up the last command in each comment? Just in case, here's a single comand to retry images: /test images |
|
All green :) |
|
@wking: PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
For pulls that fix multiple bugs.
The rename from
MergeCommit->commitis because:The new
issuestructure sets the stage for future work to also support references to GitHub and other issue stores, although I haven't added extractors for those yet. At the moment, it just provides separation between the issue-extracting logic (which knowsBug ###means "Red Hat's Bugzilla") and the formatting logic (which just needs to know "there's an issue with a Markdown link").CC @smarterclayton, @ironcladlou