Skip to content

Commit

Permalink
add self-hosted #queue redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
bryangingechen committed Feb 10, 2025
1 parent ac1f141 commit 1e2fe86
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/contribute/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ below the `---`.

## Lifecycle of a PR

Many reviewers use the [review queue](https://bit.ly/4eIDoOJ) to identify PRs that are ready for review.
Many reviewers use the [review queue](../queue-redirect) to identify PRs that are ready for review.
The instructions below will ensure that your PR appears on that queue; if it doesn't appear there it may not receive much attention.
Everyone is also invited to regularly look at the queue (it is linkified as `#queue` on Zulip), and write reviews of PRs within their expertise.

The review queue is controlled by GitHub "labels".
The review queue is controlled by GitHub "labels".
On the main page for a PR, on the right-hand side,
there should be a sidebar with panels "reviewers", "assignees", "labels", etc.
Click on the "labels" header to add or remove labels from the current project.
(Labels can only be edited by "GitHub collaborators", which is approximately the same as "people who have asked for write access".)
(Labels can only be edited by "GitHub collaborators", which is approximately the same as "people who have asked for write access".)

If your PR builds (has a green checkmark), someone will probably "review" it within a few days (depending on the size of the PR; smaller PRs will get quicker responses). The reviewer will probably leave comments and add the label **"awaiting-author"**. You should address each comment, clicking the "resolve conversation" button once the problem is resolved. Ideally each problem is resolved with a new commit, but there is no hard rule here. Once all requested changes are implemented, you should remove the **"awaiting-author"** label to start the process over again.

Expand Down
14 changes: 14 additions & 0 deletions templates/queue-redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://github.com/leanprover-community/mathlib4/pulls?q=is:open+is:pr+-is:draft+base:master+sort:updated-asc+status:success+-label:blocked-by-other-PR+-label:blocked-by-batt-PR+-label:blocked-by-core-PR+-label:blocked-by-qq-PR+-label:merge-conflict+-label:awaiting-author+-label:awaiting-CI+-label:awaiting-zulip+-label:WIP+-label:delegated+-label:auto-merge-after-CI+-label:ready-to-merge+-label:please-adopt+-label:help-wanted">
<script type="text/javascript">
window.location.href = "https://github.com/leanprover-community/mathlib4/pulls?q=is:open+is:pr+-is:draft+base:master+sort:updated-asc+status:success+-label:blocked-by-other-PR+-label:blocked-by-batt-PR+-label:blocked-by-core-PR+-label:blocked-by-qq-PR+-label:merge-conflict+-label:awaiting-author+-label:awaiting-CI+-label:awaiting-zulip+-label:WIP+-label:delegated+-label:auto-merge-after-CI+-label:ready-to-merge+-label:please-adopt+-label:help-wanted"
</script>
<title>Mathlib #queue</title>
</head>
<body>
If you are not redirected automatically, follow this <a href='https://github.com/leanprover-community/mathlib4/pulls?q=is:open+is:pr+-is:draft+base:master+sort:updated-asc+status:success+-label:blocked-by-other-PR+-label:blocked-by-batt-PR+-label:blocked-by-core-PR+-label:blocked-by-qq-PR+-label:merge-conflict+-label:awaiting-author+-label:awaiting-CI+-label:awaiting-zulip+-label:WIP+-label:delegated+-label:auto-merge-after-CI+-label:ready-to-merge+-label:please-adopt+-label:help-wanted'>link to the mathlib #queue</a>.
</body>
</html>

0 comments on commit 1e2fe86

Please sign in to comment.