You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The queue name rules have changed. Library Update [library-aaa] is not a valid name anymore.
Some commit subjects require now a job id, which is not present for the old queue commits.
Even if I rename the queue we still have a broken workflow because the queue processes old commits too.
Broken workflows:
Queue name not valid: Library Update [library-aaa]. Only lowercase letters (a-z), dash and white space are allowed, 30 characters max. Link.
Missing job ID in commit subject: 📝✅: library-update: job.ref.df13e75c4835208ae64c2b383038709560b753c7. Link.
The problem is we have two versions of the queue in the same branch. Since we still have a beta version I would suggest removing previous queue commits from both projects. We were already considering this problem with this issue for future versions.
On the other hand, I think we should not process all queue commits. We should not get the error "Missing job ID in commit subject" because the commit does not belong to the new queue. But anyway, knowing which queue the commit belongs to depends on parsing the subject, so we still need to get the version of the queue to correctly extract the queue name.
Sounds like a job for https://gitlab.com/esr/reposurgeon
This allows for a git-to-git conversion, where you can write rules for replacing or editing commits, including their messages.
When the issue #24 is merged, we will have JTD schema validation for the message body:
This allows us to have an expressive description of the commit body, and make validations and parsings more robust and simple.
This methodology should be extended to the commit subject, that will store the queue message.
The text was updated successfully, but these errors were encountered: