Riyyi
|
4cac25b5b3
|
Manager: Change match() path argument type
Changed the path argument from directory_iterator to string, as nothing
in this function relied on the functionality.
|
3 years ago |
Riyyi
|
f4fe44ad02
|
Manager: Run clang-format
|
3 years ago |
Riyyi
|
db22cc9f06
|
Manager: Add new pattern logic to system config files
|
3 years ago |
Riyyi
|
3b4ea3f42d
|
Manager: Rename filter() -> match()
The function returns true on a pattern match, so reflect this in the
name.
|
3 years ago |
Riyyi
|
37be9506c8
|
Manager: Rename pattern and iterator variables
ignorePattern -> pattern
ignoreIterator -> patternIterator
|
3 years ago |
Riyyi
|
ed13b1f6b5
|
Manager: Add new pattern logic to pulling/pushing targets
|
3 years ago |
Riyyi
|
6f1f1c3fe7
|
Everywhere: Rename "excludePath" to "ignorePattern"
|
3 years ago |
Riyyi
|
b37a8087e9
|
Everywhere: Change exclude path configuration formatting
|
3 years ago |
Riyyi
|
4ff3092b2f
|
Manager: Move the dotfile filter function
|
3 years ago |
Riyyi
|
832816a87e
|
Test: Add exclude path test cases for the new /.gitignore*/ logic
|
3 years ago |
Riyyi
|
7f1558bc64
|
Manager: Change exclude path logic to /.gitignore*/ style
|
3 years ago |
Riyyi
|
3ed700863a
|
Manager: Fix symbolic link pulling and pushing
|
3 years ago |
Riyyi
|
06042588ee
|
Manager: Create directories for holding symlinks when pushing/pulling
|
3 years ago |
Riyyi
|
8ccdd907fc
|
Manager: Add support for C-style comments when pushing dotfiles
|
3 years ago |
Riyyi
|
272c728e13
|
Manager: Use early-exit return style to decrease nesting
|
3 years ago |
Riyyi
|
b10711686f
|
Manager: Remove unused variable
|
3 years ago |
Riyyi
|
644255200e
|
Meta+CMake: Convert JSON library from git submodule to system package
|
3 years ago |
Riyyi
|
91df37328e
|
Manager: Update headers
|
3 years ago |
Riyyi
|
16947b93e2
|
Manager+Test: Move exclude paths and system directories to config
|
3 years ago |
Riyyi
|
da91c4b3fd
|
Manager: Add config file parsing
|
3 years ago |
Riyyi
|
c853dfcf24
|
Manager: Search config file recursively from the working directory
|
3 years ago |
Riyyi
|
12c11cff9e
|
Manager: Move working directory to the config class
|
3 years ago |
Riyyi
|
e5cce5f3a9
|
Manager: Convert package class to singleton
|
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
|
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
|
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
|
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 |