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

Offer git restore if urls were changed locally #148

Closed
jan-vcapgemini opened this issue Nov 23, 2023 · 2 comments
Closed

Offer git restore if urls were changed locally #148

jan-vcapgemini opened this issue Nov 23, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@jan-vcapgemini
Copy link
Contributor

jan-vcapgemini commented Nov 23, 2023

As an IDEasy user, I want IDEasy to detect if I've modified my local urls repository.
It would be nice if IDEasy could provide a notification if urls is in an inconsistent state and offer an automatic git restore.

Currently IDEasy just checks if the urls folder exists and if not, it does a git checkout.
If the folder exists, IDEasy attempts only a git pull which can not detect any changes e.g. deletions.

If the user is offline and force mode is active, the user needs to be asked if he wants to repair (and lose) his local changes on the urls repository.

@jan-vcapgemini jan-vcapgemini added the enhancement New feature or request label Nov 23, 2023
@hohwille
Copy link
Member

See also #173
We can detect conflicts if not force is active for git update and in such case ask the user (with warning to lose all changes) if he wants to revert all his changes.

@jan-vcapgemini
Copy link
Contributor Author

Can be closed because for urls we want to enforce a git reset.
Will be continued if other processes using git reset should wait for user input.

@jan-vcapgemini jan-vcapgemini added the wontfix This will not be worked on label Apr 16, 2024
@hohwille hohwille added this to the release:2024.03.001 milestone Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants