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

[Bug]: Upgrade command often fails #403

Open
taorepoara opened this issue May 15, 2024 · 0 comments
Open

[Bug]: Upgrade command often fails #403

taorepoara opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@taorepoara
Copy link
Member

What happened?

There is many cases where the upgrade command fails, because the diff management is not great.

It should be improved to patch the original files even if they have changed.

Maybe merging patchs could be a solution.

What browsers are you seeing the problem on?

No response

Version

v1.3.0

Relevant log output

$ lenra upgrade
An error occured applying the patch /home/taorepoara/lenra/apps/app-overlay-twitch/server/.lenra/patch.eb06447e6454cf36ba30454e5fe87c59abae347d-c7147280f8e755b488848b2fe42ce975b939ad98.diff:
Command exec exited with code 1:
        cmd: Command { std: "git" "apply" "/home/taorepoara/lenra/apps/app-overlay-twitch/server/.lenra/patch.eb06447e6454cf36ba30454e5fe87c59abae347d-c7147280f8e755b488848b2fe42ce975b939ad98.diff", kill_on_drop: true }
        stdout: 
        stderr: error: le patch a échoué : README.md:46
error: README.md : le patch ne s'applique pas
error: le patch a échoué : lenra.yml:33
error: lenra.yml : le patch ne s'applique pas

Fix it and press enter to retry
Could not read command: Interrupted
@taorepoara taorepoara added the bug Something isn't working label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🟤 Can wait
Development

No branches or pull requests

1 participant