Commit graph

32149 commits

Author SHA1 Message Date
Joey Hess
cc2cb46857
unused --from: Allow specifiying a repository by uuid or description.
This commit was sponsored by Jake Vosloo on Patreon.
2018-07-11 16:01:35 -04:00
Joey Hess
7f2e76c462
comment 2018-07-11 15:54:18 -04:00
uli@8484a70fbfd489faef5f72c230d340b01e2676ca
32df7fca23 2018-07-11 14:07:24 +00:00
andrew
88f1a02de5 Added a comment 2018-07-10 18:45:37 +00:00
Joey Hess
25ec8ec4c6
update re writable HOME with standalone bundle 2018-07-10 14:22:37 -04:00
Joey Hess
a8a0f7fc58
refuse to run if we can't write to HOME 2018-07-10 14:20:23 -04:00
Joey Hess
eb08deefa5
Revert "fall back to /tmp for LOCPATH if HOME does not exist or not writable"
This reverts commit f991c8c526.

On second thought, this makes it unbearably slow and leaves far too much
cruft behind.
2018-07-10 14:15:47 -04:00
Joey Hess
f991c8c526
fall back to /tmp for LOCPATH if HOME does not exist or not writable
In this case, we can't clean up old locale caches, but presumably the
system has something to clean up /tmp eventually.
2018-07-10 13:26:35 -04:00
Joey Hess
e802323071
deal with the persistent locpath issue
linux standalone: Generate locale files in ~/.cache/git-annex/locales/ so
they're available even when the standalone tarball is installed in a
directory owned by root.

This avoids a full-on reference counting cleanup hell, by letting old
locale caches linger as long as the standalone bundle directory associated
with them is still around. Old ones get cleaned up.

In the case where the directory has a new bundle unpacked over top of it,
the old locale cache is invalidated and rebuilt. Of course, running
programs using that may get confused, but this was already the case, and
unpacking over top of a bundle is probably not a good idea anyhow.

To support that, added a buildid file, which only needs to be unique across
builds of git-annex with different libc versions. sha1sum of git-annex
seems good enough for that.

Removed debian/patches/standalone-no-LOCPATH as it's no longer
necessary.

This commit was supported by the NSF-funded DataLad project.
2018-07-10 12:13:19 -04:00
Joey Hess
ac228fa723
don't import all of System.Posix.Files
This avoid a build problem when different versions of posix and
posixcompat are used. Does not normally happen as cabal prevents that,
but this is sometimes used with ghc --make which can get into that
situation.
2018-07-10 12:04:49 -04:00
Joey Hess
66cb41b0b3
thought 2018-07-09 14:38:34 -04:00
Joey Hess
13c853bda1
dealing with race conditions in import tree design
I seem to be down to a race no worse than one in git, which seems good
enough.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-07-09 14:05:34 -04:00
andrew
a778d77f83 Added a comment 2018-07-09 13:44:16 +00:00
andrew
b543f55883 Added a comment 2018-07-09 01:25:23 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
f55d82bc96 Added a comment 2018-07-08 19:53:09 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
d6877b7ae7 2018-07-08 18:57:54 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
ca9e5be23b More formatting fixes 2018-07-08 18:57:31 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
34cfa919aa Fix formatting 2018-07-08 18:55:35 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
9b2ff32573 2018-07-08 18:54:03 +00:00
CandyAngel
54859ba676 Added a comment 2018-07-08 17:58:33 +00:00
andrew
85bc622552 Added a comment 2018-07-08 16:37:04 +00:00
oliv5
49e5585cbd 2018-07-08 12:56:44 +00:00
anthony@ad39673d230d75cbfd19d2757d754030049c7673
43979521cc Added a comment: Seems this has been somewhat implemented? 2018-07-08 07:15:38 +00:00
ewen
ab12a6e9f9 Added a comment: Synology NAS 2018-07-08 06:52:08 +00:00
abimelech@632162f535b3bbc90e3336b14ceef969c41c05a2
694f68b437 Added a comment: comment 6 2018-07-07 00:09:48 +00:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
586fa4800c Added a comment 2018-07-06 20:13:32 +00:00
Joey Hess
c092998d8d
Merge branch 'master' of ssh://git-annex.branchable.com 2018-07-06 12:51:46 -04:00
Joey Hess
da55dfc754
man page link fixes 2018-07-06 12:51:18 -04:00
anarcat
a93a8f254e Added a comment 2018-07-06 16:48:29 +00:00
Joey Hess
dbb7e81b4f
comment 2018-07-06 12:44:32 -04:00
Joey Hess
87507722cb
comment 2018-07-06 12:38:41 -04:00
Joey Hess
8e5746d0a6
remove todo link
When this is converted to a man page, that doesn't come through well.
And a link to a todo page is not really appropriate here anyway.
2018-07-06 12:32:58 -04:00
anarcat
801154149a Added a comment: some docs 2018-07-06 01:44:08 +00:00
anarcat
eb66baa0c4 add an example of how to use append-only mode 2018-07-06 01:40:26 +00:00
anarcat
22e8ff3435 give a simpler example of authorized_keys entry using latest features of OpenSSH 2018-07-06 01:39:36 +00:00
anarcat
445cc79fc8 Added a comment: apologies 2018-07-05 15:56:27 +00:00
Joey Hess
e5ef7d63ae
Merge branch 'master' of ssh://git-annex.branchable.com 2018-07-05 11:53:47 -04:00
Joey Hess
49cc94f61f
add docs about p2p --pair being broken in old versions 2018-07-05 11:52:52 -04:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
78daed90d1 Added a comment 2018-07-05 15:47:14 +00:00
CandyAngel
f60e0df0e0 Added a comment 2018-07-05 13:53:47 +00:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
fb730c3731 2018-07-05 13:30:11 +00:00
nothingmuch
3fd2a66d57 2018-07-04 19:31:00 +00:00
Joey Hess
096f2261a7
added an example transcript 2018-07-04 15:26:07 -04:00
Joey Hess
3dd7f450c1
fix p2p --pair
p2p --pair: Fix interception of the magic-wormhole pairing code, which
since 0.8.2 it has sent to stderr rather than stdout.

This is highly annoying because I had asked the magic wormhole developers
for a machine-readable way to get the data, and instead they changed how
the data was output, and didn't even mention this in my issue, or in the
changelog.

Seems this needs to be tested periodically to make sure it's still working.

This commit was sponsored by Ethan Aubin.
2018-07-04 15:14:03 -04:00
Joey Hess
761d619193
fix --gen-addresses name 2018-07-04 14:42:57 -04:00
Joey Hess
749d5115fe
response 2018-07-04 12:24:09 -04:00
anarcat
5b2bbaaa18 Added a comment: some further considerations 2018-07-04 02:17:50 +00:00
Joey Hess
9f3a346f25
fix nested exception bug
Fix reversion introduced in version 6.20180316 that caused git-annex to
stop processing files when unable to contact a ssh remote.

The bug was not in any of the changed lines, but this one in inAnnex:

P2PHelper.checkpresent (Ssh.runProto rmt connpool (cantCheck rmt) fallback) key

cantCheck throws an exception, but that parameter to runProto expects a
value, which it returns. So, inAnnex is returning a Bool containing an
exception. This defeats the usual checks for checkPresent throwing an
exception, crashing git-annex.

Fixed by making runProto take an `Annex a` instead of an `a`, so
passing cantCheck to it doesn't nest exceptions.

This commit was sponsored by andrea rota.
2018-07-03 13:10:43 -04:00
Joey Hess
edd257dcfb
response 2018-07-03 12:33:30 -04:00
Joey Hess
8a201c5cc4
close 2018-07-03 12:29:57 -04:00