Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dersam/npig
Packages In Git - package manager for managing git repositories
https://github.com/dersam/npig
Last synced: 3 months ago
JSON representation
Packages In Git - package manager for managing git repositories
- Host: GitHub
- URL: https://github.com/dersam/npig
- Owner: dersam
- License: mit
- Created: 2015-03-12T00:19:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-16T13:32:02.000Z (over 9 years ago)
- Last Synced: 2024-04-26T03:44:10.015Z (7 months ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# npig
Packages In Git - package manager for managing git repositoriesnpig.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.