Skip to content

Instantly share code, notes, and snippets.

@lestrrat
Last active August 29, 2015 14:05
Show Gist options
  • Save lestrrat/b7dc1b85a0464fe1020e to your computer and use it in GitHub Desktop.
Save lestrrat/b7dc1b85a0464fe1020e to your computer and use it in GitHub Desktop.
Ideas for build-anything installer

RFC: Omnidep

Install mode

  • Fetch from git repository
  • Satisfy deps by reading tbd.json (git repo + SHA1/commit-ish) and recursively run install
  • Run hooks (e.g. perl Makefile.PL)
  • Optionally, run tests

Packaging mode

  • Given git urls/paths, record the SHA1/commit-ish used
  • Do we auto-probe for used packages? seems an impossible task for heterogenous dependencies
$ odep git://github.com/lestrrat/my-awesome-app.git
Checking tbd.json ...
Found (5) dependencies...
Installing:
- github.com/plack/Plack.git
- github.com/coreos/etcd.git
...

???

  • Do we resolve second-level deps via (language|tool)-specific means, such as cpanm/gem ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment