Commit graph

29779 commits

Author SHA1 Message Date
yarikoptic
938db690a8 2017-02-10 02:33:49 +00:00
yarikoptic
c4f1d00a70 Added a comment 2017-02-10 01:38:33 +00:00
Joey Hess
0e7cbadf25
close 2017-02-09 18:59:45 -04:00
Joey Hess
ba61229c77
update 2017-02-09 18:58:13 -04:00
victorsavu3@d059e0a74888923e70a555ce8ab75e8ba00b6eb7
72311753b3 Added a comment: RequestTimeoutException when uploading to glacier 2017-02-09 20:45:42 +00:00
Joey Hess
2e92648383
comment 2017-02-09 16:13:02 -04:00
Joey Hess
c1ece47ea0
import --reinject-duplicates
This is the same as running git annex reinject --known, followed by
git-annex import. The advantage to having it in one command is that it
only has to hash each file once; the two commands have to
hash the imported files a second time.

This commit was sponsored by Shane-o on Patreon.
2017-02-09 15:41:00 -04:00
Joey Hess
eae186e4b9
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-09 15:33:42 -04:00
Joey Hess
f617988a29
Make import --deduplicate and --skip-duplicates only hash once, not twice
import: --deduplicate and --skip-duplicates were implemented inneficiently;
they unncessarily hashed each file twice. They have been improved to only
hash once.

The new approach is to lock down (minimally) and hash files, and then
reuse that information when importing them.

This was rather tricky, especially in detecting changes to files while
they are being imported.

The output of import changed slightly. While before it silently skipped
over files with eg --skip-duplicates, now it shows each file as it starts
to act on it. Since every file is hashed first thing, it would otherwise
not be clear what file import is chewing on. (Actually, it wasn't clear
before when any of the duplicates switches were used.)

This commit was sponsored by Alexander Thompson on Patreon.
2017-02-09 15:32:22 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
16be7b5cc5 Added a comment 2017-02-09 09:05:34 +00:00
dharrison@27b3fc3aa4a83cdc03f8e82ab4a8d4f6455e603d
de77aa6965 New Bug Report 2017-02-08 01:42:30 +00:00
dharrison@27b3fc3aa4a83cdc03f8e82ab4a8d4f6455e603d
5b38458342 removed 2017-02-08 01:32:52 +00:00
dharrison@27b3fc3aa4a83cdc03f8e82ab4a8d4f6455e603d
76e48fcd82 Added a comment: MacOSX and Debian cannot decrypt eachother's S3 credentials 2017-02-08 01:26:09 +00:00
CandyAngel
278f9f0454 Added a comment 2017-02-07 22:51:15 +00:00
Joey Hess
30ab4ecc4b
response 2017-02-07 18:07:47 -04:00
Joey Hess
e7e36b6e72
import: Changed how --deduplicate, --skip-duplicates, and --clean-duplicates determine if a file is a duplicate
Before, only content known to be present somewhere was considered a
duplicate. Now, any content that has been annexed before will be considered
a duplicate, even if all annexed copies of the data have been lost.

Note that --clean-duplicates and --deduplicate still check numcopies,
so won't delete duplicate files unless there's an annexed copy.

This makes import use the same method as reinject --known.

The man page already said that duplicate meant "its content is either
present in the local repository already, or git-annex knows of another
repository that contains it, or it was present in the annex before but has
been removed now". So, this is really only bringing the implementation into
line with the man page.

This commit was sponsored by Jochen Bartl on Patreon.
2017-02-07 17:41:58 -04:00
Joey Hess
a8e64d4148
response 2017-02-07 17:23:41 -04:00
Joey Hess
2b4813bd16
clarify description of --skip-duplicates behavior 2017-02-07 16:39:29 -04:00
Joey Hess
539784a1f0
close as dup 2017-02-07 15:21:55 -04:00
Joey Hess
d644316c94
respond and close 2017-02-07 15:18:45 -04:00
Joey Hess
27e89aeffc
initremote: When a uuid= parameter is passed, use the specified UUID for the new special remote, instead of generating a UUID.
This can be useful in some situations, eg when the same data can be
accessed via two different special remote backends.
2017-02-07 15:10:41 -04:00
Joey Hess
5c804cf42e
add SetupStage parameter to RemoteType.setup
Most remotes have an idempotent setup that can be reused for
enableremote, but in a few cases, it needs to tell which, and whether
a UUID was provided to setup was used.

This is groundwork for making initremote be able to provide a UUID.
It should not change any behavior.

Note that it would be nice to make the UUID always be provided to setup,
and make setup not need to generate and return a UUID. What prevented
this simplification is Remote.Git.gitSetup, which needs to reuse the
UUID of the git remote when setting it up, and so has to return that
UUID.

This commit was sponsored by Thom May on Patreon.
2017-02-07 14:55:58 -04:00
Joey Hess
7487b4da47
comment 2017-02-07 13:51:23 -04:00
Joey Hess
3439f3cc87
assistant: Make --autostart --foreground wait for the children it starts.
Before, the --foreground was ignored when autostarting.

This commit was sponsored by Denis Dzyubenko on Patreon.
2017-02-07 13:31:45 -04:00
Joey Hess
571eca4680
comment 2017-02-07 13:11:02 -04:00
Joey Hess
a89d98af6d
comment 2017-02-07 13:08:33 -04:00
Joey Hess
655f707990
Fix build with aws 0.16. Thanks, aristidb. 2017-02-07 13:01:57 -04:00
Joey Hess
5f873be329
comment 2017-02-07 12:56:13 -04:00
Joey Hess
fe6936e065
comment 2017-02-07 12:48:12 -04:00
Joey Hess
2e246cb5d6
comment 2017-02-07 12:38:31 -04:00
yarikoptic
2f2721c932 Added a comment 2017-02-06 20:46:29 +00:00
yarikoptic
f5f3eb0b31 initial whining 2017-02-06 19:25:47 +00:00
yarikoptic
54bae5df37 initial thoughts 2017-02-06 15:32:45 +00:00
yarikoptic
03658010c7 initial thoughts 2017-02-06 00:49:28 +00:00
http://xgm.de/oid/
840f3e3624 2017-02-05 18:17:08 +00:00
kristianrumberg@85de814abe9398ab5573b77bb8a7a80ceaf3b9e1
548ca3da6b Added a comment 2017-02-05 17:02:10 +00:00
trenta3
483c3f57aa Added feature request for local state variables in special remote protocol 2017-02-05 15:52:55 +00:00
aristidb@4551cc1215222a56e271a796b92908680f3941b5
411c5d6528 Added a comment 2017-02-05 12:49:22 +00:00
aristidb@4551cc1215222a56e271a796b92908680f3941b5
6d85d011d9 Added a comment 2017-02-05 12:29:27 +00:00
aristidb@4551cc1215222a56e271a796b92908680f3941b5
aaf4998462 2017-02-05 12:26:10 +00:00
ilovezfs
8cbcf4cfaa 2017-02-05 12:21:37 +00:00
http://xgm.de/oid/
727aaed630 2017-02-05 10:37:00 +00:00
http://xgm.de/oid/
4bd5daa277 2017-02-05 10:33:37 +00:00
CandyAngel
e075032068 Added a comment 2017-02-05 02:20:31 +00:00
Joey Hess
424c4c2911
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-04 13:01:50 -04:00
Joey Hess
ff1ba8fdc6
update 2017-02-04 13:01:20 -04:00
joshfindit
a2d8c4120f Added a comment 2017-02-04 16:24:32 +00:00
Joey Hess
a4d25a2611
devblog 2017-02-03 15:45:48 -04:00
Joey Hess
dbc0b032b8
comment 2017-02-03 15:43:34 -04:00
Joey Hess
3fe9d99f24
wormhole pairing appid flag day 2021-12-31
Wormhole pairing will start to provide an appid to wormhole on 2021-12-31.
An appid can't be provided now because Debian stable is going to ship a
older version of git-annex that does not provide an appid. Assumption is
that by 2021-12-31, this version of git-annex will be shipped in a Debian
stable release. If that turns out to not be the case, this change will need
to be cherry-picked into the git-annex in Debian stable, or its wormhole
pairing will break.

This commit was sponsored by Thomas Hochstein on Patreon.
2017-02-03 15:06:40 -04:00