Comments (22)
What do you think, @bitboxer and @railsbros-dirk?
from exogenesis.
๐
from exogenesis.
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.
from exogenesis.
@railsbros-dirk I see the following scenarios (on the example of homebrew):
- You're setting up your new system โ nothing is installed yet. You run
rake up
: Homebrew will be installed, all selected brews will be installed. It will run the cleanup afterwards. - You have added a new component (for example you added ArangoDB to your brews). You run
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. - You have no new components, but certain components are outdated. You run
rake up
: It checks if brew is installed, it is โ it will update the formulas. It goes through the brews and updates each one. - You want to get rid of homebrew, because the new hip shit vineyard was released. You run
rake down
(with an option to onlydown
homebrew, but that's another ticket). It will remove brew and all packages installed by brew.
from exogenesis.
@moonglum I understand those scenarios but I don't like it. I don't want everything to be updated all the time :-)
from exogenesis.
@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 vim
Correct?
from exogenesis.
@moonglum Yes, that would work for me.
from exogenesis.
Ok, then this will be done ๐ธ
from exogenesis.
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 thingsexo up
: Installs & Updates everythingexo up homebrew
: Installs & Updates everything in homebrewexo up homebrew vim
: Installs homebrew, updates package definitions and then only updates vim
exo down
โ Uninstall thingsexo down
: Uninstall everythingexo down homebrew
: Uninstall homebrewexo down homebrew vim
: Uninstall the homebrew packagevim
exo clean
โ Call all cleanup talks
from exogenesis.
๐ from me for this.
from exogenesis.
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.
from exogenesis.
- Dotfile: Rename
install
toup
and remove the alias - Fonts: Remove
install
- GitRepos: Unify
install
andup
- Homebrew: Unify
setup
,install
andup
- NPM: Unify
setup
andinstall
- Oh-My-ZSH: Rename
setup
toup
- Python: Unify
setup
andinstall
(see #39) - Rbenv: Unify
setup
,install
andup
(@bitboxer is taking over) - RVM: Unify
setup
,install
andup
- Vundle: Unify
setup
,install
andup
from exogenesis.
@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 ๐
from exogenesis.
If you do, donโt forget your remark you made on 4dc4640 about using rm_rf
instead of doing it manually ๐
from exogenesis.
Will do next week. I will have free time starting on wednesday for this ๐
from exogenesis.
Great ๐
from exogenesis.
I will assign the ticket to you when Iโm done this evening.
from exogenesis.
Handing off to @bitboxer.
from exogenesis.
And when youโre done, you can merge #40 and then this ticket is done!
from exogenesis.
๐ฏ
from exogenesis.
Si seรฑor!
Am Freitag, 21. Februar 2014 schrieb Lucas Dohmen :
[image: ๐ฏ]
Reply to this email directly or view it on GitHubhttps://github.com//issues/23#issuecomment-35769964
.
from exogenesis.
Done!
from exogenesis.
Related Issues (20)
- Documentation HOT 5
- Add missing unit tests for passengers HOT 8
- Extract Executor
- Switch to `expect` RSpec syntax HOT 6
- Discussion: linux and mac?! HOT 6
- Problems with pip HOT 9
- Add brew cask passenger HOT 2
- Megingiard Follow Up
- Split into two projects
- New video on ascii cinema
- Passenger: Standards + Linting
- Execute file from dotfile-repository after update HOT 3
- Symlink a file from git_repo working copy HOT 4
- Try Traveling Ruby
- NPM does not update bower anymore HOT 1
- NPM uses wrong command HOT 2
- gcc42 still required for rvm? HOT 1
- bash package manager HOT 1
- support for neovim HOT 6
- Install fonts from the fonts cask HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exogenesis.