quarkusio / quarkusio/quarkus-github-bot

Experiment with milestoned/demilestoned to track backport status

Open
#397 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
30
Forks
30
PR merge metrics
No merged PRs in 30d

Description

When a PR is attached to an older milestone on backporting, we lose the milestone information because GH only allows to have one milestone per issue.

I have no idea if when the new milestone is set, we get a demilestoned event first (which would be unfortunate as it would make it harder to track the previous milestone for context).

Also from there, we could maybe add a label per branch/a label per version.

Another option could be to NOT affect the milestone when backporting but instead adding a label that would be used when generating the release notes for the release (in conjunction to the milestone).

The number of labels if we use a label per version might become a problem. But maybe we could clean up labels from time to time for old versions (except for the LTS branches).

@maxandersen also mentioned that using projects could be another option to track the versions as you can affect a given PR to multiple projects. The project UI and API might not be as handy though.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating GitHub's milestoned and demilestoned events when a pull request's milestone changes during backporting. Compare milestones, version or branch labels, and projects for retaining backport context and release-note generation; done means selecting and documenting a workable tracking approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, java
Domain
release, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.