master
78 commits
e72806e
hovercats  ·  2026-07-18
master
exit if no sources exists
bf3be02
hovercats  ·  2026-07-18
print a message on uninstall. this makes things a bit more consistent.
2e874bb
hovercats  ·  2026-07-18
dont cd in build_pkg. we have already done this at an earlier stage
e73e035
hovercats  ·  2026-07-18
dont exit it files/ doesnt exist. I wanna handle checking of sources properly, so.. not checking for this initially will just have to do for now
3c34ee9
hovercats  ·  2026-07-18
fix copying files/ files
56c3ca7
hovercats  ·  2026-07-17
remove list_pkg function, and just put the code under `l` flag, where it was called. it was used elsewhere, so the function was redundant
b4014d0
hovercats  ·  2026-07-17
use errexit function instead of log function on invalid argument
afaf824
hovercats  ·  2026-07-17
we dont need to cd in chksum_pkg, as we already cd before this in dl_pkg
49b8fd1
hovercats  ·  2026-07-17
do some better testing for the existens of sources
5ea46f8
hovercats  ·  2026-07-13
remove uneeded `in $*` in a loop. probably missed this earlier
a5c2d23
hovercats  ·  2026-07-12
shift once, instead of 7
70a21ef
hovercats  ·  2026-07-12
rcpm: running just `i` flag will error if the package isnt installed
ab8a7f5
hovercats  ·  2026-02-14
another status reset
f609854
hovercats  ·  2026-02-14
support local files under files/ dir
aa7ad0c
hovercats  ·  2026-02-13
chksum_pkg: add test for .submodule file if no sha256 file exists
55b2c81
hovercats  ·  2026-02-13
dl_pkg: reset status in url test. rc seems to exit here prematurly without an exit code. this bypasses this
93cb0e2
hovercats  ·  2026-02-13
test if url exists before unpacking
014e522
hovercats  ·  2026-02-13
dont use --quiet on submodules
3b64c24
hovercats  ·  2026-02-13
update README
fa39a40
hovercats  ·  2026-02-13
add missing flags in rcpm_help
f46c960
hovercats  ·  2026-02-13
put curlybrace in the right place in rcpm_help
a5b945a
hovercats  ·  2026-02-12
use curl --skip-existing instead of elaborate tests in dl_pkg
feddc6c
hovercats  ·  2026-02-12
remove comment
79665df
hovercats  ·  2026-02-12
accedently removed unpack_pkg call in build_pkg
9b1e966
hovercats  ·  2026-02-12
put fetch_git into dl_pkg, as we only need to run it from here
46b5568
hovercats  ·  2026-02-12
remove redundant call for git_fetch function
2d37ae2
hovercats  ·  2026-02-12
improve how we fetch/reset submodules. submodules wasnt being properly reset and could potentially give us a dirty worktree when rebuilding.
cb58252
hovercats  ·  2026-02-12
clean up some curlybraces usage
4d61ea0
hovercats  ·  2026-02-10
Skip using config file, as its not really needed when rcpm only relies on a handfull of variables.
instead do a proper check for these internally
bbd07c2
hovercats  ·  2025-06-05
print `Warning` aswell if sha256 file is missing
9447710
hovercats  ·  2025-06-05
rename die function to errexit
96aecd0
hovercats  ·  2025-06-05
connect printing and unpacking together, so that we dont print about installtion being successfull, regardless of wether tarball exists

this will do untill I write a better solution
d1d249f
hovercats  ·  2025-06-05
create new functions for error messages and regular messages. this also subsequently gets rid of usage of echo, which is what I wanted
83d251f
hovercats  ·  2025-06-05
use printf instead of echo when writing version file
a8fdd0e
hovercats  ·  2025-06-05
use a switch for number of arguments instead when running `l` flag
335fcb2
hovercats  ·  2025-06-05
fix spacing
a542237
hovercats  ·  2025-06-04
print a message on successfull installation
69b1737
hovercats  ·  2025-06-04
check if a prebuilt tarball exist before attempting to build when updating
ab7f16a
hovercats  ·  2025-06-04
make function names more consistent
92fedc8
hovercats  ·  2025-06-04
dont loop when using `m` flag. its unlikely that a user wants to print multiple manifests simultaneously anyway.
in this unlikely event, users can just loop manually instead
d60f96b
hovercats  ·  2025-06-04
update README to reflect last commit
fb544a1
hovercats  ·  2025-06-04
add `u` flag for updating packages out-of-date packages. | couple minor adjustments
a6471ba
hovercats  ·  2025-06-02
add status list into README
505ee90
hovercats  ·  2025-05-23
add `r` flag for package removal
bae9d57
hovercats  ·  2025-05-23
run git clean when we build a package using git submodule to start fresh every time
c593c1a
hovercats  ·  2025-05-23
error out properly if sha256 file isnt found in chksum_pkg
04304e8
hovercats  ·  2025-05-23
do some better error handling when downloading
1e003c6
hovercats  ·  2025-05-23
put the for loop outside of pkg_build function like the rest
c5d3b20
hovercats  ·  2025-05-23
sort manifests in reverse order
582d5e3
hovercats  ·  2025-05-23
dont put manifest/ver under installed dir. just use $RCPM_DB/$pkg alone
d4ced9b
hovercats  ·  2025-05-23
add `m` flag to help function
8e7d87a
hovercats  ·  2025-05-23
add `l` flag to help function
3ddd504
hovercats  ·  2025-05-23
specify .tar.$tool instead of just the last extension. if a filename is just .gz, not tar.gz, users would have to use fetch.rc instead to unpack
4d86c17
Cats that hovers  ·  2025-05-22
check for fetch.rc when we unpack tarballs and use that instead, if present.

there will be some usecases where users want tarballs extracted in some specific way, that falls outside of the scope of the default behavior. this will work as a fallback in these cases.
6e5ce29
Cats that hovers  ·  2025-05-22
correct tool variable for bzip2
2e94bb3
hovercats  ·  2025-05-22
list all installed packages if `l` is ran without args
f564e5c
hovercats  ·  2025-05-22
add Makefile for easy installation
ce0e1c2
hovercats  ·  2025-05-22
add global config instead of having configs inside script
8d16976
hovercats  ·  2025-05-22
add option to list pkg version
c78f117
hovercats  ·  2025-05-22
remove empty line in manifests
186c1a1
hovercats  ·  2025-05-22
add option to print pkg manifest
3087b6a
hovercats  ·  2025-05-22
include manifest and ver in tarballs
c6597ef
hovercats  ·  2025-05-22
go back on `*` in packup_pkg. instead remove leading `./` and trailing `/` when generating manifest.
7498c81
hovercats  ·  2025-05-22
generate manifest after installing package | run mkdir for missing RCPM_DB under gen_manifest
8432c18
hovercats  ·  2025-05-22
remove some info in README, will add more info later once things are more in a more complete state
98e6ac9
hovercats  ·  2025-05-22
add `i` flag to help function
45f746d
hovercats  ·  2025-05-22
remove leftover doas
f283339
hovercats  ·  2025-05-22
nullify status if tarball exists to avoid an early exit. rc seems picky about this specific scenario
f74ae30
hovercats  ·  2025-05-22
use correct variable in check_pkgbuilt
4df70d2
hovercats  ·  2025-05-22
run get_ver in packup_pkg where its needed, and not in pkg_build
71e6074
hovercats  ·  2025-05-22
use full path when finding version | fetch version before finding tarball | add pkg_install into `i` flag
e52d3d0
hovercats  ·  2025-05-22
have RCPM_DB be inside RCPM_ROOT | fix a use echo instead of printf in an instance | run check_pkgbuilt on pkg_install before attempting to unpack
441e8b5
hovercats  ·  2025-05-22
remove git commands. theres probably better ways of achieving what we want here
667e321
hovercats  ·  2025-05-22
change var name for ROOTFS_REPO
37ec070
hovercats  ·  2025-05-22
use * instead of . when packing up. this removes leading . and ./ on dirs when listing content of tarball
4379458
hovercats  ·  2025-05-22
add gen_manifest function for later
78f85ca
hovercats  ·  2025-05-21
improve chksum_pkg and dl_pkg functions.
properly check if file is present before downloading.
also no longer checksums twice if tarball is present
3714ba6
hovercats  ·  2025-05-20
init