Skip to content

run script in all repos#3396

Merged
maryliag merged 2 commits intoopen-telemetry:mainfrom
maryliag:clean-all-repos
Apr 30, 2026
Merged

run script in all repos#3396
maryliag merged 2 commits intoopen-telemetry:mainfrom
maryliag:clean-all-repos

Conversation

@maryliag
Copy link
Copy Markdown
Contributor

Test run was successful with only a few repos. It was also tested with multiple executions and no new PR was created (as expected).

PRs generated:
open-telemetry/opentelemetry-java#8347
open-telemetry/opentelemetry-js#6649
open-telemetry/opentelemetry-js-contrib#3500

Now this PR remove the list of repos, so it can be executed in all repos under the org open-telemetry

Comment thread scripts/move-to-emeritus.py Outdated
@maryliag maryliag added this pull request to the merge queue Apr 30, 2026
Merged via the queue into open-telemetry:main with commit ee0c03b Apr 30, 2026
7 of 8 checks passed
@maryliag maryliag deleted the clean-all-repos branch April 30, 2026 12:11
@thompson-tomo
Copy link
Copy Markdown
Contributor

@maryliag this run appears to have a couple of edge cases:

@martincostello
Copy link
Copy Markdown
Member

  • some teams use * for list so markdownlint fails. Should the guidance be to use -?

Not every repo has the same lint requirements so I don't think we can make everyone happy - SIGs can fix-up PRs if they want to proceed with merging them.

some documents are not having names being removed

Everyone's documents are different - again, SIGs can fix-up anything extra.

@thompson-tomo
Copy link
Copy Markdown
Contributor

Yes but there was a completed attempt to standardise the contributing section across all repos #2830

@martincostello
Copy link
Copy Markdown
Member

So for the sake of one list in one file everyone needs to change the markdown linting rules for their entire repo?

@thompson-tomo
Copy link
Copy Markdown
Contributor

No i didn't suggest that. I am purely talking about the sections which this script is changing/managing.

The most likely scenario I see would be to suppress the violation of that markdownlint rule within a section of the doc. Then within that section have it as a - so that alphabetical sorting etc works.

@maryliag
Copy link
Copy Markdown
Contributor Author

@thompson-tomo ideally all readmes would use -. If the repo wants to update to that, great, otherwise I won't enforce this.
I'm adding an update to the script to deal with both scenarios (* and -), which is why some nomes did not got removed, because the script didn't recognize the pattern with *. If there are open PRs with this issue, feel free to commit any fixes and following iterations should handle properly

@thompson-tomo
Copy link
Copy Markdown
Contributor

thompson-tomo commented Apr 30, 2026

Thanks @maryliag just for completness it might be worthwhile to also cater for the + symbol which is a valid list character -> https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md004---unordered-list-style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants