Where should a check for label name problems go?
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- awk, github-actions, shell
- Domain
- ci-cd, testing-qa, tooling
Research direction
Start with utils/checkLabels.sh, then compare the proposed integration points in utils/process_prs.sh, utils/assemble.sh, and the pull-request workflows. First determine with maintainers where validation belongs and whether it should report all existing failures or only files changed by a pull request. Done means the selected entry point detects malformed label lines and duplicate names without disrupting unrelated label processing.
Written by the indexing model from the issue text.
Description
All questions must be filled out or your Issue will be closed for lack of information
What's the bug?
Provide a clear and concise description of what the issue is.
Would a check for label name problems be useful, and if so, where would you like it? Nothing catches them at the moment. I have a check working in utils/checkLabels.sh, but it could go somewhere else.
It looks for two things. The first is a name line the label list doesn't pick up. The list Installomator prints with no arguments (and so Labels.txt) only matches a name on a line of its own, so chatgpt|codex) or an indented displaynote) leaves those names out. The second is a name that's in more than one file. The labels are joined in alphabetical file order and the first match wins, so the later definition never runs.
Have you confirmed this Issue has not been reported already? (Check open Issues and Pull requests)
Yes. #3388 to #3398 fixed ten of these by hand on 9 October, but there's no check to stop new ones. No open issue or PR changes checkLabels.sh, process_prs.sh, assemble.sh or the workflows.
Installomator version
What version are you running? You must include the version number and date. (Ex: Installomator v. 10.7beta, date 2024-08-31)
main at a224fdba (Installomator v. 10.10beta, date 2026-10-17). This is about the repo's tooling and label files rather than the script itself.
Additional context
Add any other context about the problem here.
Since #3388 to #3398 were merged, #3423 added stats as a second name in exelbanstats.sh while stats.sh still has it, so stats.sh won't run (#3422 disables it). displaynote is still indented, and #3352 fixes that.
The check only reads the label files, with no network access, and takes well under a second for all of them. These are the places I can see it going:
utils/checkLabels.sh, before the download checks. That's where I have it now, but it only helps whoever runs that script so I don't think it should stay there.utils/process_prs.sh, as another line in the validation comment on label PRs.- A workflow on pull requests, like
check-lf.yml. It can be written in plain awk, so it doesn't need zsh on the runner. It could report only names in the files the PR changes, so it wouldn't fail on problems already onmain. I saw #2870 tookcheckLabels.shout ofmanual-assemble.yml, but that was the whole script with its downloads. utils/assemble.sh, as a warning when it puts the script together, so anyone testing a label sees it.
I'm happy to open a PR for whichever you'd prefer, or more than one.
Installomator log
At the bottom of this report, provide a log, either by running Installomator in Terminal and saving the output, or by downloading the result log from your MDM. Do not enable Debug logging level and please format the log using a code block!
There's no Installomator log for this, since it isn't a label run. This is the check's output on main at a224fdba:
displaynote.sh: " displaynote)" is not one name on a line of its own
stats: in exelbanstats.sh and stats.sh, so only exelbanstats.sh runs
- Dominant language
- Shell
- Stars
- 1.5k
- Forks
- 682
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 94
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Installomator/Installomator
-
application-issue
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Installomator/Installomator#3715 ·
Maintainers usually reply within 3 days
-
iif vs ifOpen
Difficulty 1/5 Under an hour Newbie friendliness 62/100
Installomator/Installomator#3711 ·
Maintainers usually reply within 3 days
-
application-issue
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Installomator/Installomator#3702 ·
Maintainers usually reply within 3 days
-
application-issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Installomator/Installomator#3645 · 1 comment ·
Maintainers usually reply within 3 days
-
QGIS-LTR name changePossibly taken @sjurlohne claimed this 7 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Installomator/Installomator#3581 · 1 comment ·
Maintainers usually reply within 3 days
All issues in Installomator/Installomator
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kunchenguid/firstmate#8989 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
buildkite/elastic-ci-stack-for-aws#2050 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
melodic-software/claude-code-plugins#21021 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
ChurchCRM/docs.churchcrm.io#350 ·
Maintainers usually reply within 1 day