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

Recover from inconsistent state after publish fails #18

Closed
sduenas opened this issue Apr 27, 2020 · 0 comments · Fixed by #21
Closed

Recover from inconsistent state after publish fails #18

sduenas opened this issue Apr 27, 2020 · 0 comments · Fixed by #21
Labels
enhancement New feature or request

Comments

@sduenas
Copy link
Member

sduenas commented Apr 27, 2020

If publish fails, the command leaves the git repository in a inconsistent state. The command should check for possible errors and if it finds any rollback the operation before it exists.

@sduenas sduenas added the enhancement New feature or request label Apr 27, 2020
@sduenas sduenas changed the title Recover from inconsistent after publish fails Recover from inconsistent state after publish fails Sep 28, 2020
vchrombie added a commit to vchrombie/release-tools that referenced this issue Oct 29, 2020
Fixes Bitergia#18.

If publish fails, the command leaves the git repository in
an inconsistent state. This code informs about the possible
errors and adds the support of rollback to the last consistent
state. This is needed to save the manual effort of the user
to fix the status of the repository.

Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com>
vchrombie added a commit to vchrombie/release-tools that referenced this issue Oct 29, 2020
Fixes Bitergia#18.

If publish fails, the command leaves the git repository in
an inconsistent state. This code informs about the possible
errors and adds the support of rollback to the last consistent
state. This is needed to save the manual effort of the user
to fix the status of the repository.

Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant