gcrud - A Gentoo maintenance tool
Abandoned
Abandoned in favour of portage-lostfiles.
How to use
git clone ...
cd gcrud
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles'
make
sudo ./gcrud | sort -u > out.log
View out.log
and check out things you might be able to remove. The whitelist is a work in progress. See whitelist.c
’s whitelist_check()
function.
Contributing
- Fork.
- Make a new branch.
- Make changes.
- Build in debug mode:
cmake .. -DCMAKE_BUILD_TYPE=Debug -G 'Unix Makefiles' && make
- Test!
- Before submitting, run:
./check-leaks.sh
to check for memory leaks (requires Valgrind) andclang-format -i *.h *.c
(requires Clang).