Commit Graph
29 Commits
Author SHA1 Message Date
Riyyi 4927e35bfc Manager: Switch from Util to the ruc library 2022-09-13 11:08:47 +02:00
Riyyi b574a79dfe Manager+Util: Change enum class type from int to uint8_t (4 -> 1 byte) 2022-07-28 10:57:41 +02:00
Riyyi 8345f67c50 Everywhere: Switch to #pragma once, add missing copyright headers 2022-07-22 13:04:04 +02:00
Riyyi 0e966a6408 Manager: Fix error message when copying files unprivileged 2022-03-23 23:16:25 +01:00
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.
2022-03-08 00:18:04 +01:00
Riyyi db22cc9f06 Manager: Add new pattern logic to system config files 2022-03-08 00:06:01 +01:00
Riyyi 3b4ea3f42d Manager: Rename filter() -> match()
The function returns true on a pattern match, so reflect this in the
name.
2022-03-08 00:06:01 +01:00
Riyyi ed13b1f6b5 Manager: Add new pattern logic to pulling/pushing targets 2022-03-08 00:05:54 +01:00
Riyyi 832816a87e Test: Add exclude path test cases for the new /.gitignore*/ logic 2022-03-06 16:35:57 +01:00
Riyyi 7f1558bc64 Manager: Change exclude path logic to /.gitignore*/ style 2022-03-06 14:48:38 +01:00
Riyyi 16947b93e2 Manager+Test: Move exclude paths and system directories to config 2022-02-08 23:39:12 +01:00
Riyyi 12c11cff9e Manager: Move working directory to the config class 2022-02-07 21:26:50 +01:00
Riyyi 4da262a8fe Manager: Add working directory getter 2022-01-24 01:03:30 +01:00
Riyyi d7ff637fd0 Manager: Convert dotfile class to singleton 2022-01-24 00:29:50 +01:00
Riyyi abbf764a3e Manager: Add feature to selectively comment and uncomment 2022-01-24 00:29:50 +01:00
Riyyi 7be7440840 Manager: Deduplicate code between pulling and pushing functions 2022-01-24 00:29:50 +01:00
Riyyi 50c859fd34 Manager: Fix system target detection 2022-01-24 00:29:50 +01:00
Riyyi 9ff368e511 Manager: Remove Dotfile from namespace 2021-09-24 11:08:50 +02:00
Riyyi 5226e6a24a Manager: Add file pushing function 2021-09-23 20:09:12 +02:00
Riyyi e6842f58d8 Manager: Remove non-related parameter from callback 2021-09-23 20:00:18 +02:00
Riyyi c14db5bd46 Manager: Rename files to paths 2021-09-23 19:57:17 +02:00
Riyyi 5f2bbce080 Manager: Add file pulling function 2021-09-23 19:54:32 +02:00
Riyyi 58bf5b98ee Manager: Add function to check if file is system type 2021-09-23 17:24:17 +02:00
Riyyi e7d1515fca Manager: Add index to dotfile iteration loop 2021-09-23 16:01:19 +02:00
Riyyi e4d90bf281 Manager: Make the callable functions non-static 2021-09-23 00:40:02 +02:00
Riyyi 7920b7280e Manager: Add generic dotfile looping 2021-09-23 00:38:48 +02:00
Riyyi de4b96bd47 Manager: Add Dotfile adding function 2021-09-22 00:26:23 +02:00
Riyyi f8ccfe79b8 Manager: Add target filtering to Dotfile::list() 2021-09-20 18:18:31 +02:00
Riyyi 1893f08ea8 Manager: Start working on dotfile class 2021-09-20 01:00:14 +02:00