Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce build --checks parameter #1600

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

adrianschroeter
Copy link
Member

Added in build script

Depends on openSUSE/obs-build#1013

@@ -7170,6 +7170,8 @@ def parse_repoarchdescr(self, args, noinit=False, alternative_project=None, igno
help='Copy overlay filesystem to buildroot after installing all RPMs .')
@cmdln.option('--noinit', '--no-init', action='store_true',
help='Skip initialization of build root and start with build immediately.')
@cmdln.option('--checks', action='store_true',
help='Explicit run checks, if disabled in build config')
Copy link
Contributor

Choose a reason for hiding this comment

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

Rephrase to Force running checks, even if disabled in build config ?

Copy link
Member

Choose a reason for hiding this comment

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

maybe call it --force-checks then even?

Copy link
Contributor

Choose a reason for hiding this comment

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

It seems it's not forcing, it's only overriding a value from the commandline.
Another option for the help text might be: Run checks even if disabled in the build config

Copy link
Member Author

Choose a reason for hiding this comment

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

adapted the message.

@dirkmueller it is not really forceing, it is usually anyway the default most of the time. However, I like to keep it in sync with build script parameter and it fit's better there this way.

Added in build script
@dmach dmach merged commit d8bfd45 into openSUSE:master Jul 15, 2024
22 of 24 checks passed
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