sleek
sleek copied to clipboard
Provide some minimal `git` integration
Did you check if a similar feature request has already been reported?
Checked, not reported
Is your feature request related to a problem? Please describe.
Keeping old versions of the tasks (in case some task is accidentally deleted), easing synchronization of tasks among multiple computers.
Describe the solution you'd like
todo.txt
files are line based text files. This is the ideal format for taking diffs and for storing in a revision control system, such as git
. Would be great to have some form of git
integration modeled after what is offered in the pass password manager (https://www.passwordstore.org/) and its QtPass frontend (https://github.com/IJHack/QtPass).
This would work as follows:
- When
sleek
realizes that a configured todo file is in a directory undergit
control (i.e., with a.git
subdir) and thatgit
is available, activategit
integration - When
git
integration is active if a todo file in a directory under revision control is modified, perform a commit in that dir. Alternatively, provide a commit button for the user to manually commit the file being worked upon togit
- Provide a pull and a push button, resulting in
git pull
andgit push
.
+1
Currently the work around I have been doing is manual. I just go to the directory, git add .
and then commit the changes. This would reduce my need to remember to do that.
This is an automated response. We acknowledge your report, and we appreciate your engagement. However, as there has been no recent activity in this thread, it has been marked as stale. If you have any further feedback or if the matter is still relevant, please do not hesitate to respond. Otherwise, this thread will be automatically closed in 15 days from now.
Unclear to me whether this will automatically be closed also in the sleek 2.x backlog. Please, keep it open there.
Your comment should be enough to keep it open.
At least for Unix-like systems, an easy solution is to use https://github.com/gitwatch/gitwatch. Haven't tested, but it should also work with Cygwin/WSL/Git Bash/etc.
This script https://bitbucket.org/brendanp/git-prime/src/master/ is reported to work under Cygwin.
And if one uses Syncthing, it can be quickly configured to keep a bunch of backups (might be enough in many cases -- and this is what I'm using right now.)
This is an automated response. We acknowledge your report, and we appreciate your engagement. However, as there has been no recent activity in this thread, it has been marked as stale. If you have any further feedback or if the matter is still relevant, please do not hesitate to respond. Otherwise, this thread will be automatically closed in 15 days from now.