Closed moonglum closed 10 years ago
What do you think, @bitboxer and @railsbros-dirk?
:+1:
Mmh, I don't think I like it reduced to only up
and down
. I would still care about a dedicated update
task. And it would be nice to trigger the cleanup
without updating. But I would be fine with a cleanup after each update.
@railsbros-dirk I see the following scenarios (on the example of homebrew):
rake up
: Homebrew will be installed, all selected brews will be installed. It will run the cleanup afterwards.rake up
: It will check if brew is installed, it is – it will update the formulas. It will go through the brews: It updates each one, except ArangoDB, which will be installed. It will run the cleanup afterwards.rake up
: It checks if brew is installed, it is – it will update the formulas. It goes through the brews and updates each one.rake down
(with an option to only down
homebrew, but that's another ticket). It will remove brew and all packages installed by brew.@moonglum I understand those scenarios but I don't like it. I don't want everything to be updated all the time :-)
@railsbros-dirk Ok, but I think that is a different kind of problem, isn't it? What you would need is:
rake up
: Installs & Updates everythingrake up homebrew
: Installs & Updates everything in homebrewrake up homebrew vim
: Installs homebrew, updates package definitions and then only updates vimCorrect?
@moonglum Yes, that would work for me.
Ok, then this will be done :smile_cat:
Ok, I think the step to #15 is not far. Maybe those ticket should be combined. After this discussion I think the commands should be:
exo up
– Install or update things
exo up
: Installs & Updates everythingexo up homebrew
: Installs & Updates everything in homebrewexo up homebrew vim
: Installs homebrew, updates package definitions and then only updates vimexo down
– Uninstall things
exo down
: Uninstall everythingexo down homebrew
: Uninstall homebrewexo down homebrew vim
: Uninstall the homebrew package vim
exo clean
– Call all cleanup talks:+1: from me for this.
Oh wait, I remember why I split this into two! There’s no double work in doing that in two steps. All Passengers need to be adjusted to have the three methods up
, down
and clean
. In the Ship
class and the Rakefile very simple changes need to be made.
We will then introduce the command in a second step. Probably together with the more fine grained controll of what to up
and down
as requested by @railsbros-dirk.
install
to up
and remove the aliasinstall
install
and up
setup
, install
and up
setup
and install
setup
to up
setup
and install
(see #39)setup
, install
and up
(@bitboxer is taking over)setup
, install
and up
setup
, install
and up
@bitboxer Python is the goal for this evening. Could you do the same for rbenv? I don’t have it installed and therefore can’t try out if everything works :wink:
If you do, don’t forget your remark you made on 4dc4640d1bdc520dec031520caf859455b573395 about using rm_rf
instead of doing it manually :wink:
Will do next week. I will have free time starting on wednesday for this :wink:
Great :+1:
I will assign the ticket to you when I’m done this evening.
Handing off to @bitboxer.
And when you’re done, you can merge #40 and then this ticket is done!
:dancers:
Si señor!
Am Freitag, 21. Februar 2014 schrieb Lucas Dohmen :
[image: :dancers:]
Reply to this email directly or view it on GitHubhttps://github.com/moonglum/exogenesis/issues/23#issuecomment-35769964 .
Done!
I'm thinking about a big simplification. Currently there are the following tasks:
I'm thinking about reducing it to:
up
: Installs the package manager if it was not installed, installs all packages that were not installed, updates all packages and cleans updown
: Uninstalls all packages and the package manager itself.