Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
81f6542da0
7 changed files with 116 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="http://sunny256.sunbase.org/"
|
||||||
|
nickname="sunny256"
|
||||||
|
subject="comment 1"
|
||||||
|
date="2013-07-08T19:56:58Z"
|
||||||
|
content="""
|
||||||
|
Aha, in other words, some kind of PEBCAC put in a polite way. :) I thought this should be correct, as the man page says
|
||||||
|
|
||||||
|
> For example, --pathdepth=1 will use \"dir/subdir/bigfile\", while --pathdepth=3 will use \"bigfile\".
|
||||||
|
|
||||||
|
This is how I thought it worked:
|
||||||
|
|
||||||
|
* 0 = hostname, path, filename
|
||||||
|
* 1 = path, filename
|
||||||
|
* 2 = filename
|
||||||
|
|
||||||
|
After reading your answer I first thought it was a typo in the documentation, but of course the number specify the level of subdirectories to use in the file name. D'oh!
|
||||||
|
|
||||||
|
Thanks for the fix and information.
|
||||||
|
"""]]
|
|
@ -0,0 +1,26 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="http://joeyh.name/"
|
||||||
|
ip="4.154.7.235"
|
||||||
|
subject="comment 2"
|
||||||
|
date="2013-07-08T19:57:10Z"
|
||||||
|
content="""
|
||||||
|
Based on <http://pthree.org/2009/06/08/gnupg-up-and-close/> and <http://www.faqs.org/rfcs/rfc4880.html>, symmetric encryption algorithm 3 is CAST5.
|
||||||
|
|
||||||
|
When I run `gpg -v --version` on Android, I get a very short list of Cipher algorithms, just \"3DES (S2)\".
|
||||||
|
|
||||||
|
Compare with on Linux, where it supports:
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
Cipher: 3DES (S2), CAST5 (S3), BLOWFISH (S4), AES (S7), AES192 (S8),
|
||||||
|
AES256 (S9), TWOFISH (S10), CAMELLIA128 (S11), CAMELLIA192 (S12),
|
||||||
|
CAMELLIA256 (S13)
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
I suspect that you guys have a gpg on your non-android side that either defaults to CAST5, or has been configured, via the default-preference-list setting in gpg.conf, to use it. It should be possible to adjust your gpg.conf to use 3DES by default, and then things will interoperate (anything already encrypted by git-annex still won't be visible on Android of course).
|
||||||
|
|
||||||
|
The gpg shipped with git-annex on Android could be rebuilt to include these. However, it would probably need porting of more libraries to Android. I stopped once I got gpg to compile at all, and had to pass several configure flags to disable features,
|
||||||
|
|
||||||
|
This is something that anyone interested could work on. (Ie, no Haskell!) See `standalone/android/Makefile` in the git-annex source tree, which uses the Android SDK and NDK to cross-compile gnupg for Android.
|
||||||
|
|
||||||
|
I think that getting it to build without `--enable-minimal` would probably get most of the way there. Aha.. I just tried this, and the new binary seems to support nearly everything the linux one does, no extra libraries needed!
|
||||||
|
"""]]
|
|
@ -0,0 +1,31 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="https://www.google.com/accounts/o8/id?id=AItOawm01ida6POv7vqyUYtOlymEbJTbrImAIzM"
|
||||||
|
nickname="Reinis"
|
||||||
|
subject="comment 2"
|
||||||
|
date="2013-07-08T18:09:50Z"
|
||||||
|
content="""
|
||||||
|
That is Gentoo box and git-annex is installed using the following ebuild:
|
||||||
|
|
||||||
|
[[https://github.com/gentoo-haskell/gentoo-haskell/blob/master/dev-vcs/git-annex/git-annex-4.20130627.ebuild]]
|
||||||
|
|
||||||
|
which uses cabal to install it. It uses also the following eclass:
|
||||||
|
|
||||||
|
[[http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/haskell-cabal.eclass?revision=1.40&view=markup]]
|
||||||
|
|
||||||
|
The main functions of interest there are cabal-bootstrap(), cabal-copy() and cabal_src_install(). I'm not familiar enough with haskell nor with cabal to follow trough in detail how the setup program is constructed and how it works, but the end result is that this is all that is installed. I don't know if normal cabal installs work as intended, maybe something there needs to be adjusted?
|
||||||
|
|
||||||
|
[[!format sh \"\"\"
|
||||||
|
* Contents of dev-vcs/git-annex-4.20130627:
|
||||||
|
/usr
|
||||||
|
/usr/bin
|
||||||
|
/usr/bin/git-annex
|
||||||
|
/usr/lib64
|
||||||
|
/usr/lib64/ghc-7.6.3
|
||||||
|
/usr/lib64/ghc-7.6.3/gentoo
|
||||||
|
/usr/lib64/ghc-7.6.3/gentoo/git-annex-4.20130627.conf
|
||||||
|
/usr/share
|
||||||
|
/usr/share/doc
|
||||||
|
/usr/share/doc/git-annex-4.20130627
|
||||||
|
/usr/share/doc/git-annex-4.20130627/COPYRIGHT.bz2
|
||||||
|
\"\"\" ]]
|
||||||
|
"""]]
|
|
@ -0,0 +1,8 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="http://joeyh.name/"
|
||||||
|
ip="4.154.7.235"
|
||||||
|
subject="comment 3"
|
||||||
|
date="2013-07-08T18:22:18Z"
|
||||||
|
content="""
|
||||||
|
`cabal install` also creates the git-annex-shell symlink. I have filed a bug on the ebuild: <https://github.com/gentoo-haskell/gentoo-haskell/issues/247>
|
||||||
|
"""]]
|
|
@ -0,0 +1,8 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="https://www.google.com/accounts/o8/id?id=AItOawm01ida6POv7vqyUYtOlymEbJTbrImAIzM"
|
||||||
|
nickname="Reinis"
|
||||||
|
subject="comment 4"
|
||||||
|
date="2013-07-08T18:44:59Z"
|
||||||
|
content="""
|
||||||
|
Thanks! That leaves the issue that even when manually creating the symlink it still errors out (second half of the log in original report), but that probably is another issue. Should I open separate report for it? There was something similar in [[http://git-annex.branchable.com/bugs/Rsync_remote_created_via_webapp_remains_empty/]], but the command= part was in the file on my local computer only and removing it didn't make any difference.
|
||||||
|
"""]]
|
9
doc/forum/Coming_from_git_world.mdwn
Normal file
9
doc/forum/Coming_from_git_world.mdwn
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
So i am coming from git world, All documentation and posts seemed to be for media etc. I have a simple question.
|
||||||
|
|
||||||
|
Can i use git annex to manage large files , Which i think i can. But will it work with branching/tagging etc.
|
||||||
|
|
||||||
|
e.g. We currently use git have some large files in git repo.... I am planning to move the large files to use annex. But would like to maintain branches, i.e. each branch might have different version of files and maybe tagged, So i can get back some old version from a branch.
|
||||||
|
|
||||||
|
Is this possible ? I did not get any explicit answer or examples on how this works or even if its supported.
|
||||||
|
|
||||||
|
Also can i use same folder for git and git-annex ?
|
|
@ -0,0 +1,14 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="http://joeyh.name/"
|
||||||
|
ip="4.154.7.235"
|
||||||
|
subject="comment 1"
|
||||||
|
date="2013-07-08T20:09:54Z"
|
||||||
|
content="""
|
||||||
|
Yes, git-annex would not do very well at adding large file support to git if it did not handle tagging, branches, etc! So of course it does. It's in a sense too obvious a thing to get much mention. And so people sometimes get confused about it.
|
||||||
|
|
||||||
|
The only thing to need to be aware of coming from git is that not every repository will have every version of every file locally available. When you check out a branch, you may need to run `git annex get` to retrieve those versions from origin or elsewhere.
|
||||||
|
|
||||||
|
And, `git annex unused` can be used to find versions of files that no existing tag or branch refers to, and `git annex dropunused` can then delete those versions. If you want to ensure every revision in your git repo is accessible, you should avoid using those two commands; otherwise git-annex will never delete old versions of files.
|
||||||
|
|
||||||
|
The unreleased git master adds a new feature, a --all switch that makes git annex commands operate on all versions of files. While normally `git annex get` will only do what it needs to to get all files in the currently checked out branch, `git annex get --all` will pull down every version of every file in the whole history. Similarly, `git annex copy --all --to origin` will ensure that every locally available version of every file is sent to origin.
|
||||||
|
"""]]
|
Loading…
Reference in a new issue