martinthomson / i-d-template

A template for IETF internet draft git repositories
Other
204 stars 180 forks source link

Codeberg / Forgejo compatibility #398

Open chrysn opened 1 year ago

chrysn commented 1 year ago

Context

As someone who avoids GitHub for private repositories, and is not really happy with the current practice of IETF documents being maintained here, I'm exploring alternatives. (GitLab is where some people including me already host drafts, but it is relatively complex to self-host, and has vastly different CI system). An attractive is Forgejo (eg. as hosted at codeberg.org), which has the upside of providing "forgejo actions" that are intentionally compatible with GitHub actions.

I've been exploring options in an issue of my latest draft repo, and while there is some way to go, I'd like to both track progress of any necessary changes to i-d-template here.

My expectation is that in the course of this effort, there would be pull requests that generalize detection of relevant URIs to recognize a wider variety of hosters, and possibly to be more explicit in places (for example, uses: martinthomson/i-d-template could need to be replaced with uses: https://github.com/martinthomson/i-d-template@v1). My hope is that those changes will come without undue increase of complexity here, and acceptable upstream. My ideal outcome would be that cloning i-d-template into a codeberg hosted repository would work on a Forgejo instance just as easily as on GitHub.

Open sub-issues

Directions

So far, there is nothing I'd immediately need from Martin and other maintainers here -- but if you think this is a a doomed activity to the point where you wouldn't even accept small alterations going forward, please let me know to avoid wasting time.

chrysn commented 12 months ago

To avoid altering components that would likely not be tested, I'd consider making some assumptions or requirements on the underlying repository for use with codeberg. Do these sound practical to you to assume? (Not sure whether support for them for GitHub based repos might at some point be deprecated).