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

Remove deprecated die_on_timeout #19904

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

mpagot
Copy link
Contributor

@mpagot mpagot commented Aug 7, 2024

The call script_run(..., die_on_timeout => 0) is deprecated and soon to
be removed from os-autoinst.
This commit replaces the trento lib call by simply removing "die_on_timeout => 0"
as not actually needed or not necessary anymore after underlying bugs are fixed.

Related progress issue: https://progress.opensuse.org/issues/164712

Copy link

github-actions bot commented Aug 7, 2024

Great PR! Please pay attention to the following items before merging:

Files matching lib/**.pm:

  • Consider adding or extending unit tests in t/

This is an automatically generated QA checklist based on modified files.

@mpagot mpagot requested a review from okurz August 7, 2024 13:06
Copy link
Member

@okurz okurz left a comment

Choose a reason for hiding this comment

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

What you put into the description of the pull request could also be in the commit message details. I don't know how you created your pull request but your git commit messages has only the subject line while the pull request description has more details. Please keep in mind that the github pull request description is only visible on github, the commit can be considered permanent information storage.

I can recommend the tool hub (zypper in rubygem-hub) for easier PR creation. Also, I myself use a script git-pr-last to create a PR with proper description for these simple one-commit PRs:

$ cat $(which git-pr-last )
#!/bin/sh -e
target="${target:-"$USER"}"
git push $target && git show --no-patch --format=%B | hub pull-request -F -

You might want to use the more up-to-date tool https://github.com/cli/cli

See https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/CONTRIBUTING.md#coding-style for more details

Copy link
Contributor

@BillAnastasiadis BillAnastasiadis left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@lpalovsky lpalovsky left a comment

Choose a reason for hiding this comment

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

LGTM

The call script_run(..., die_on_timeout => 0) is deprecated and soon to
be removed from os-autoinst.
This commit replaces the trento lib call by simply removing "die_on_timeout => 0"
as not actually needed or not necessary anymore after underlying bugs are fixed.

Related progress issue: https://progress.opensuse.org/issues/164712
@mpagot mpagot force-pushed the trento_deprecated_die_on_timeout branch from 24f17f1 to 6d69db2 Compare August 7, 2024 14:24
@okurz okurz merged commit d4ab5c0 into os-autoinst:master Aug 7, 2024
10 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.

4 participants