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

umpf: fix losing flags while continue #31

Closed
wants to merge 1 commit into from

Conversation

bith3ad
Copy link

@bith3ad bith3ad commented Nov 24, 2023

The 'umpf continue' case was tested only with the use-case where flags are specified via the cmdline. If flags are provided via an useries file they are still lost. Fix this by making use of the new flags status file while bailout(). This file is always generated.

This commit also fixes the case the following case: flags were succefull verified but umpf fails later on e.g. during a tag run and we would need to run 'umpf continue'. In such case they are marked within the ${STATE}/done file so the hooks are not executed again. Fix this by checking for the FLAGS cmdline parameter or the new ${STATE}/flags file to parse and setup the flags everytime.

The 'umpf continue' case was tested only with the use-case where flags
are specified via the cmdline. If flags are provided via an useries file
they are still lost. Fix this by making use of the new flags status
file while bailout(). This file is always generated.

This commit also fixes the case the following case: flags were succefull
verified but umpf fails later on e.g. during a tag run and we would need
to run 'umpf continue'. In such case they are marked within the
${STATE}/done file so the hooks are not executed again. Fix this by
checking for the FLAGS cmdline parameter or the new ${STATE}/flags file
to parse and setup the flags everytime.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
@michaelolbrich
Copy link
Member

Fixed differently in #34

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