bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47971: Improve Guix commands for update/upgrade


From: bo0od
Subject: bug#47971: Improve Guix commands for update/upgrade
Date: Fri, 23 Apr 2021 14:46:28 +0000

> I don't get what you mean when you say pull is actually the opposite of
> push? That's true in the sense of the words, but how does that relate to
> Guix?

git pull , git push -> both are making sense

guix pull, but no guix push -> doesnt make sense as there is no relation between pull and other used commands. (thus i suggested to use known linked-terms like update,upgrade...etc)

> You can "downgrade" (switch to using an older Guix/software) by
> reconfiguring, so I wouldn't like to see that operation referred to as
> an upgrade (as it's not always)

I see, for example it can be made as upgrade command to always read configurations which are only intended for upgrading the system and if you want to use downgrade then it will read configurations only intended for downgrading the system. (either by using the same config.scm or each command point to separated config.scm like upgrade.scm and downgrade.scm...)

by this can run system-upgrade , system-downgrade or dist-upgrade/downgrade..etc

Maybe there are better solutions like better terms or technical solutions someone can come up with to make things better than the current situation.



Christopher Baines:

bo0od <bo0od@riseup.net> writes:

Hi There,

The current commands used to make sure everything updated are not
friendly to type nor to memorize, Current commands:(i dunno if i
missed more)

guix pull
guix upgrade
sudo guix reconfigure /etc/config.scm


There is no relation can be drawn from using these commands:

- pull: Is actually the opposite of push which is a git command and it
   make sense in git atmosphere/usage.

guix pull usually does a git pull under the hood and then builds guix
from that updated repository.

I don't get what you mean when you say pull is actually the opposite of
push? That's true in the sense of the words, but how does that relate to
Guix?

- upgrade: This is the only good one as this is very common term used
   within distros or actually most of the operating systems generally.

- reconfigure /etc/config.scm: hmm...

There are many ways we can improve this by using different better
terms which can be easily memorized and even linked e.g: (These are
just examples, If there are any better terms you can come with sure
why not)

- pull -> update or refresh

I think update is OK, although I think pull is OK too. refresh is
already taken.

- upgrade -> can be kept or package-upgrade
- reconfigure /etc/config.scm -> dist-upgrade or distro-upgrade or
   system-upgrade

You can "downgrade" (switch to using an older Guix/software) by
reconfiguring, so I wouldn't like to see that operation referred to as
an upgrade (as it's not always).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]