Giter Site home page Giter Site logo

Simplify about exogenesis HOT 22 CLOSED

moonglum avatar moonglum commented on July 17, 2024
Simplify

from exogenesis.

Comments (22)

moonglum avatar moonglum commented on July 17, 2024

What do you think, @bitboxer and @railsbros-dirk?

from exogenesis.

bitboxer avatar bitboxer commented on July 17, 2024

๐Ÿ‘

from exogenesis.

code-later avatar code-later commented on July 17, 2024

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.

moonglum avatar moonglum commented on July 17, 2024

@railsbros-dirk I see the following scenarios (on the example of homebrew):

  1. 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.
  2. 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.
  3. 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.
  4. You want to get rid of homebrew, because the new hip shit vineyard was released. You run rake down (with an option to only down homebrew, but that's another ticket). It will remove brew and all packages installed by brew.

from exogenesis.

code-later avatar code-later commented on July 17, 2024

@moonglum I understand those scenarios but I don't like it. I don't want everything to be updated all the time :-)

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

@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 everything
  • rake up homebrew: Installs & Updates everything in homebrew
  • rake up homebrew vim: Installs homebrew, updates package definitions and then only updates vim

Correct?

from exogenesis.

code-later avatar code-later commented on July 17, 2024

@moonglum Yes, that would work for me.

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

Ok, then this will be done ๐Ÿ˜ธ

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

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 everything
    • exo up homebrew: Installs & Updates everything in homebrew
    • exo up homebrew vim: Installs homebrew, updates package definitions and then only updates vim
  • exo down โ€“ Uninstall things
    • exo down: Uninstall everything
    • exo down homebrew: Uninstall homebrew
    • exo down homebrew vim: Uninstall the homebrew package vim
  • exo clean โ€“ Call all cleanup talks

from exogenesis.

bitboxer avatar bitboxer commented on July 17, 2024

๐Ÿ‘ from me for this.

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

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.

moonglum avatar moonglum commented on July 17, 2024
  • Dotfile: Rename install to up and remove the alias
  • Fonts: Remove install
  • GitRepos: Unify install and up
  • Homebrew: Unify setup, install and up
  • NPM: Unify setup and install
  • Oh-My-ZSH: Rename setup to up
  • Python: Unify setup and install (see #39)
  • Rbenv: Unify setup, install and up (@bitboxer is taking over)
  • RVM: Unify setup, install and up
  • Vundle: Unify setup, install and up

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

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

moonglum avatar moonglum commented on July 17, 2024

If you do, donโ€™t forget your remark you made on 4dc4640 about using rm_rf instead of doing it manually ๐Ÿ˜‰

from exogenesis.

bitboxer avatar bitboxer commented on July 17, 2024

Will do next week. I will have free time starting on wednesday for this ๐Ÿ˜‰

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

Great ๐Ÿ‘

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

I will assign the ticket to you when Iโ€™m done this evening.

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

Handing off to @bitboxer.

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

And when youโ€™re done, you can merge #40 and then this ticket is done!

from exogenesis.

moonglum avatar moonglum commented on July 17, 2024

๐Ÿ‘ฏ

from exogenesis.

bitboxer avatar bitboxer commented on July 17, 2024

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.

moonglum avatar moonglum commented on July 17, 2024

Done!

from exogenesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.