Coder Social home page Coder Social logo

super's People

Contributors

rkrzr avatar

Watchers

 avatar  avatar

super's Issues

Install `super` locally per repo or once globally?

Installing it locally is more in line with the everything-reproducible philosophy of Nix (which is generally a good idea). However, it's also a hassle, because e.g. do you require everyone to use Nix for their projects? That seems too restrictive.
Most people will also only have one super repo, and if they have two, they probably don't care that they use the same version of super.

I'm leaning more towards one global installation of the super binary, since it will make installation smoother and the initial adoption hurdle smaller.

Make `super` work in directories that contain git repos, but where there is no .gitmodules

I think it would be useful to be able to do super pull in arbitrary directories, where the current directory does not have to be a git repo itself and does thus also not have a .gitmodules file.

In that case super should just discover which subdirectories are git repos and pull their currently checked out branch (as long as there are no uncommited changes in the repo).

Make available `super` commands extensible

Each real-world project, that uses a super repo structure, will need a number of project-specific commands, think e.g. about

  • a way to run database migrations
  • a way to enable direnv
  • a way to run builds across all repos
  • a way to check if all runtime dependencies are met (e.g. expected databases are online)

It would therefore be very useful if super was extensible with custom commands supplied by users.

Implementation

An easy way to implement this would be to require each custom command to be its own executable (or executable file) and place them in a commands directory. super can then discover the files there and run them as a subprocess.

The commands directory will be in ~/.config/super/commands.

Add a `super add <repo>` command

This command should allow you to add a new submodule by specifying a path to a repo, e.g.

super add [email protected]:channable/icepeak.git

This should add the repo as a submodule, and should also initialize the submodule.

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.