Joey Hess
7a7e426352
moved AssociatedFile definition
2013-07-04 02:36:02 -04:00
Joey Hess
ce9be5ec14
fix crash in drop scan when there are no associated files
...
maximum is partial, so need to ensure the list is not empty.
This lack of associated files would most likely be a problem -- and fsck
fixes it. It could also occur legitimately due to a race.
2013-06-24 12:44:51 -04:00
Joey Hess
0527c74c0f
assistant: In direct mode, objects are now only dropped when all associated files are unwanted. This avoids a repreated drop/get loop of a file that has a copy in an archive directory, and a copy not in an archive directory. (Indirect mode still has some buggy behavior in this area, since it does not keep track of associated files.) Closes : #712060
2013-06-15 14:44:43 -04:00
Joey Hess
0eeb8d0508
fix dropping files from untrusted repositories
...
An off-by-one prevented the assistant ever dropping files from untrusted
repositories.
2013-03-31 18:39:49 -04:00
Joey Hess
cc5db38a1e
typo
2013-03-01 16:58:19 -04:00
Joey Hess
a733271a9c
add additional debug info about reasons for drops
2013-03-01 15:58:44 -04:00
Joey Hess
99a8a5297c
--auto fixes
...
* get/copy --auto: Transfer data even if it would exceed numcopies,
when preferred content settings want it.
* drop --auto: Fix dropping content when there are no preferred content
settings.
2012-12-06 13:22:16 -04:00
Joey Hess
c59783a549
assistant: Avoid trying to drop content from remotes that don't have it.
2012-12-05 12:44:08 -04:00
Joey Hess
6c0bdc3447
typo
2012-12-05 12:32:26 -04:00
Joey Hess
e5516fc68f
avoid crashing threads that drop content if the drop crashes
2012-12-05 12:28:50 -04:00
Joey Hess
2f50af5273
better function name
2012-12-01 15:00:03 -04:00
Joey Hess
463cf58140
webapp and assistant glacier support
2012-11-24 16:30:15 -04:00
Joey Hess
5e44ab177c
don't try to transfer data to/from XMPP remotes
...
Partition syncRemotes into ones needing git sync (ie, non-special remotes),
and ones needing data sync (ie, non-XMPP remotes).
2012-11-11 16:23:16 -04:00
Joey Hess
6a0756d2fb
use trustExclude
2012-11-11 00:26:29 -04:00
Joey Hess
88d1907278
where indentation
2012-10-31 02:34:03 -04:00
Joey Hess
93ffd47d76
finished pushing Assistant monad into all relevant files
...
All temporary and old functions are removed.
2012-10-30 17:14:51 -04:00
Joey Hess
ea8df8fe9f
cleanup daemonStatus accessors
2012-10-30 14:44:18 -04:00
Joey Hess
9c89924c05
check and drop after uploads
2012-10-18 16:05:43 -04:00
Joey Hess
ee9e0702a2
check and drop unwanted content from remotes after receiving a transfer
2012-10-18 15:37:57 -04:00
Joey Hess
dea125e1b7
split
2012-10-18 15:22:28 -04:00