Commit graph

2434 commits

Author SHA1 Message Date
Joey Hess
ded2591124 unannex: Clean up use of git commit -a.
This was more complex than would be expected. unannex has to use git commit -a
since it's removing files from git; git commit filelist won't do.

Allow commands to be added to the Git queue that have no associated files,
and run such commands once.
2011-07-14 17:15:37 -04:00
Joey Hess
0c46cbab09 Support the standard git -c name=value
This allows eg, `git-annex -c annex.rsync-options=-6 get file`

The overridden git configs are not passed on to git plumbing commands
that are run. Perhaps someone will find a need to do that, but I don't yet
and it would require storing more state to know what config settings
have been overridden and need to be passed on.
2011-07-14 16:51:20 -04:00
Joey Hess
dddbc09ff0 allow configStore to be run incrementally to override configs 2011-07-14 16:41:17 -04:00
http://peter-simons.myopenid.com/
020787bb97 2011-07-14 12:15:42 +00:00
http://peter-simons.myopenid.com/
a4f2dd2fc6 Added a comment: Solved 2011-07-13 16:21:26 +00:00
http://peter-simons.myopenid.com/
709f75f187 2011-07-13 10:35:47 +00:00
http://peter-simons.myopenid.com/
0fee31a164 2011-07-13 10:35:18 +00:00
Joey Hess
c38dd9adc8 analysis 2011-07-10 15:37:29 -04:00
Joey Hess
7919de73af Bugfix: Make add ../ work.
The complication of check-attr returning absolute paths that have to be
converted back to relative paths..
2011-07-10 13:52:53 -04:00
Joey Hess
562fd41d6c Merge branch 'master' of ssh://git-annex.branchable.com 2011-07-10 13:05:01 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w
085eeaa652 2011-07-09 01:49:09 +00:00
Joey Hess
7da059e557 update 2011-07-08 01:26:18 -04:00
http://joey.kitenet.net/
a8fe35f645 2011-07-08 03:39:22 +00:00
http://joey.kitenet.net/
151b1d85c7 Added a comment 2011-07-08 01:32:30 +00:00
Joey Hess
433b6b75e5 Merge branch 'master' of ssh://git-annex.branchable.com 2011-07-07 21:31:22 -04:00
Joey Hess
40c6ba99f5 add: Be even more robust to avoid ever leaving the file seemingly deleted.
A failure at any point after the file is annexed will result in an undo
that puts the original file back into place and wipes the location log.
2011-07-07 21:30:51 -04:00
Joey Hess
2640ee820f cleanup 2011-07-07 20:59:05 -04:00
Joey Hess
2a108982ad add monad-control to build depends
Will use this to handle exceptions in the Annex monad, yay.
2011-07-07 20:53:57 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w
4857f4e861 Added a comment 2011-07-08 00:45:30 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w
9633deab57 Added a comment: this happens also when the user has not the permission to set the file mode 2011-07-08 00:21:32 +00:00
Joey Hess
8c1fa1ab5f add a nasty workaround for a nasty cabal limitation
It croaks on long filenames.. probably >= 100 chars
100 characters was a (historial) limit on filenames in tarballs.
2011-07-07 19:50:14 -04:00
Joey Hess
f7be0d5077 add news item for git-annex 3.20110707 2011-07-07 19:38:05 -04:00
Joey Hess
4d4f297c96 releasing version 3.20110707 2011-07-07 19:37:49 -04:00
Joey Hess
67dcc1f171 add: Avoid a failure mode that resulted in the file seemingly being deleted (content put in the annex but no symlink present). 2011-07-07 19:29:36 -04:00
Joey Hess
ff531b9677 Merge branch 'master' of ssh://git-annex.branchable.com 2011-07-07 17:05:53 -04:00
http://joey.kitenet.net/
dac158c7b2 Added a comment 2011-07-07 21:04:23 +00:00
Joey Hess
2fb771f135 Bugfix: Forgot to de-escape keys when upgrading.
Could result in bad location log data for keys that contain [&:%] in their
names. (A workaround for this problem is to run git annex fsck.)

`git annex unused --from remote` could also run into the broken code.
2011-07-07 17:04:21 -04:00
http://joey.kitenet.net/
0c52362359 Added a comment 2011-07-07 20:27:33 +00:00
ssqq
33ebaf3f9f 2011-07-07 19:45:31 +00:00
ssqq
1ffe7f7770 2011-07-07 19:44:40 +00:00
ssqq
944cc2fde8 2011-07-07 18:49:49 +00:00
http://joey.kitenet.net/
f854d5ae7a Added a comment 2011-07-07 15:27:28 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w
8da1dd0336 2011-07-07 11:08:35 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmL8pteP2jbYJUn1M3CbeLDvz2SWAA1wtg
c5296dee1f 2011-07-06 21:29:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmL8pteP2jbYJUn1M3CbeLDvz2SWAA1wtg
a6c2bea91f 2011-07-06 20:39:11 +00:00
Joey Hess
b5733069db tweak 2011-07-06 16:06:10 -04:00
https://lithitux.org/openidserver/users/pavel
10e72acb01 Added a comment 2011-07-06 08:14:26 +00:00
Joey Hess
497b1e6092 Fix sign bug in disk free space checking.
Giulio Eulisse reported that on OSX, bad free space numbers were being
shown. It thought he had negative free space.

While the documentation is not clear, especially across OS's, it seems
likely that statfs uses unsigned long. It doesn't make sense for any
numbers to be negative.
2011-07-05 20:53:58 -04:00
Joey Hess
cab4ac247c rename 2011-07-05 20:36:43 -04:00
Joey Hess
c98b5cf36e rename 2011-07-05 20:24:10 -04:00
Joey Hess
6040d8aed1 factor out RemoteLog 2011-07-05 20:16:57 -04:00
Joey Hess
9f1577f746 remove unused backend machinery
The only remaining vestiage of backends is different types of keys. These
are still called "backends", mostly to avoid needing to change user interface
and configuration. But everything to do with storing keys in different
backends was gone; instead different types of remotes are used.

In the refactoring, lots of code was moved out of odd corners like
Backend.File, to closer to where it's used, like Command.Drop and
Command.Fsck. Quite a lot of dead code was removed. Several data structures
became simpler, which may result in better runtime efficiency. There should
be no user-visible changes.
2011-07-05 19:57:46 -04:00
Joey Hess
674768abac add news item for git-annex 3.20110705 2011-07-05 15:22:12 -04:00
Joey Hess
d583e04d23 releasing version 3.20110705 2011-07-05 15:21:38 -04:00
Joey Hess
c0cacbbf76 Merge branch 'master' of ssh://git-annex.branchable.com 2011-07-05 15:07:46 -04:00
http://joey.kitenet.net/
fb433a5ba2 Added a comment 2011-07-05 19:06:48 +00:00
Joey Hess
d360ca3ed9 make upgrade more robust
don't remove .git-annex until state has been succeffully saved
2011-07-05 15:06:20 -04:00
Joey Hess
d31b84c777 better display of thrown errors 2011-07-05 14:58:33 -04:00
http://joey.kitenet.net/
502bac1c71 Added a comment 2011-07-05 18:37:21 +00:00
Joey Hess
82eb082ab9 my fix is confirmed to have worked
Also audited for other uses of pipeBoth and hPipeBoth and they mostly seem
safe.
2011-07-05 14:36:21 -04:00