Skip to content

Add option to disable checking issue links in commits#1966

Merged
Urgau merged 1 commit into
rust-lang:masterfrom
Urgau:issue_links-allowed-in-commits
May 5, 2025
Merged

Add option to disable checking issue links in commits#1966
Urgau merged 1 commit into
rust-lang:masterfrom
Urgau:issue_links-allowed-in-commits

Conversation

@Urgau

@Urgau Urgau commented May 4, 2025

Copy link
Copy Markdown
Member

This PR adds an option (allowed-in-commits) to disable checking issue links in commits, this was requested in #1965 by @tgross35.

More context in #1965 (comment), but summary: repository that aren't subtrees in r-l/r don't necessarily need to prevent issue links in commits.

[issue-links]
check-commits = false # defaults to true

Fixes #1965

@Urgau Urgau requested a review from Kobzol May 4, 2025 09:38

@Kobzol Kobzol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would find it more intuitive if the option disabled commit checking, rather than allowed issues in commits (e.g. check-commits = false), but it's not super important. Feel free to merge as is.

@Urgau Urgau force-pushed the issue_links-allowed-in-commits branch from 42723d6 to a0946d7 Compare May 5, 2025 16:35
@Urgau

Urgau commented May 5, 2025

Copy link
Copy Markdown
Member Author

Switched to check-commits.

@Urgau Urgau added this pull request to the merge queue May 5, 2025
Merged via the queue into rust-lang:master with commit 05aa65d May 5, 2025
@Urgau Urgau deleted the issue_links-allowed-in-commits branch May 5, 2025 16:47
tgross35 added a commit to tgross35/rust-libc that referenced this pull request May 12, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966
tgross35 added a commit to tgross35/rust-libc that referenced this pull request May 12, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966
tgross35 added a commit to tgross35/rust-libc that referenced this pull request May 12, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966
@ehuss

ehuss commented May 20, 2025

Copy link
Copy Markdown
Contributor

It looks like this added a new config option. Can you make sure this gets added to the documentation?

tgross35 added a commit to tgross35/rust-libc that referenced this pull request Jun 1, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966

(backport <rust-lang#4444>)
(cherry picked from commit 6a8609c)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Jun 1, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966

(backport <rust-lang#4444>)
(cherry picked from commit 6a8609c)
DorianNiemiecSVRJS pushed a commit to DorianNiemiecSVRJS/rust-libc that referenced this pull request Jun 21, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966

(backport <rust-lang#4444>)
(cherry picked from commit 6a8609c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split issue-links into "canonicalization" and "links in commit"

3 participants