Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't hide taskbook directories #81

Open
djhworld opened this issue Aug 14, 2018 · 3 comments
Open

Don't hide taskbook directories #81

djhworld opened this issue Aug 14, 2018 · 3 comments

Comments

@djhworld
Copy link

djhworld commented Aug 14, 2018

Is your feature request related to a problem? Please describe.

Taskbook stores its metadata under ~/.taskbook/, e.g.

  • ~/.taskbook/.archive
  • ~/.taskbook/.storage

If configure my taskbook config to point to say, /Users/me/google drive/taskbook, it will create the .archive and .storage folders in there.

As they are hidden, the google drive client won't sync them

Describe the solution you'd like

Under the taskbook directory, all data within should not be hidden

e.g.

/Users/me/google_drive/taskbook/archive
/Users/me/google_drive/taskbook/storage
@rjoydip-zz
Copy link

rjoydip-zz commented Aug 14, 2018

I agree with you. Also there should be some mechanism to ziped those files and synced with google drive

@djhworld
Copy link
Author

Just looking at the state of my google drive now, I might have misrepresented the above, my taskbook.json looks like the following

{
    "taskbookDirectory": "/Users/me/google_drive/taskbook",
    "displayCompleteTasks": true,
    "displayProgressOverview": true
}

and the contents of /Users/me/google_drive/taskbook is

Projects/fftest|▶ ls -1 -a ~/google_drive/taskbook
./
../
.taskbook/
.temp/

It's the fact that taskbook creates a directory called .taskbook that is causing the issue.

@anirath
Copy link

anirath commented Dec 20, 2019

Just looking at the state of my google drive now, I might have misrepresented the above, my taskbook.json looks like the following

{
    "taskbookDirectory": "/Users/me/google_drive/taskbook",
    "displayCompleteTasks": true,
    "displayProgressOverview": true
}

and the contents of /Users/me/google_drive/taskbook is

Projects/fftest|▶ ls -1 -a ~/google_drive/taskbook
./
../
.taskbook/
.temp/

It's the fact that taskbook creates a directory called .taskbook that is causing the issue.

This! I don't understand why taskbook just creates a hidden directory, .taskbook/, that houses more hidden content. It defeats the purpose of allowing a customizable config directory in the first place. It should definitely be that if a user designates a config directory that taskbook stores the config contents in that directory without hiding them.

Perhaps, if the user wants the contents to be hidden there could be a config option for designating filenames for the config files to be stored in the designated, or default, config directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants