Commit Graph

18 Commits

Author SHA1 Message Date
138bc6d24a Update README to reflect the state of the project 2025-12-31 00:04:53 +01:00
8caba75060 Adds paths adding functionnality
Adds functions that allows adding new paths to the synchronisation.
When writing the new paths to the file if a parent directory is
synchronised all the childrens are removed.
2025-08-10 18:21:10 +02:00
b35391f1f9 Adds an Other category to the config
This creates a new optionnal category in the config called other that is
used to configure various aspects of unison.
Currently it only allows to customise the path to the cache directory
which is ~/.unisync by default
2025-07-31 11:47:44 +02:00
c5992ef19e Adds get_paths_to_sync and organise it in a class
This refactors the paths functions in a class called PathsManager
allowing to share some data like the Paths to the various directories
unisync works with.
This commit also creates the get_paths_to_sync method which simply reads
the paths file and returns its content as a list
2025-07-31 11:45:17 +02:00
837cc1bcf4 Adds mount_remote_dir
Adds the mount_remote_dir method to the synchroniser, this allows to
mount the remote directory in order to access it with the generated
links.
Also adds the background parameter to the documentation of update_links
2025-07-28 15:31:40 +02:00
87db8a0498 Adds links generation and update
Adds update_links to the synchroniser which updates the links.
It should also be able to generate links on the first run.
2025-07-27 17:46:37 +02:00
11513adf48 Improves user_select_files documentation 2025-07-25 12:02:25 +02:00
aaa4ef61d5 Adds beginning of paths management
The paths file will be used for everything related to the paths to
synchronise.
Adds the user_select_files functions that allows the user to select
paths
2025-07-24 15:59:42 +02:00
fec09b6d0b Adds comments to the dataclasses in config 2025-07-24 15:48:13 +02:00
2566458e25 Complete README 2025-07-11 23:21:41 +02:00
14eb531e4a Adds unison config and test code
This adds the possiblity to pass configuration options directly to
unison via the configuration file.
Also adds some test code to main.py
2025-07-11 00:30:05 +02:00
c980dc352a Adds a basic main file 2025-07-05 22:52:38 +02:00
1c067f83d8 Adds argparser for parsing CLI arguments 2025-07-05 22:51:14 +02:00
b29aa41d1a Adds pycache to gitignore 2025-06-29 21:07:32 +02:00
35d30f4a75 Removes test code from synchroniser 2025-06-28 10:44:26 +02:00
6ffb410a4f Adds config file reader
Adds a config file reader and dataclasses to save it using configparser
from the standard library.
2025-06-28 10:41:23 +02:00
33a6d09dba Adds licensing informations 2025-06-14 19:22:18 +02:00
96e86d5c76 First commit
Project created using poetry and some code is written
2025-06-14 16:14:28 +02:00