0.1.0 • Published 9 years ago

npig v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

npig

Packages In Git - package manager for managing git repositories

npig.example.json - example definition of a repository Install using a manifest file- the contents will be added to the pig cache.

Update all tracked packages with npig update.

Build the bashrc hook file with npig rebuild. The generated file should be sourced in your bashrc- this will link in all tracked dotfile repos based on settings in sourceFiles and bashExec.

Destroy the cache with npig clean. If you have changes, doing a clean and then doing npig install will rebuild the cache, without redownloading or updating your packages. This is good for if you change your bashExec or sourceFiles config.

##To Do:

  • Add post-install and post-update bash script hook options (for additional steps that only need to happen once).
  • Clean up the commands into an actual module.
  • Add capability to execute commands asynchronously (especially for update).
  • Add automatic attachment of bashrc hook file to bashrc.
  • Get hash info from repo to determine if cloning was successful.
  • Add packages via cli, without an installation manifest.
  • Remove individual packages via cli.
  • Add checking for a pigfile in the repository root, for auto-execution.