-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
follow up to #5610
We currently have automation for updating sub modules based on the upstream version update, e.g. if the spec goes from 1.3.8 to 1.3.9 we get an automated pull request that requests an update.
This does not work for repositories that do not have a versioning. Those are:
- community
- opentelemetry-java-examples
- opentelemetry-go-contrib (which now holds the Go example code, needs to be fixed independently)
- other future repos that hold code snippets
As of today we need to have them updated manually, so we wouldn't know if there is a drift in content.
There are three potential solutions to that:
- Add versions to those repositories
- Update them on commit to the repository
- Update them if certain files/folders got updated
While option (1) would be the one with least effort on our end, this is not going to work for all the repos. Especially the community repo has no concept of when a "version" should be released, except we go for a monthly/quarterly pseudo release as we do it for this repo.
Option (2) will be to noise, since all those repos get updated frequently.
Option (3) is worth exploring and my preference as of now. If we can define which files we track, we will only have a few updates from time to time, e.g. for the community repo we would need to track a few of the markdown files, like the "mission-vision-values.md". Those files get updated "a few times per year". The java-examples-repo had 20 commits to the doc-snippets folder since June, https://github.com/open-telemetry/opentelemetry-java-examples/commits/main/doc-snippets, most of them have been version bumps following java releases
Metadata
Metadata
Assignees
Labels
Type
Projects
Status