Skip to content

Comments

Replace agama cmdline args prefix with inst#1993

Merged
mchf merged 8 commits intomasterfrom
rename_cmdline_args
Feb 20, 2025
Merged

Replace agama cmdline args prefix with inst#1993
mchf merged 8 commits intomasterfrom
rename_cmdline_args

Conversation

@mchf
Copy link
Contributor

@mchf mchf commented Feb 13, 2025

Problem

We want to use generic prefix for kernel command line arguments prefix.

Solution

replaced agama. with inst.

Testing

  • Tested manually

@mchf mchf marked this pull request as draft February 13, 2025 15:00
@mchf mchf force-pushed the rename_cmdline_args branch 8 times, most recently from 6ef4a1b to e016c1c Compare February 13, 2025 20:08
@mchf
Copy link
Contributor Author

mchf commented Feb 17, 2025

if this: #1970 is merged, then some more love for this patch will be needed.

@coveralls
Copy link

coveralls commented Feb 17, 2025

Pull Request Test Coverage Report for Build 13419132149

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.01%) to 70.893%

Files with Coverage Reduction New Missed Lines %
service/service/lib/agama/cmdline_args.rb 1 97.14%
Totals Coverage Status
Change from base Build 13415878106: 0.01%
Covered Lines: 17843
Relevant Lines: 25169

💛 - Coveralls

@mchf mchf requested a review from imobachgs February 17, 2025 10:32
Copy link
Contributor

@imobachgs imobachgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good. But, please, update the changes file.

@mchf mchf marked this pull request as ready for review February 18, 2025 19:24
@mchf mchf force-pushed the rename_cmdline_args branch 2 times, most recently from c003be0 to 1a3bde9 Compare February 19, 2025 10:50
@mchf mchf requested a review from imobachgs February 19, 2025 11:32
@mchf
Copy link
Contributor Author

mchf commented Feb 19, 2025

Rebased on top of patches made by @teclator and @jreidinger

@mchf mchf force-pushed the rename_cmdline_args branch from 1a3bde9 to ba00a18 Compare February 19, 2025 11:52
@mchf
Copy link
Contributor Author

mchf commented Feb 19, 2025

I'm currently retesting it with all those new patches merged ....

Copy link
Contributor

@jreidinger jreidinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is missing adaptation at

LIBSTORAGE_* | YAST_* | agama* | Y2* | ZYPP_* | autoyast* )
and
INFO_URL=$(sed -n 's/\(.*[[:space:]]\|^\)agama\.info=\([^[:space:]]\+\).*/\2/p' "$TARGET")
if you want to support inst.info

_env=1
;;
agama*)
inst* | agama*)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should inform that the agama*whatever parameter is deprecated in favor of the inst equivalent... like the getarg -d option...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agama being obsolete is covered in documentation update ...

question is whether will someone be able to recognize such output ?

@mchf mchf force-pushed the rename_cmdline_args branch from 7bee245 to 39c53af Compare February 19, 2025 17:50
@mchf mchf force-pushed the rename_cmdline_args branch from 39c53af to c02a187 Compare February 19, 2025 17:54
@mchf mchf requested a review from jreidinger February 19, 2025 17:55
@mchf mchf merged commit 53a4b94 into master Feb 20, 2025
13 checks passed
@mchf mchf deleted the rename_cmdline_args branch February 20, 2025 12:50
@imobachgs imobachgs mentioned this pull request Feb 26, 2025
imobachgs added a commit that referenced this pull request Feb 26, 2025
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