- Make the install script look at 'bin', 'lib', and 'include' in the prefix to install stuff
- Add -f flag when removing packages
- Add y/n prompt before removing packages
- Make the
packagedir a seprate repo - Document how to make a precompiled package
- Document how to make a package
- Handle
INSTALL_NOTES="blab"andNOTES="blab"in package file - Add "c", "clang" to repo tags
- Make
autocleanclean the~/.local/liband~/.local/includedirectories - Make gpack install commands to
~/.local/bin - Autoclean after removing a package
- Use a path join function in
utils.c - Show version of package when listing them
- There should be a "version" to always stay up-to-date with master (without redownloading it every time)
- Add dry-run for 'autoclean'
- Fix 'list' so the output is aligned
- Handle
--compileflag when upgradding - Add a
searchcommand - Search should only search for names
- Fix output when
upgradeing and theres nothing to upgrade - After installing a package, should print
I: Done installing pkg_name - Fix any issue after a clean install
- Make a simple gist one file script handler
- Autoclean should remove unused (older version) of a package after upgrading it (maybe)
- Should count how many file are installed
- Remove a package if failed to install it
-
gpack upgradeshould ensure all files are installed correctly - Should cache downloaded packages, in
~/.cache/gpack.cache -
gpack listshould auto-size the space between packages, and its versions - add
gpack info <user>/<package>command to show a package info - Add option/flag/command to list/clean cache
-
gpack listshould show the "registry version" for the package/show if a package is out-of-date -
gpack autocleanshould clean outdated old packages in the gpack.cache dir - When calling
gpack, it should ensure all shell scripts have not changed since installing/updating gpack - Add BINFILES in pkg installer, that will only contain the path to bin files
- Should check if install files already exist, and dont overide unless forced
- autoclean should remove old package versions
- Should ensure and check (with checksum) that all files are installed with package
- Should use ini files as package file format, and use: https://github.com/mattiasgustavsson/libs/blob/main/ini.h to parse it
- When removing packages and if running macOS, should put the files to Trash
- New installer should write the version to version.gpack, so
gpack listshows the currect version - Use real sha1 for checksum
- Check if installed files before linking is a regular file
- If package version is "main", gpack should fetch the latest commit sha and check it when upgrading
- Should be a sub package dir in packages
- Use of
path_join()may cause memmory leaks, need a better function - If a checksum fails, also print it as string
- All source files should have the copyright header like main-gpack.c/.h
-
gpack upgradedoes not work! Fix this! - Use true/false for some values
-
install_pkg()should have array options arguments, maybe likeopts foo[] = {PKG_OVERIDE, PKG_FOO} - If a installed package in not linked (or missing installed files), then should print that in
list - Output of
listshould show how many installed files that package has - If package has null version, then it should say "not installed" when listing (or similar)
- Should keep a installed.ini file to keep track of installed files
- Should have a context for each function that logs. This logging context should handle errors (WIP)