Commit graph

35848 commits

Author SHA1 Message Date
Ilya_Shlyakhter
41b1607aec bug report of testremote failure with AWS S3 2019-10-19 21:22:27 +00:00
Ilya_Shlyakhter
5bab62fbc0 Added a comment 2019-10-19 21:10:56 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
7b13db551d Added a comment: Does git annex add do something different to smudge filter add? 2019-10-19 00:51:14 +00:00
Joey Hess
68edd7aedb
add news item for git-annex 7.20191017 2019-10-17 18:21:27 -04:00
Joey Hess
f60e8f2c93
releasing package git-annex version 7.20191017 2019-10-17 18:19:47 -04:00
Joey Hess
bec96ebd5e
devblog 2019-10-17 18:19:42 -04:00
Joey Hess
b02bf9f0eb
deal with flakey hdiutil
hdiutil create -format UDBZ -size 640m -srcfolder tmp/build-dmg \
		-volname git-annex -o tmp/git-annex.dmg
hdiutil: create failed - Resource busy

Sometimes it has failed this way for weeks until reboot. Sometimes a single
retry makes it work. Despite many reports of this problem, I have never
found for an explanation for it, other than <shrug> OSX.
2019-10-17 16:28:48 -04:00
Joey Hess
96418dcd11
copy the content linked to
symlinks are hard (at least in current mental state and with the test
system being remote)
2019-10-17 12:41:02 -04:00
Joey Hess
9dff416a34
make symlink relative and install link target 2019-10-17 12:21:23 -04:00
Joey Hess
904b175707
Fix build with persistent-2.10.
Added an additional constraint that persistent needs.
This also builds with persistent-2.9.2 without needing any cpp.
2019-10-17 11:58:31 -04:00
Joey Hess
d0d416b215
bugfix
Fix symlink detection

Also, make idempotent; cp may fail if the destination file exists in
some cases.
2019-10-17 11:55:51 -04:00
Joey Hess
76bb9ca43a
close as fixed in daily build
The too old version will natrually be fixed by the release.
2019-10-17 11:02:43 -04:00
Joey Hess
690b1ed8cf
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-17 11:01:48 -04:00
Joey Hess
5463f97ca2
OSX: Deal with symbolic link problem that caused git to not be included in the git-annex.dmg
Homebrew now has eg:

datalads-imac:~ joey$ ls -l /Users/joey/homebrew/Cellar/git/2.23.0/libexec/git-core
total 36776
lrwxr-xr-x   1 joey  staff       13 Aug 29 13:38 git -> ../../bin/git
lrwxr-xr-x   1 joey  staff       13 Aug 29 13:38 git-add -> ../../bin/git

So the target of the symlink also needs to be installed now.

Doing it in shell code was too hairy for my dentistry-addled brain, so
reimplemented in haskell. Also using it for building linuxstandalone.
2019-10-17 11:01:41 -04:00
nrg@bd619d1ebf16e6324c546adea8be8fe1cc2b4325
10c9ba3430 Added a comment: Issue is with persistent > 2.9.2 2019-10-17 13:30:28 +00:00
irieger
d533e59e73 Adding the question 2019-10-17 09:07:26 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
d4fff00142 Added a comment 2019-10-16 20:40:21 +00:00
Joey Hess
bf7a22b812
analysis 2019-10-16 10:30:40 -04:00
fasthans@87884c78197fe1a25ac25ae7fa1d930c147e9592
5a30c1b330 Added a comment: how does git annex think about remote locations? 2019-10-16 04:34:14 +00:00
cds@be5df0987fc4e414401b86f980a60f7bf0288037
70702c63a8 Making a todo as requested on IRC. 2019-10-16 02:34:53 +00:00
leej
73f2750aac Added a comment: version error also reproduces on 7.20190912 from kitenet.net (downloaded 8/20/2019) 2019-10-15 23:31:40 +00:00
leej
e9fb1aa203 2019-10-15 22:38:47 +00:00
Ilya_Shlyakhter
0098b17cbe Added a comment: can git-annex-pre-commit annex files? 2019-10-15 19:15:41 +00:00
spwhitton
4745d55886 Added a comment 2019-10-15 18:03:34 +00:00
Joey Hess
bfec5a2a41
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-15 11:46:22 -04:00
Joey Hess
ce48eb797c
make DropDead transition minimize remote.log for dead sameas remotes
All that needs to be retained in remote.log is the sameas-uuid.
The rest of the config is eliminated. This doesn't save enough space to
bother with, but it prevents anything sensitive in the config of the
dead sameas remote from lingering around.

Note that minimizesameasdead does not update the VectorClock when
changing the log line. That's normally a no-no, but in this case,
it makes each DropDead result in the exact same file contents,
and vector clocks are not needed because the transition breaks
the history chain.
2019-10-15 11:39:25 -04:00
fasthans@87884c78197fe1a25ac25ae7fa1d930c147e9592
3ee526a3a6 2019-10-15 13:28:14 +00:00
fasthans@87884c78197fe1a25ac25ae7fa1d930c147e9592
1a6fb49565 2019-10-15 13:27:35 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
3ac7fa3524 Added a comment: One other thing to add 2019-10-15 10:44:14 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
17f54fc008 2019-10-15 10:37:39 +00:00
Joey Hess
78f522e7c8
forgot to add this new file 2019-10-14 16:09:04 -04:00
Joey Hess
83f5ec0d36
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-14 16:08:08 -04:00
Joey Hess
8ef5e79f79
sameas done and merged 2019-10-14 16:07:49 -04:00
Joey Hess
123d0d9add
Merge branch 'sameas' 2019-10-14 16:07:19 -04:00
Joey Hess
4306dfbe68
remove empty log files in transition
forget --drop-dead: Remove several classes of git-annex log files when they
become empty, further reducing the size of the git-annex branch.

Noticed while testing sameas uuid removal, but it could happen other times
too.

An empty log file is always treated by git-annex the same as no file
being present, and when the files are per-key, it can be a sizable space
saving to exclude them from the tree.
2019-10-14 16:04:15 -04:00
Joey Hess
5e9a2cc37f
forget state of sameas remotes during DropDead transitions
It would have been a lot less round-about to just make git annex dead
also add the uuids of sameas remotes to the trust.log as dead.

But, that would fail in the case where there's an unmerged other clone
that has a sameas remote that the current repo does not know about.
Then it would not get marked as dead.

Handling it at transition time avoids that scenario.

Note that the generation of trustmap' in dropDead should only
happen once, due to the partial application.
2019-10-14 15:47:42 -04:00
nrg@bd619d1ebf16e6324c546adea8be8fe1cc2b4325
a3fdc23828 2019-10-14 19:14:02 +00:00
strmd
d671481ed7 Added a comment: A new user chiming in 2019-10-14 18:23:59 +00:00
Joey Hess
9828f45d85
add RemoteStateHandle
This solves the problem of sameas remotes trampling over per-remote
state. Used for:

* per-remote state, of course
* per-remote metadata, also of course
* per-remote content identifiers, because two remote implementations
  could in theory generate the same content identifier for two different
  peices of content

While chunk logs are per-remote data, they don't use this, because the
number and size of chunks stored is a common property across sameas
remotes.

External special remote had a complication, where it was theoretically
possible for a remote to send SETSTATE or GETSTATE during INITREMOTE or
EXPORTSUPPORTED. Since the uuid of the remote is typically generate in
Remote.setup, it would only be possible to pass a Maybe
RemoteStateHandle into it, and it would otherwise have to construct its
own. Rather than go that route, I decided to send an ERROR in this case.
It seems unlikely that any existing external special remote will be
affected. They would have to make up a git-annex key, and set state for
some reason during INITREMOTE. I can imagine such a hack, but it doesn't
seem worth complicating the code in such an ugly way to support it.

Unfortunately, both TestRemote and Annex.Import needed the Remote
to have a new field added that holds its RemoteStateHandle.
2019-10-14 13:51:42 -04:00
yarikoptic
25e78d5f22 initial complaint that cannot use --duplicate and --reinject-duplicates 2019-10-14 14:56:19 +00:00
https://tribut.de/
5f36424eaa Added a comment 2019-10-14 09:33:34 +00:00
TroisSinges
6dd6f3ccf2 2019-10-14 09:25:18 +00:00
Ilya_Shlyakhter
52b0a6530d Added a comment: getting v5 semantics 2019-10-14 03:42:05 +00:00
amindfv@6f75355c5dad3450ed73d1f01715be90dfdd6cd6
7a950e3088 Added a comment 2019-10-14 00:20:25 +00:00
TroisSinges
bc4a194c6d Added a comment 2019-10-13 23:59:23 +00:00
TroisSinges
302e43f852 2019-10-13 23:55:20 +00:00
Lukey
3b86bfdb79 Added a comment: v5 mode 2019-10-12 21:48:57 +00:00
Ilya_Shlyakhter
8348e7534d Added a comment: experience with v7 semantics 2019-10-12 21:39:03 +00:00
amindfv@6f75355c5dad3450ed73d1f01715be90dfdd6cd6
c85165ece5 Added a comment 2019-10-12 21:12:52 +00:00
Joey Hess
ddcc57bd9a
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-11 16:09:06 -04:00