Skip to content

getconf() bug fix + args for repo_prep script#204

Open
NaddiNadja wants to merge 3 commits into
refenv:mainfrom
naddinadja-forks:repo_prep
Open

getconf() bug fix + args for repo_prep script#204
NaddiNadja wants to merge 3 commits into
refenv:mainfrom
naddinadja-forks:repo_prep

Conversation

@NaddiNadja
Copy link
Copy Markdown
Contributor

This commit will address this comment: #202 (comment)
And fix the first problem in #203

@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 21136656586

Details

  • 7 of 8 (87.5%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 78.809%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/cijoe/core/scripts/repository_prep.py 6 7 85.71%
Totals Coverage Status
Change from base Build 20759955782: 0.04%
Covered Lines: 1604
Relevant Lines: 2099

💛 - Coveralls

@safl
Copy link
Copy Markdown
Collaborator

safl commented May 5, 2026

Did this block due to unrelated CI breakage?

@NaddiNadja
Copy link
Copy Markdown
Contributor Author

@safl I don't know why this failed, it doesn't seem to be related. I can't rerun the actions though, can you start them? Or maybe it will be done automatically when we merge #205 and rebase this on top of it

@safl
Copy link
Copy Markdown
Collaborator

safl commented May 6, 2026

@safl I don't know why this failed, it doesn't seem to be related. I can't rerun the actions though, can you start them? Or maybe it will be done automatically when we merge #205 and rebase this on top of it

Great, #205 is in, let's see how this behaves now.

NaddiNadja added 3 commits May 6, 2026 12:40
Signed-off-by: Nadja Brix Koch <n.koch@samsung.com>
In the `getconf()` method, we allow users to overwrite configuration
file values with local environment variables by replacing all dots in
the key with underscores, as dots are not allowed in env var keys. The
same goes for dashes however, so there was a bug where it was not
possible to overwrite a key like `system-imaging.images.fedora-43-x86_64`
because an env var key like "SYSTEM-IMAGING_IMAGES_FEDORA-43-x86_64"
could not be defined. This commit changes the approach so that both dots
and dashes should be replaced by underscores.

Signed-off-by: Nadja Brix Koch <n.koch@samsung.com>
In a previous commit, we added filtering for the test report, so that
we can filter by e.g. passed or failed tests. However, when this is
done, you cannot click the tests to see the testinfo or runlog. This
commit fixes this by not adding `display:none` to items with the `.show`
or `.collapse` classes.

Signed-off-by: Nadja Brix Koch <n.koch@samsung.com>
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.

3 participants