Commit graph

28299 commits

Author SHA1 Message Date
Joey Hess
f461bcae4b
Re-enable accumulating transfer failure log files for command-line actions
This was disabled in commit 61ccf95004,
because only the assistant used them, and they were clutter. But, now
--failed also uses them.

Remove the failure log files after successful transfers. Should avoid
most of the clutter problems.

Commit 61ccf95004 mentions a subtle behavior
change, which has now been reverted:

    There is one behavior change from this. If glacier is being used, and a
    manual git annex get --from glacier fails because the file isn't available
    yet, the assistant will no longer later see that failed transfer file and
    retry the get.
2016-08-03 13:41:07 -04:00
Joey Hess
1a0e2c9901
get, move, copy, mirror: Added --failed switch which retries failed copies/moves
Note that get --from foo --failed will get things that a previous get --from bar
tried and failed to get, etc. I considered making --failed only retry
transfers from the same remote, but it was easier, and seems more useful,
to not have the same remote requirement.

Noisy due to some refactoring into Types/
2016-08-03 12:37:12 -04:00
eslgastal
0fc85c45b5 2016-08-03 15:02:37 +00:00
Horus
1c76a7e74f 2016-08-03 08:55:43 +00:00
https://me.yahoo.com/a/hi7yosAfnufqtL0Mb123WhWS.Yel7LOeB6A-#1512c
a3333d0e3b Added a comment: One more requirement 2016-08-02 06:58:05 +00:00
https://me.yahoo.com/a/hi7yosAfnufqtL0Mb123WhWS.Yel7LOeB6A-#1512c
951a320c0b 2016-08-02 06:56:23 +00:00
listx
c04d3a05ba Added a comment 2016-08-01 20:06:46 +00:00
Joey Hess
5966314c91
response 2016-07-30 12:41:10 -04:00
Joey Hess
5db17dc430
response 2016-07-30 12:35:58 -04:00
Joey Hess
f0886a1bdd
info: When run on a file now includes an indication of whether the content is present locally. 2016-07-30 12:29:59 -04:00
Joey Hess
00a5e7475c
response 2016-07-30 12:18:35 -04:00
Joey Hess
4e35d0ed31
Merge branch 'master' of ssh://git-annex.branchable.com 2016-07-30 12:15:48 -04:00
Horus
5a8bdc5771 2016-07-30 09:47:48 +00:00
Horus
de14792c9a 2016-07-30 09:47:07 +00:00
JohnFisher
ee99ed7eb0 2016-07-29 23:52:27 +00:00
squid@d632da79105a546295e411392baaa70df380a4a2
d3814810a1 Added a comment 2016-07-29 22:27:52 +00:00
jd.schroeder@0c8632a8f2bffdd4b0de05a0a3660f32acdfeeca
07a6e55a67 Added a comment 2016-07-29 19:12:24 +00:00
jd.schroeder@0c8632a8f2bffdd4b0de05a0a3660f32acdfeeca
ff3515b571 Added a comment 2016-07-29 19:09:45 +00:00
Joey Hess
e68439b2fb
update 2016-07-29 11:40:38 -04:00
jk@3f2b4ce16bbac41470815333505aa47b91b7a9a6
5f3e6dcbeb 2016-07-29 10:50:17 +00:00
lewo@96215f2da3a61311e32b289a6aef11ea1ce8538d
4895ba82b6 2016-07-29 08:31:45 +00:00
squid@d632da79105a546295e411392baaa70df380a4a2
d59efa513e 2016-07-29 07:05:57 +00:00
listx
7f9a2e2f2c 2016-07-29 04:27:13 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
9a2fe62cbb added meta field for myself 2016-07-28 20:11:43 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
01898863df 2016-07-28 19:10:04 +00:00
Joey Hess
908979c0de
devblog 2016-07-27 15:59:24 -04:00
Joey Hess
78505c8a21
remove unused import 2016-07-27 11:35:10 -04:00
Joey Hess
bf3327ff25
Added metadata --batch option, which allows getting, setting, deleting, and modifying metadata for multiple files/keys. 2016-07-27 10:46:25 -04:00
Joey Hess
e5225f08fc
When built with ut uid-1.3.12, generate more random UUIDs than before
Use nextRandom to generate the random UUID, rather than using randomIO.
This gets fixes for the following two bugs in the uuid library.

However, this did not impact git-annex much, so a hard depedency has
not been added on uuid-1.3.12.

https://github.com/aslatter/uuid/issues/15
	"v4 UUIDs are not that random"

	This doesn't greatly affect git-annex, because even with only
	2^64 possible UUIDs, the chance that two git-annex repositories
	that are clones of the same git repo get the same UUID is miniscule.

	And, git-annex generates only one UUID per run, so preducting
	subsequent UUIDs is not a problem.

https://github.com/aslatter/uuid/issues/16
	"Remove Random instance for UUID, or mark it as deprecated"

	git-annex was using that instance; let's stop before it gets
	deprecated or removed.
2016-07-27 07:46:08 -04:00
Joey Hess
5235fb1185
avoid using Strings for JSON output; keep it ByteString throughout 2016-07-26 21:43:05 -04:00
Joey Hess
a79736d80d
update 2016-07-26 19:53:14 -04:00
Joey Hess
928fbb162d
improved use of Aeson for JSONActionItem 2016-07-26 19:50:02 -04:00
Joey Hess
870873bdaa
Removed dependency on json library; all JSON is now handled by aeson.
I've eyeballed all --json commands, and the only difference should be
that some fields are re-ordered.
2016-07-26 19:15:34 -04:00
Joey Hess
eabef6efce
Merge branch 'master' of ssh://git-annex.branchable.com 2016-07-26 15:55:00 -04:00
Joey Hess
97dc1e8d59
devblog 2016-07-26 15:54:35 -04:00
Joey Hess
8bc8469c38
saner format for metadata --json
metadata --json output format has changed, adding a inner json object
named "fields" which contains only the fields and their values.

This should be easier to parse than the old format, which mixed up
metadata fields with other keys in the json object.

Any consumers of the old format will need to be updated.

This adds a dependency on unordered-containers for parsing MetaData
from JSON, but it's a free dependency; aeson pulls in that library.
2016-07-26 15:41:04 -04:00
Joey Hess
5c92b8e034
unused import 2016-07-26 14:52:07 -04:00
Joey Hess
880674020f
aeson parser for --json output lines 2016-07-26 14:10:29 -04:00
Joey Hess
a030d0a8b7
allow using Aeson for streaming JSON output
Keeping Text.JSON use for now, because it seems a better fit for most of
the commands, which don't use very structured JSON objects, but just output
whatever fields suites them. But this lets Aeson be used when a more
structured data type is available to serialize to JSON.
2016-07-26 13:30:07 -04:00
anarcat
105f07090b magic wormhole seems like a nice alternative for arbitrary data sharing here 2016-07-26 01:33:15 +00:00
jgoerzen
2fa9e02223 Added a comment 2016-07-25 19:09:09 +00:00
pot
31692acee4 Added a comment: Same issue 2016-07-25 18:23:13 +00:00
Joey Hess
fdd87d8e55
design 2016-07-25 13:51:03 -04:00
pot
6307f9fd33 2016-07-24 23:35:21 +00:00
Joey Hess
d344f04d09
cabal constraints for aws and esqueleto
closes https://github.com/joeyh/git-annex/pull/55

* git-annex.cabal: Temporarily limit to http-conduit <2.2.0
  since aws 0.14.0 is not compatible with the newer version.
* git-annex.cabal: Temporarily limit to persistent <2.5
  since esqueleto 2.4.3 is not compatible with the newer version.
2016-07-22 12:41:28 -04:00
ilovezfs
18e458db10
cabal constraints for aws and esqueleto
aws 0.14.0 is incompatible with http-conduit 2.2.0
https://github.com/aristidb/aws/issues/206

esqueleto 2.4.3 is incompatible with persistent 2.5
https://github.com/prowdsponsor/esqueleto/issues/137
https://github.com/prowdsponsor/esqueleto/pull/141
https://github.com/prowdsponsor/esqueleto/pull/139

Solver needs these hints when building git-annex with +S3 and +Webapp.
2016-07-22 12:41:00 -04:00
ilovezfs
075836f4d2 2016-07-22 15:15:04 +00:00
moird
7c4c5b99ae 2016-07-21 17:54:09 +00:00
Richard Hartmann
96f295214b Update 2016-07-21 09:10:56 +02:00
Joey Hess
4c8b75a603
devblog 2016-07-20 15:59:25 -04:00