open todo
authorJoey Hess <joeyh@joeyh.name>
Thu, 18 Jan 2024 17:11:28 +0000 (13:11 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 18 Jan 2024 17:11:28 +0000 (13:11 -0400)
doc/forum/Is_there_a_way_to_have_assistant_add_files_locked__63__/comment_9_7fcc62493d261c22149f85f48bb95efc._comment [new file with mode: 0644]
doc/todo/allow_configuring_assistant_to_add_files_locked.mdwn [new file with mode: 0644]

diff --git a/doc/forum/Is_there_a_way_to_have_assistant_add_files_locked__63__/comment_9_7fcc62493d261c22149f85f48bb95efc._comment b/doc/forum/Is_there_a_way_to_have_assistant_add_files_locked__63__/comment_9_7fcc62493d261c22149f85f48bb95efc._comment
new file mode 100644 (file)
index 0000000..87f4262
--- /dev/null
@@ -0,0 +1,13 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 9"""
+ date="2024-01-18T17:08:57Z"
+ content="""
+That seems like a resonable use case to me,
+I've opened a todo
+[[todo/allow_configuring_assistant_to_add_files_locked]].
+
+I have not revisited looking at how hard it would be to
+implement such a config option. @yarikoptic if you're 
+needing this for ReproNim I could prioritize doing that.
+"""]]
diff --git a/doc/todo/allow_configuring_assistant_to_add_files_locked.mdwn b/doc/todo/allow_configuring_assistant_to_add_files_locked.mdwn
new file mode 100644 (file)
index 0000000..00c6776
--- /dev/null
@@ -0,0 +1,12 @@
+The assistant adds files unlocked, even when git-annex is otherwise
+configured to add them locked.
+
+There are good reasons for that different behavior to be the default,
+but it would be worth having a config to override that.
+
+Eg, when annex.assistant.honor.addunlocked is set, honor the
+annex.addunlocked configuration, which defaults to adding files locked.
+Or perhaps a better name would be annex.assistant.allowaddlocked.
+
+See here for some motivating use cases
+<https://git-annex.branchable.com/forum/Is_there_a_way_to_have_assistant_add_files_locked__63__/>