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 |
Riyyi
|
80642793a6
|
Manager: Fix directory creation in the dotfile directory
|
3 years ago |
Riyyi
|
bf02122d2d
|
Manager: Cut off working directory from error message
|
3 years ago |
Riyyi
|
50c859fd34
|
Manager: Fix system target detection
|
3 years ago |
Riyyi
|
5cca591448
|
Manager: Rename paths -> indices where applicable
|
3 years ago |
Riyyi
|
7004ce2bb0
|
CMake: Pass the C++ language standard to the compiler
|
3 years ago |
Riyyi
|
bc3fc6c345
|
Manager: Put machine specific values in a separate class
|
3 years ago |
Riyyi
|
26826bc077
|
Manager: Update main for current functionality
|
3 years ago |
Riyyi
|
aa702b79b9
|
Manager: Move package list grabbing to separate function
|
3 years ago |
Riyyi
|
ac862982da
|
Doc: Update readme
|
3 years ago |
Riyyi
|
d9f95f5332
|
Manager: Add fixme to user getlogin()
|
3 years ago |
Riyyi
|
2af81120c3
|
Manager: Implement convenience functions in Package
|
3 years ago |
Riyyi
|
a04b5232f4
|
Util: Add delimiter support to the cut function
|
3 years ago |
Riyyi
|
22082a515b
|
Util: Add convenience functions to save external process creation
|
3 years ago |
Riyyi
|
be552db0fb
|
Manager: Start working on package tracking
|
3 years ago |
Riyyi
|
418b453507
|
Util: Add file class
|
3 years ago |
Riyyi
|
ee451671cd
|
Util: Fix reading of file descriptors longer than 4096 bytes
|
3 years ago |
Riyyi
|
9ff368e511
|
Manager: Remove Dotfile from namespace
|
3 years ago |
Riyyi
|
5226e6a24a
|
Manager: Add file pushing function
|
3 years ago |
Riyyi
|
34e0dc72ec
|
Manager: Don't need to do a full capture
|
3 years ago |
Riyyi
|
e6842f58d8
|
Manager: Remove non-related parameter from callback
|
3 years ago |
Riyyi
|
c14db5bd46
|
Manager: Rename files to paths
|
3 years ago |