Recent comments posted to this site:

Hi,

I am new to git-annex and I want to use google drive as remote but I can't.

I create syslink to googledriveannex in /usr/local/bin.

When I execute below command, command waiting but not make anything:

$ git annex initremote googledrive type=external externaltype=googledrive encryption=shared folder=gitannex

initremote googledrive (encryption setup) # Waiting but does not do anything.

What I am doing wrong?

Thanks for helps

Forgive me, I'm a bit new to PGP.

I do:

$ gpg --list-keys
/home/user/.gnupg/pubring.gpg
------------------------------
pub   2048R/41363A6A 2014-04-03
uid                  A Guy (git-annex key) <A@guy.com>
sub   2048R/77998J8TDY 2014-04-03

and see the pub and the sub key.

When I init a new special remote and want encryption, should I give the init command the pub or the sub key? Or does git annex sort that out itself?

Using the URL backend for youtube is intentional. Youtube may serve up different encodings for the same video over time, and this way git-annex treats them all as equvilant. If you want to "freeze" the repository to the current one, use git annex migrate, and be prepared for git annex get --from web to not work long term.
Comment by http://joeyh.name/ Mon Apr 7 20:07:45 2014

Sure, git-annex prevents me from dropping files unless there are numcopies around elsewhere, but shouldn't it also ensure that numcopies cannot be set unless that requirement is already met?

Furthermore, shouldn't it ensure that when new files are added, they are automatically distributed to fulfill the requirement?

Comment by madduck Sun Apr 6 20:44:17 2014

Adding videos from youtube ends up with it using the URL backend, even without fast.

$ git init quvitest
$ cd quvitest/
$ git annex init
$ git annex addurl https://www.youtube.com/watch?v=mghhLqu31cQ
(... file is downloaded ...)
$ find .git/annex/objects/ -type f
.git/annex/objects/1J/Wp/URL--quvi&chttps&c%%www.youtube.com%watch,63v,61mghhLqu31cQ/URL--quvi&chttps&c%%www.youtube.com%watch,63v,61mghhLqu31cQ

Is migrating manually required or should I log a bug?

Comment by Xyem Fri Apr 4 15:25:39 2014

I am not sure which page is the best for this comment, but this one seems somewhat relevant.

Given that a future telehash implementation may download files from multiple peers, it might be a good idea to download files in chunks, possibly in parallel. In this case, it might be a good idea to use a rolling hash for chunking (like rsync et al). There is a package for that on Hackage.

git-annex could store a list of chunk checksums in .git/annex/objects/…/SHA….chunks whenever the repository holds a copy of the file. The checksum list would be a small fraction of the file in size, but all the checksum lists for all the files in a repository might take up too much space to store in the git-annex branch.

When getting an object, git-annex could first download the .chunks file from a remote/peer and then proceed to download missing chunks in a BitTorrent-like fashion.

If git-annex has an idea about what locally present object might be an earlier version of the file, it could compare the checksum lists and only download the parts that have changed (à la rsync).

Comment by http://johan.kiviniemi.name/ Fri Apr 4 14:16:25 2014
@Mildred, I think both preferred content expressions will do the same thing. There is, however a difference between the groups: The webapp notices when all files have gone from an unwanted repository, and will help the user finish deleting the repository.
Comment by http://joeyh.name/ Wed Apr 2 22:44:14 2014

What's the difference between source and unwanted ?

  • source (not copies=1) will keep files that have less than 1 copies, meaning zero copies, meaning no files.
  • unwanted will exclude all files.

Both gets to the same results, all files are moved elsewhere. Right?

Comment by http://mildred.fr/ Wed Apr 2 22:25:26 2014

is there a way for this to be done globally, without having to install and configure the hook for each repository? it seems like a fairly useful feature that could be factored in git-annex itself (as opposed to be shipped as a shell script)...

also, is there a way to retroactively parse the tags from existing files (as opposed to only new files added to the repo).

thanks

Comment by https://id.koumbit.net/anarcat Tue Apr 1 04:18:10 2014

cabal install gsasl cabal install happy cabal install language-javascript cabal install alex cabal install c2hs

after installing writing in terminal: git-annex, git-annex webapp does nothing... can you help how to start git-annex?

Comments on this page are closed.