mocaccinoOS/mocaccino

Luet overloads 2 separate steps with the same function

Opened this issue · 3 comments

"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.

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

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.

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