xsf / xeps

Hosts the markup for all XMPP Protocol Extensions.
https://xmpp.org/extensions/
Other
125 stars 119 forks source link

Create tool to facilitate automatic creation of git tags for new XEP releases #1238

Open horazont opened 1 year ago

horazont commented 1 year ago

Summary

In order to find specific revisions more easily in the git tree, the Editor has started to manually tag the commits which introduce a revision block using tags of the format xep-NNNN-vX.Y.Z.

Creating those tags manually is error-prone.

Work proposal

Given two git commits (the PR head and the merge base between the PR head and the current main branch), the tool should iterate until it finds a commit which adds a revision block for any XEP (it may do so by running the generation tooling for xeplist.xml for each revision and comparing the output).

The tool should emit the resulting tags and the associated commit IDs in a machine-readable format.

Requirements