Riyyi
|
9b87ad7f1d
|
CMake: version 3.16 doesn't support the rm command
|
3 years ago |
Riyyi
|
ef1fce060a
|
Manager: Drop 'sudo' package dependency
|
3 years ago |
Riyyi
|
439f39218b
|
Manager: Drop 'cat' package dependency
|
3 years ago |
Riyyi
|
7672180eb7
|
Manager: Handle package list errors
|
3 years ago |
Riyyi
|
3a10ca3d59
|
Manager: Drop 'which' package dependency
|
3 years ago |
Riyyi
|
18da83e7bb
|
Manager: Implement AUR helper detection
|
3 years ago |
Riyyi
|
4bf7b3d38f
|
Manager: Put machine information fetching in separate functions
|
3 years ago |
Riyyi
|
5f023e579a
|
Manager: Enable flag for -git AUR package installation
|
3 years ago |
Riyyi
|
50c98b1482
|
Manager: Implement package installation
|
3 years ago |
Riyyi
|
42b34aad61
|
Manager: Create package list file if non-existent
|
3 years ago |
Riyyi
|
592ee124cb
|
Manager: Do not print debugging output on release mode
|
3 years ago |
Riyyi
|
8cb2affc50
|
Manager: Clean up main.cpp
|
3 years ago |
Riyyi
|
9656760ef8
|
Test: Move unit tests into separate directory
|
3 years ago |
Riyyi
|
5147721fb5
|
Meta: Fix typo in README.org
|
3 years ago |
Riyyi
|
25905594a2
|
Meta: Add build instructions and basic usage to README.org
|
3 years ago |
Riyyi
|
d4ef69451e
|
CMake: Rename project stowage => manafiles
|
3 years ago |
Riyyi
|
aad44f95ff
|
CMake: Add uninstall target
|
3 years ago |
Riyyi
|
bbed6acee9
|
CMake+Doc: Add man page and its installation
|
3 years ago |
Riyyi
|
3c1f55768f
|
CMake: Add installation of the program binary
|
3 years ago |
Riyyi
|
688ae78fd3
|
CMake: Put the run target in the targets section
|
3 years ago |
Riyyi
|
d8a752ac83
|
CMake: Improve build type detection
|
3 years ago |
Riyyi
|
49448de932
|
CMake: Reorganize root file
|
3 years ago |
Riyyi
|
401a70fbd7
|
CMake: Version 2.4 and below should fail instead of giving a warning
|
3 years ago |
Riyyi
|
9ace822a46
|
CMake: Define language in project targets, dedup CXX settings
|
3 years ago |
Riyyi
|
c4019cde11
|
Test: Add test case for selectively commenting
|
3 years ago |
Riyyi
|
91f8253ed5
|
Test: Update verify macro to support a custom result behavior
|
3 years ago |
Riyyi
|
b9aff29293
|
Test: Convert homeDirectory std::string => std::filesystem::path
|
3 years ago |
Riyyi
|
1a9b0d870a
|
Test: Properly test adding non-existing dotfiles
|
3 years ago |
Riyyi
|
c61aefa2e3
|
Test: Add dotfile test case for path exclusion
|
3 years ago |
Riyyi
|
4fd90cfa43
|
Test: Only compute process ID once
|
3 years ago |
Riyyi
|
e2f9ed1176
|
Test: Fix file permissions for system file tests
|
3 years ago |
Riyyi
|
422f71f19e
|
Test: Add system file test cases
|
3 years ago |
Riyyi
|
ff92522b8c
|
Test: Add stderr stream pointer to the test suite
|
3 years ago |
Riyyi
|
b961e17b50
|
Test: Set ownership of created dotfile test files to the current user
|
3 years ago |
Riyyi
|
eb4822b44b
|
Test: Add macro that bails function if the condition fails
|
3 years ago |
Riyyi
|
82f38345d1
|
Manager: Fix system target detection in working directory
|
3 years ago |
Riyyi
|
1b4de8fb5d
|
Manager: Run clang-format
|
3 years ago |
Riyyi
|
4da262a8fe
|
Manager: Add working directory getter
|
3 years ago |
Riyyi
|
c032373940
|
Manager: Add verbose flag and store it in new Config class
Check the verbosity in the Dotfile class when printing file operations.
|
3 years ago |
Riyyi
|
5ec1272172
|
Manager: Set process group ID before user ID
setegid() needs to be called before seteuid(); otherwise, the setegid()
call will fail because the process no longer has root privileges.
|
3 years ago |
Riyyi
|
7856e9017c
|
Test: Add dotfile test cases
|
3 years ago |
Riyyi
|
8c8eb01d18
|
CMake: Compile all sources for the test suite binary
|
3 years ago |
Riyyi
|
5d5c37a496
|
Manager: Detect system files correctly during add and pull operations
|
3 years ago |
Riyyi
|
d7ff637fd0
|
Manager: Convert dotfile class to singleton
|
3 years ago |
Riyyi
|
54dc515def
|
Util: Make file append const reference
|
3 years ago |
Riyyi
|
817b898b28
|
Test: Fix memory leak when adding a test case
|
3 years ago |
Riyyi
|
a8e73063ee
|
Util: Add file create function
|
3 years ago |
Riyyi
|
abbf764a3e
|
Manager: Add feature to selectively comment and uncomment
|
3 years ago |
Riyyi
|
7f8ca38462
|
Manager: Use constructor over auto
|
3 years ago |
Riyyi
|
7be7440840
|
Manager: Deduplicate code between pulling and pushing functions
|
3 years ago |