Show milestone progress bars for tracked repositories #1

Open
Ynnead wants to merge 0 commits from milestone-bars into main
Owner

Adds a second script to custom/header.tmpl that draws a progress bar for each milestone of the repositories in its tracked list (today only ruffle-upstream): under the repository on the organization page, and above the file list on the repository's own page. The bars read /api/v1/repos/.../milestones, so nothing leaves the forge.

The external card builder now also strips the bars when it copies the first repository's card, since ruffle-upstream is first in the list.

Applying it means pasting the new header.tmpl into CUSTOM_HEAD_HTML and redeploying. It has no {{ or ${.

Adds a second script to custom/header.tmpl that draws a progress bar for each milestone of the repositories in its `tracked` list (today only ruffle-upstream): under the repository on the organization page, and above the file list on the repository's own page. The bars read `/api/v1/repos/.../milestones`, so nothing leaves the forge. The external card builder now also strips the bars when it copies the first repository's card, since ruffle-upstream is first in the list. Applying it means pasting the new header.tmpl into `CUSTOM_HEAD_HTML` and redeploying. It has no `{{` or `${`.
Under the repository on the organization page and above its files on its own page, read from Forgejo's API. Lists ruffle-upstream.
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin milestone-bars:milestone-bars
git switch milestone-bars

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff milestone-bars
git switch milestone-bars
git rebase main
git switch main
git merge --ff-only milestone-bars
git switch milestone-bars
git rebase main
git switch main
git merge --no-ff milestone-bars
git switch main
git merge --squash milestone-bars
git switch main
git merge --ff-only milestone-bars
git switch main
git merge milestone-bars
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
OpenAQW/openaqw-code!1
No description provided.