magic-folders should understand a .magic-folder-ignore file #2906

Closed
opened 2018-03-16 22:42:35 +00:00 by meejah · 4 comments
Owner

There are often files you don't want to be synced in a particular folder, like emacs backup files.

There are often files you *don't* want to be synced in a particular folder, like emacs backup files.
meejah added the
code-frontend-magic-folder
normal
defect
1.12.1
labels 2018-03-16 22:42:35 +00:00
meejah added this to the undecided milestone 2018-03-16 22:42:35 +00:00
meejah added
enhancement
and removed
defect
labels 2018-03-16 22:42:54 +00:00
Author
Owner

Further discussion:

  • it was suggested that this could be a ".magic_folder/ignore" sort of thing (i.e. a directory) but then also we already have a .yaml file holding all magic-folders' config
  • is ".magicfolderignore" pattern common (or used at all) on OS X or Windows?

To me, it makes sense to sync this file. exarkun also noted that maybe the concept of "global" config makes sense. This points more towards "keep the information in a file IN the magic-folder" instead of "in the YAML file".

Cypher pointed out there other use-cases he'd like, for example putting avatars for other participants in here (to display in a GUI for example).

Further discussion: - it was suggested that this could be a ".magic_folder/ignore" sort of thing (i.e. a directory) but then also we already have a .yaml file holding all magic-folders' config - is ".magicfolderignore" pattern common (or used at all) on OS X or Windows? To me, it makes sense to sync this file. exarkun also noted that maybe the concept of "global" config makes sense. This points more towards "keep the information in a file IN the magic-folder" instead of "in the YAML file". Cypher pointed out there other use-cases he'd like, for example putting avatars for other participants in here (to display in a GUI for example).
Author
Owner

Ignore "where should the data be stored", it probably makes sense to have commands to manipulate it?

tahoe magic-folder add-ignore '*~'

tahoe magic-folder remove-ignore '*~'

Ignore "where should the data be stored", it probably makes sense to have commands to manipulate it? `tahoe magic-folder add-ignore '*~'` `tahoe magic-folder remove-ignore '*~'`

Related/previous ticket: #2883

Related/previous ticket: #2883
Duplicate of [/tahoe-lafs/trac-2024-07-25/issues/7697](/tahoe-lafs/trac-2024-07-25/issues/7697)
exarkun added the
duplicate
label 2020-01-21 20:30:57 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2906
No description provided.