summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos/comment_3_b2a029fc9f4765633ef5393fe091016e._comment13
-rw-r--r--doc/git-annex-preferred-content/comment_3_73c14351e041ac5ba86f6ab21487fd12._comment7
-rw-r--r--doc/tips/playlist_fetch.mdwn29
-rw-r--r--doc/todo/batch_get__47__drop__47__etc.mdwn3
4 files changed, 52 insertions, 0 deletions
diff --git a/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos/comment_3_b2a029fc9f4765633ef5393fe091016e._comment b/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos/comment_3_b2a029fc9f4765633ef5393fe091016e._comment
new file mode 100644
index 000000000..36555e30d
--- /dev/null
+++ b/doc/bugs/direct_cripple_mode_crippled_my_other_non-crippled_repos/comment_3_b2a029fc9f4765633ef5393fe091016e._comment
@@ -0,0 +1,13 @@
+[[!comment format=mdwn
+ username="Kalle"
+ subject="Had what I believe to be the same issue"
+ date="2016-03-31T21:22:21Z"
+ content="""
+[[Podcast_filename_encoding_breaks_Android_client/]]
+
+The problem for me was that the podcatcher setup would automatically download new dangerous files and wipe all repos... My workaround in the end was to use ``--template`` to create date only filenames for podcasts. A solution I still use but it's rather inconvenient as more descriptive filenames are useful.
+
+This is quite a dangerous bug as all you need is a direct mode repo and an unusual filename for your whole annex cluster to empty itself. It can be saved by git surgery but unless being very careful you just end up syncing the bad filename back from a repo or another.
+
+
+"""]]
diff --git a/doc/git-annex-preferred-content/comment_3_73c14351e041ac5ba86f6ab21487fd12._comment b/doc/git-annex-preferred-content/comment_3_73c14351e041ac5ba86f6ab21487fd12._comment
new file mode 100644
index 000000000..c35dacb74
--- /dev/null
+++ b/doc/git-annex-preferred-content/comment_3_73c14351e041ac5ba86f6ab21487fd12._comment
@@ -0,0 +1,7 @@
+[[!comment format=mdwn
+ username="Don"
+ subject="want everything, but not old versions"
+ date="2016-03-31T18:50:55Z"
+ content="""
+I'm trying to make a custom `full` group that wants everything, but doesn't keep old versions like the `backup` group that wants `anything`. I'm using `groupwanted full = (copies=1)`--will that work? I guess the `anything` expression seems a bit magical to me, so I'm not sure how to avoid matching what it matches to collect old versions.
+"""]]
diff --git a/doc/tips/playlist_fetch.mdwn b/doc/tips/playlist_fetch.mdwn
new file mode 100644
index 000000000..1f353eb31
--- /dev/null
+++ b/doc/tips/playlist_fetch.mdwn
@@ -0,0 +1,29 @@
+I have made a small script to fetch a specific set of songs from a
+playlist. It just iterates through a [M3U][] playlist and makes sure
+that git-annex has a copy of every file in the list.
+
+Sample run:
+
+ [1041]anarcat@angela:Music1$ ~/bin/get-playlist -p1 -v ~/playlists/Favoris.m3u
+ git-annex: Bach/Unknown Album/Concerto for 2 Violins in D.mp3 not found
+ git-annex: get: 1 failed
+ git annex failed to get Bach/Unknown Album/Concerto for 2 Violins in D.mp3 (originally espresso/Bach/Unknown Album/Concerto for 2 Violins in D.mp3)
+ get Groovy Aardvark/Oryctérope/05 - Téléthargique.flac (from marcos...)
+ SHA256E-s26735079--13c04501b9c6fa5ddda02438484d569f4d3d9b1f0bcdd8740f3b927ab756c968.flac
+ 26,735,079 100% 10.00MB/s 0:00:02 (xfr#1, to-chk=0/1)
+ (checksum...) ok
+ Groovy Aardvark/Oryctérope/05 - Téléthargique.flac
+ [...]
+ merge git-annex ok
+
+I use this to synchronize specific playlists to my phone, instead of
+the whole music collection, because of the limited space of the
+device.
+
+The source is AGPL and available in my
+[personal git repository][]. Unfortunately, it is written in Python
+and can probably not be merged into git-annex, but since it is so
+specific, I figured it wouldn't be anyways. -- [[anarcat]]
+
+[personal git repository]: http://src.anarc.at/scripts.git/blob_plain/HEAD:/get-playlist
+[M3U]: https://en.wikipedia.org/wiki/M3U
diff --git a/doc/todo/batch_get__47__drop__47__etc.mdwn b/doc/todo/batch_get__47__drop__47__etc.mdwn
new file mode 100644
index 000000000..25da67c96
--- /dev/null
+++ b/doc/todo/batch_get__47__drop__47__etc.mdwn
@@ -0,0 +1,3 @@
+in the spirit of [[todo/--batch_for_add/]], [[todo/--batch_for_info/]], [[todo/--batch_for_find/]] and [[todo/--batch_for_whereis/]], why not add `--batch` to get/drop/import operations?
+
+I am writing a script to get a bunch of arbitrary files and i want to avoid the overhead of running git-annex multiple times. I know i can use `annex.alwayscommit=false` but that is rather counter-intuitive as well. --[[anarcat]]