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

Luet overloads 2 separate steps with the same function #99

Open
mystica555 opened this issue Oct 3, 2022 · 3 comments
Open

Luet overloads 2 separate steps with the same function #99

mystica555 opened this issue Oct 3, 2022 · 3 comments
Assignees

Comments

@mystica555
Copy link

mystica555 commented Oct 3, 2022

"update" is not "upgrade"
I should not have to type "luet upgrade" TWICE IN A ROW to make sure it actually does what "upgrade" means.
equo had update/upgrade separation. This made sense.

This is non-idempotent as it stands now. The same command, at 2 different states of the repository up-to-dateness, creates 2 different outcomes. This is wrong.

If you are going to take out "update", then for the love of all that is good, make "upgrade" finish the repo update AND the file/package upgrade IN THE SAME SINGLE COMMAND STEP.

Thank you.

@joostruis
Copy link
Member

This is by design. (not mine)
You "upgrade" the repo and afterwards you "upgrade" the system.

Perhaps you should use these commands instead:

luet repo update
luet upgrade

@mystica555
Copy link
Author

If those commands exist, why does it not say 'instead of upgrade, try updating your repository first'?
I like a single command to do the same and only one thing if I invoke it multiple times.

@joostruis
Copy link
Member

Perhaps the issue should be opened here: https://github.com/mudler/luet/issues

@joostruis joostruis assigned mudlers and mudler and unassigned mudlers Oct 4, 2022
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

No branches or pull requests

4 participants