From 8f9f0a00b51afae99679d6acb4063f69a47f1836 Mon Sep 17 00:00:00 2001 From: "https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574" Date: Sat, 4 Apr 2015 04:13:48 +0000 Subject: [PATCH 1/5] Added a comment: Yes and no... --- ..._f221717814f62e0779d691d2f601ab12._comment | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/forum/Using_git-annex_to_manage_git_repositories/comment_1_f221717814f62e0779d691d2f601ab12._comment diff --git a/doc/forum/Using_git-annex_to_manage_git_repositories/comment_1_f221717814f62e0779d691d2f601ab12._comment b/doc/forum/Using_git-annex_to_manage_git_repositories/comment_1_f221717814f62e0779d691d2f601ab12._comment new file mode 100644 index 0000000000..593496b630 --- /dev/null +++ b/doc/forum/Using_git-annex_to_manage_git_repositories/comment_1_f221717814f62e0779d691d2f601ab12._comment @@ -0,0 +1,27 @@ +[[!comment format=mdwn + username="https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574" + nickname="Mica" + subject="Yes and no..." + date="2015-04-04T04:13:48Z" + content=""" + +> I am interested in using git-annex to manage git repositories, and I am wondering if it is possible and if anyone has experience with it? + +That is not what git-annex is for. git-annex adds large file support to git. + +> I have done some searching, and I know that many people have asked for support for a Dropbox-like workflow, where Git repositories are mirrored everywhere. + +The git-annex assistant will automatically sync your files for you. It is similar to dropbox but not entirely the same. + +> I also know that no such support seems forthcoming, however this is not my goal. + +I don't know what would give you that idea, the git-annex assistant has already been released. + +> Rather, I would like to use git-annex to track the location of many repositories. I keep a lot of repositories and would like to offload them onto other storage devices and keep track of where each repository is stored. + +git-annex is not the right tool for that. Maybe you want something like myrepos, which is always written by Joey. + +> Perhaps entire Git repositories can be added as a single unit for tracking in git-annex? + +Seems unlikely as it is out of scope for git-annex. +"""]] From d50a475a8bd4bae96df27e0c6caa4daac48c40ae Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawl6rte43qSRK1o2zn7Ww4Z8pgBmJm8gDrc" Date: Sat, 4 Apr 2015 07:34:58 +0000 Subject: [PATCH 2/5] Added a comment --- ..._13995d4f1142a393ff977859b86497b4._comment | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/bugs/feature_request:_pubkey-only_encryption_mode/comment_2_13995d4f1142a393ff977859b86497b4._comment diff --git a/doc/bugs/feature_request:_pubkey-only_encryption_mode/comment_2_13995d4f1142a393ff977859b86497b4._comment b/doc/bugs/feature_request:_pubkey-only_encryption_mode/comment_2_13995d4f1142a393ff977859b86497b4._comment new file mode 100644 index 0000000000..88a45312dd --- /dev/null +++ b/doc/bugs/feature_request:_pubkey-only_encryption_mode/comment_2_13995d4f1142a393ff977859b86497b4._comment @@ -0,0 +1,24 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawl6rte43qSRK1o2zn7Ww4Z8pgBmJm8gDrc" + nickname="Rickard" + subject="comment 2" + date="2015-04-04T07:34:58Z" + content=""" +> The contents of files are also encrypted using your gpg private key + +I assume you meant to say gpg *public* key here? + +You're correct in that I can publish the symmetric HMAC key unencrypted with no bad effects for me. I've searched the documents but haven't found a way to tell git-annex to use a specific, unencrypted, symmetric key for HMAC, though. Is there a way? + +> So, I see no benefit to the suggested mode. + +I don't understand the reasoning that made you come to this conclusion. + +Let me restate my use case: + +With only the public part of a gpg key id available to a user, I would like that user to be able to add files to a git-annex repository. The user should then be able to copy the files encrypted to remotes that support encryption (S3 etc). The user should not be able to fetch or verify files from the encrypted remotes (since she lacks the private gpg key). The remote would be write-only for the user, basically. However, a friend of the user, posessing the private key (and having access to the remote), should be able to use the remote just like a normal git-annex remote. + +This is the normal way of using gpg for asymmetric encryption of files. I would find it useful to be able to use git-annex in a similar way. As far as I can understand, only the encrypted HMAC key is stopping me from using git-annex in this way. + +However, there might be other things in git-annex' design that would make it difficult or even impossible to implement this functionality. It could also be the case that there's no benefit to adding this functionality to git-annex because there is some other (simpler) way to achieve the same thing. Both these cases are perfectly acceptable, but I would then be interested in knowing a bit more details. +"""]] From 6428fa1e0b34861f5d00e5cbe28120fdb00fcf2c Mon Sep 17 00:00:00 2001 From: mac Date: Sat, 4 Apr 2015 20:39:57 +0000 Subject: [PATCH 3/5] Added a comment: importfeeds with file based rss contents --- ..._702485502153e0d0758919648c0e528b._comment | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 doc/tips/downloading_podcasts/comment_25_702485502153e0d0758919648c0e528b._comment diff --git a/doc/tips/downloading_podcasts/comment_25_702485502153e0d0758919648c0e528b._comment b/doc/tips/downloading_podcasts/comment_25_702485502153e0d0758919648c0e528b._comment new file mode 100644 index 0000000000..90a1b8b9a6 --- /dev/null +++ b/doc/tips/downloading_podcasts/comment_25_702485502153e0d0758919648c0e528b._comment @@ -0,0 +1,34 @@ +[[!comment format=mdwn + username="mac" + subject="importfeeds with file based rss contents" + date="2015-04-04T20:39:57Z" + content=""" +Hi, + +I've a script which generates .rss files which reference local files with the file:// scheme. I can import the file:// urls with git annex addurl, but it fails with git annex importfeed: + + +`$ git annex importfeed --fast file:///path/to/local/rss/file.rss` + +`(checking known urls...)` + +`importfeed file:///path/to/local/rss/file.rss` + +`git-annex: /tmp/feed6757: openFile: resource busy (file is locked)` + +If I try to import it with `$ git annex importfeed --fast /path/to/local/rss/file.rss` I get +`importfeed /home/mac/rss/Gotham.rss ` + +` warning: bad feed content` + +`ok` + +But the directory stays empty. + + +Is it possible to use local files in rss format with items which reference local files using the file:// scheme as input for importfeed? + +Cheers, +Marco + +"""]] From ada2f6b1f9b317ee31828bba31901c0dbf49038c Mon Sep 17 00:00:00 2001 From: mac Date: Sat, 4 Apr 2015 20:42:03 +0000 Subject: [PATCH 4/5] removed --- ..._702485502153e0d0758919648c0e528b._comment | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 doc/tips/downloading_podcasts/comment_25_702485502153e0d0758919648c0e528b._comment diff --git a/doc/tips/downloading_podcasts/comment_25_702485502153e0d0758919648c0e528b._comment b/doc/tips/downloading_podcasts/comment_25_702485502153e0d0758919648c0e528b._comment deleted file mode 100644 index 90a1b8b9a6..0000000000 --- a/doc/tips/downloading_podcasts/comment_25_702485502153e0d0758919648c0e528b._comment +++ /dev/null @@ -1,34 +0,0 @@ -[[!comment format=mdwn - username="mac" - subject="importfeeds with file based rss contents" - date="2015-04-04T20:39:57Z" - content=""" -Hi, - -I've a script which generates .rss files which reference local files with the file:// scheme. I can import the file:// urls with git annex addurl, but it fails with git annex importfeed: - - -`$ git annex importfeed --fast file:///path/to/local/rss/file.rss` - -`(checking known urls...)` - -`importfeed file:///path/to/local/rss/file.rss` - -`git-annex: /tmp/feed6757: openFile: resource busy (file is locked)` - -If I try to import it with `$ git annex importfeed --fast /path/to/local/rss/file.rss` I get -`importfeed /home/mac/rss/Gotham.rss ` - -` warning: bad feed content` - -`ok` - -But the directory stays empty. - - -Is it possible to use local files in rss format with items which reference local files using the file:// scheme as input for importfeed? - -Cheers, -Marco - -"""]] From 9fe7198359b1a4821c82f27c4dbea5d22bd98c4b Mon Sep 17 00:00:00 2001 From: mac Date: Sat, 4 Apr 2015 20:42:27 +0000 Subject: [PATCH 5/5] Added a comment: importfeeds with file based rss contents --- ..._aedc6a33796bfed2896b49ff70324095._comment | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/tips/downloading_podcasts/comment_25_aedc6a33796bfed2896b49ff70324095._comment diff --git a/doc/tips/downloading_podcasts/comment_25_aedc6a33796bfed2896b49ff70324095._comment b/doc/tips/downloading_podcasts/comment_25_aedc6a33796bfed2896b49ff70324095._comment new file mode 100644 index 0000000000..f24efd4422 --- /dev/null +++ b/doc/tips/downloading_podcasts/comment_25_aedc6a33796bfed2896b49ff70324095._comment @@ -0,0 +1,35 @@ +[[!comment format=mdwn + username="mac" + subject="importfeeds with file based rss contents" + date="2015-04-04T20:42:27Z" + content=""" +Hi, + +I've a script which generates .rss files which reference local files with the file:// scheme. I can import the file:// urls with git annex addurl, but it fails with git annex importfeed: + + +`$ git annex importfeed --fast file:///path/to/local/rss/file.rss` + +`(checking known urls...)` + +`importfeed file:///path/to/local/rss/file.rss` + +`git-annex: /tmp/feed6757: openFile: resource busy (file is locked)` + +If I try to import it with `$ git annex importfeed --fast /path/to/local/rss/file.rss` I get + +`importfeed /path/to/local/rss/file.rss` + +` warning: bad feed content` + +`ok` + +But the directory stays empty. + + +Is it possible to use local files in rss format with items which reference local files using the file:// scheme as input for importfeed? + +Cheers, +Marco + +"""]]