Commit graph

23975 commits

Author SHA1 Message Date
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
Joey Hess
6b42533779
point to ikiwiki bug report 2018-07-02 13:25:30 -04:00
Joey Hess
73820a1d7e
add 2018-07-02 12:45:29 -04:00
Joey Hess
21161ba01a
response 2018-07-02 12:43:55 -04:00
Joey Hess
4b415a94b0
Merge branch 'master' of ssh://git-annex.branchable.com 2018-07-02 12:34:49 -04:00
Joey Hess
df1ed30549
remove comment to deleted non-bug 2018-07-02 12:34:29 -04:00
Joey Hess
ba0745b5c2
S3: fix documentation of publicurl
5f0f063a7a documented it as being
configured automatically, but the code never did that. Rather than try
to hard-code whatever urls amazon  uses for its buckets, it seems better
to ask the user to find the url and set it.
2018-07-02 12:30:39 -04:00
Joey Hess
0a875d81e5
response 2018-07-02 12:11:02 -04:00
Joey Hess
a7d8111430
comment 2018-07-02 12:08:50 -04:00
jasonb885
13342bc2ac Added a comment: oh 2018-07-02 01:08:38 +00:00
https://launchpad.net/~liori
7c03156fa4 Added a comment: The meaning of "safe" 2018-06-28 23:27:05 +00:00
Joey Hess
f61eae8afd
Merge branch 'master' of ssh://git-annex.branchable.com 2018-06-28 13:01:39 -04:00
Joey Hess
a63bbd868b
make addurl of media url fail when youtube-dl is disabled
addurl: When security configuration prevents downloads with youtube-dl,
still check if the url is one that it supports, and fail downloading it,
instead of downloading the raw web page.
2018-06-28 13:01:18 -04:00
abimelech@632162f535b3bbc90e3336b14ceef969c41c05a2
f6638a6349 Added a comment: I've been using amazonka-glacier to stream uploads to glacier 2018-06-27 21:50:46 +00:00
Joey Hess
b091dac130
note for later 2018-06-26 12:10:09 -04:00
Joey Hess
4f3b9db725
Merge branch 'master' of ssh://git-annex.branchable.com 2018-06-26 11:09:50 -04:00
CandyAngel
b356b2405c Added a comment 2018-06-26 10:38:21 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
5162395494 Added a comment: Not working on OnePlus 5T either 2018-06-26 10:32:09 +00:00
Joey Hess
561e4531e5
announcing the security fix release 2018-06-25 22:14:32 -04:00
Joey Hess
3160cadba3 git-annex version 6.20180626
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEKKUAw1IH6rcvbA8l2xLbD/BfjzgFAlstCaQACgkQ2xLbD/Bf
 jzh5nxAAn7D9soTI0ex6AVDDo2CjOyTTDVrIcl2h5XizfuUD3ev5P0TR3BZmzpAb
 MI6uaZ8kxqZ/eGAsBTyH9PsV7QVYIdht9t89ytP4xWyTQiOgjyJeA6PnJl4zVK9z
 Y8Of3mlylaz+97+sndljpsvy/KHENrHI7HHd+qxAu7wKysJxG6fJB7CjremkjaCI
 zAwg3mIy72ZKyuR/8hL9puJN9fdfw1ulkzQR+he007e/HkurPCwgRAOYW/Aa2tpY
 Oigdb9a6/0nl/VnOS8ZyHrSPRrhLH9c4IBmsdC1Xt5NDVmID/sWgD9uPF9dsHSMF
 OM25QdSlJ5cSNg+/XCpmmhC9MjgKkuVNpZ/fWBaHFs6KYgGhtZcAayQdz5AmMS2N
 HTPWB1IxZiV5TQHQpLbdH/q3RfNtRq1G1tc24zpd/zdhzijeTM6D8n4No6LXNq8X
 7U0qcrp9TdLOpBCTf6Jrg/7qFaXddHoEW1e3KrsOmB0hlYHuNxfY4bs0+ROeXGOT
 00koezcbF8kEI0ekoDvJjtVqaUq+608YjJZ5v7dE0vbtTj0KGbl5EHwC9atUluCX
 MHyTDY89uq68g4HIDytL001ZLvE3EUGJc4jh3+OMDzuZSKB5uwJIIky+qIaQu34K
 QJrZuyAIY0sVFV6LUX9nwqTW6Nnx/bB+kZ6k0+gx+Lpf7pUpE+o=
 =kex4
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEKKUAw1IH6rcvbA8l2xLbD/BfjzgFAlsxnX4ACgkQ2xLbD/Bf
 jzjK1xAAnJ58ZxLyTYlCZRcKiR81UHS/Mk6+SDAjRIRbT0SsY+6gSP55XKjrcuOb
 Jatp+6cNNSgk2lBpn37mq+rYIqboFh9moDRK7JSh1mDHCVtIwdARGblFRfuwaWPi
 xHnu+Pj43+SP7OF+8qP8/kDM+js3iMS+0gvBBz8pQN/yJDROXii6u0eONOd7vbER
 iRY9QpJdj5lp3hjaWfXt5iJC0re0eOAY4eUSHPsFIASysShnn33dFPOZ2hbhRKjR
 unQHUVIUE+ehmW3w9qIqn+9v2kca7laGK11cvzYRpmu/9rrvpf+RF1h42S8822dP
 CKHvxDkBGbyqTA+F9/6zpU1i9/ARgHFDpScRcdq7ZJi9FbWabKDklHCsgxwrkdXb
 +FXgb7N5Sa4+eVDNUf4rxldtLPX53nrtZ3IqrGiCWApCvbysNyP5kE0nix02l9z2
 xzY2vlpicx7TOMoO9mZesSFNgRzuFAbbya/zDJrz+xfgSRYXRYg58yTpmhpTFvSI
 h3Fw6+MYvehvRdAweLtoQt2p/UV2MAWrTpNzFoqgf2OCQOiH97ACDHn8Yki9rnQi
 NuMsqv9WOYQs4SaygDZMKemgAxftf3uaXiBW0RzHHwwWnDjHhqsEioOvOhNNyZbz
 U3OjKrH1JZlkNHlIBQD4BsWGLlIct66ZTU3k2OxPEp+mpEG/Xi4=
 =p+cW
 -----END PGP SIGNATURE-----

Merge tag '6.20180626' - previously embargoed security release
2018-06-25 21:56:43 -04:00
bqone@ea19c1433d6c23d05a56fe7b055d92010ab75ffb
89a2c1b220 Added a comment: Not working on OnePlus 6 2018-06-25 15:57:13 +00:00
Joey Hess
47cd6923b4
mention new limitation 2018-06-22 10:30:10 -04:00
yves.noirjean@3f9b06d19a920fbf5c82340c362e5971b00d4af2
5d8d4de172 Added a comment 2018-06-22 07:53:26 +00:00
Joey Hess
9faef71650
add upgrade note 2018-06-21 18:16:44 -04:00
Joey Hess
fff1825f13
adjust version 2018-06-21 16:50:41 -04:00
Joey Hess
4a89728d64
close 2018-06-21 15:49:11 -04:00
Joey Hess
66b14b5d66
devblog 2018-06-21 14:50:20 -04:00
Joey Hess
838b65bd6b
update status 2018-06-21 13:45:07 -04:00
Joey Hess
b657242f5d
enforce retrievalSecurityPolicy
Leveraged the existing verification code by making it also check the
retrievalSecurityPolicy.

Also, prevented getViaTmp from running the download action at all when the
retrievalSecurityPolicy is going to prevent verifying and so storing it.

Added annex.security.allow-unverified-downloads. A per-remote version
would be nice to have too, but would need more plumbing, so KISS.
(Bill the Cat reference not too over the top I hope. The point is to
make this something the user reads the documentation for before using.)

A few calls to verifyKeyContent and getViaTmp, that don't
involve downloads from remotes, have RetrievalAllKeysSecure hard-coded.
It was also hard-coded for P2P.Annex and Command.RecvKey,
to match the values of the corresponding remotes.

A few things use retrieveKeyFile/retrieveKeyFileCheap without going
through getViaTmp.
* Command.Fsck when downloading content from a remote to verify it.
  That content does not get into the annex, so this is ok.
* Command.AddUrl when using a remote to download an url; this is new
  content being added, so this is ok.

This commit was sponsored by Fernando Jimenez on Patreon.
2018-06-21 13:37:01 -04:00
Joey Hess
c981683f77
date deferred devblogs 2018-06-21 12:28:53 -04:00
yves.noirjean@3f9b06d19a920fbf5c82340c362e5971b00d4af2
03bef4f2cc Added a comment 2018-06-21 16:15:05 +00:00
Joey Hess
537935333f
document CVE-2018-10859 2018-06-21 11:27:56 -04:00
jared@ce91556d9548d318ec3f690b5f9bc33721256e4d
5f64260ce3 Added a comment: Unable to access public s3 remote without S3 credentials. 2018-06-21 13:47:27 +00:00
ruskie
e242655563 2018-06-21 10:13:23 +00:00
Joey Hess
991265e724
version deps
need at least http-client-0.4.31 to build now, and connection-0.2.6
2018-06-19 19:55:22 -04:00
Joey Hess
c5166b56af
second vuln 2018-06-19 17:03:04 -04:00
Joey Hess
daac67c9b1
update 2018-06-18 18:01:33 -04:00
Joey Hess
c81b879d39
got a CVE number 2018-06-18 17:56:18 -04:00
Joey Hess
e00b3ab3d5
doc typo 2018-06-18 15:57:13 -04:00
Joey Hess
3c0a538335
allow ftp urls by default
They're no worse than http certianly. And, the backport of these
security fixes has to deal with wget, which supports http https and ftp
and has no way to turn off individual schemes, so this will make that
easier.
2018-06-18 15:37:17 -04:00
zjs@6d8d0d7eaa9899fb198baa3eb90d570c14abd2b8
ac71326021 Error trying to run git-annex on Android version 8.1 2018-06-18 19:03:35 +00:00
Joey Hess
c93b6c1e08
devblog 2018-06-18 14:27:16 -04:00
Joey Hess
71d39caf5c
add security page with current and past security holes 2018-06-18 14:19:58 -04:00
anarcat
6d2616f86e some issues with anonymous pushes 2018-06-18 12:48:16 +00:00
anarcat
d889d9666d hashdeep integration 2018-06-18 12:45:32 +00:00
yves.noirjean@3f9b06d19a920fbf5c82340c362e5971b00d4af2
d8de48ddee Added a comment 2018-06-18 11:25:18 +00:00
Joey Hess
8703fdd3b7
add 2018-06-17 16:13:45 -04:00
Joey Hess
e62c4543c3
default to not using youtube-dl, for security
Pity, but same reasoning as curl applies to it.

This commit was sponsored by Peter on Patreon.
2018-06-17 14:51:02 -04:00
Joey Hess
b54b2cdc0e
prevent http connections to localhost and private ips by default
Security fix!

* git-annex will refuse to download content from http servers on
  localhost, or any private IP addresses, to prevent accidental
  exposure of internal data. This can be overridden with the
  annex.security.allowed-http-addresses setting.
* Since curl's interface does not have a way to prevent it from accessing
  localhost or private IP addresses, curl defaults to not being used
  for url downloads, even if annex.web-options enabled it before.
  Only when annex.security.allowed-http-addresses=all will curl be used.

Since S3 and WebDav use the Manager, the same policies apply to them too.

youtube-dl is not handled yet, and a http proxy configuration can bypass
these checks too. Those cases are still TBD.

This commit was sponsored by Jeff Goeke-Smith on Patreon.
2018-06-17 13:30:28 -04:00
Joey Hess
28720c795f
limit url downloads to whitelisted schemes
Security fix! Allowing any schemes, particularly file: and
possibly others like scp: allowed file exfiltration by anyone who had
write access to the git repository, since they could add an annexed file
using such an url, or using an url that redirected to such an url,
and wait for the victim to get it into their repository and send them a copy.

* Added annex.security.allowed-url-schemes setting, which defaults
  to only allowing http and https URLs. Note especially that file:/
  is no longer enabled by default.

* Removed annex.web-download-command, since its interface does not allow
  supporting annex.security.allowed-url-schemes across redirects.
  If you used this setting, you may want to instead use annex.web-options
  to pass options to curl.

With annex.web-download-command removed, nearly all url accesses in
git-annex are made via Utility.Url via http-client or curl. http-client
only supports http and https, so no problem there.
(Disabling one and not the other is not implemented.)

Used curl --proto to limit the allowed url schemes.

Note that this will cause git annex fsck --from web to mark files using
a disallowed url scheme as not being present in the web. That seems
acceptable; fsck --from web also does that when a web server is not available.

youtube-dl already disabled file: itself (probably for similar
reasons). The scheme check was also added to youtube-dl urls for
completeness, although that check won't catch any redirects it might
follow. But youtube-dl goes off and does its own thing with other
protocols anyway, so that's fine.

Special remotes that support other domain-specific url schemes are not
affected by this change. In the bittorrent remote, aria2c can still
download magnet: links. The download of the .torrent file is
otherwise now limited by annex.security.allowed-url-schemes.

This does not address any external special remotes that might download
an url themselves. Current thinking is all external special remotes will
need to be audited for this problem, although many of them will use
http libraries that only support http and not curl's menagarie.

The related problem of accessing private localhost and LAN urls is not
addressed by this commit.

This commit was sponsored by Brett Eisenberg on Patreon.
2018-06-16 11:57:50 -04:00
Joey Hess
b6ae4c0509
Merge branch 'master' of ssh://git-annex.branchable.com 2018-06-16 10:02:18 -04:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
7a44c2c8ef removed 2018-06-16 09:49:19 +00:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
fc468eed88 Added a comment: this one is invalid 2018-06-16 09:48:53 +00:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
75c4c947d5 2018-06-16 09:14:38 +00:00
andrew@2e5aa03dfdc624af77a5957dd345d28430342a9c
785cb276f0 posted issue 2018-06-15 22:23:58 +00:00
Joey Hess
f886859174
remove broken link 2018-06-15 17:53:37 -04:00
Joey Hess
c8559a0403
close old bug 2018-06-15 14:44:32 -04:00
andrew
05cee8ada4 Added a comment 2018-06-15 15:59:04 +00:00
Joey Hess
e592635fe6
improve wording 2018-06-14 17:14:13 -04:00
Joey Hess
690bb303f9
more thoughts 2018-06-14 14:00:49 -04:00
Joey Hess
3f80aaea3d
some open questions 2018-06-14 13:42:25 -04:00
Joey Hess
466d3fbaab
more thoughts 2018-06-14 13:30:34 -04:00
Joey Hess
8b734da876
thoughts 2018-06-14 12:32:18 -04:00
ghen1
1a0620fdf8 Added a comment 2018-06-13 17:18:49 +00:00
https://christian.amsuess.com/chrysn
c7dc4ee5c6 Added a comment: Update on using SAF 2018-06-13 14:57:10 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
a439041e40 Added a comment 2018-06-13 10:46:25 +00:00
https://christian.amsuess.com/chrysn
93befcea96 Added a comment: Re: comment 5 2018-06-12 19:01:09 +00:00
Joey Hess
760f66829a
display p2pstdio stderr after auth
Display error messages that come from git-annex-shell when the p2p protocol
is used, so that diskreserve messages, IO errors, etc from the remote side
are visible again.

Felt like it should perhaps use outputError, so --json-error-messages would
include these, but as an async IO action, it can't, and this would need
MessageState to be converted to a tvar. Anyway, when not using p2pstdio,
that's not done; nor is it done for stderr from external special remotes
or other commands, so punted on the idea for now.

This commit was sponsored by mo on Patreon.
2018-06-12 14:59:05 -04:00
Joey Hess
90a3afb60f
adb: Android serial numbers are not all 16 characters long, so accept other lengths.
I can't find any documentation of how long it should be. Hard to imagine
it being shorter than 4 characters though, so put that in as a conservative
lower bound.

This commit was sponsored by Nick Piper on Patreon.
2018-06-12 13:56:01 -04:00
Joey Hess
98168e8f2e
Merge branch 'master' of ssh://git-annex.branchable.com 2018-06-12 12:55:41 -04:00
Joey Hess
b0492384bb
response 2018-06-12 12:54:29 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
75e4e45bea 2018-06-12 16:46:40 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
eca49304fe 2018-06-12 16:46:22 +00:00
Joey Hess
1694642969
document that multiple groupwanted are not combined 2018-06-12 12:44:53 -04:00
Joey Hess
e615357bdd
response 2018-06-12 12:16:18 -04:00
Rizwan
a9d271a616 Added a comment: Are these methods still working? 2018-06-12 14:58:03 +00:00
madapeedikakkaran@2c5c8bb4520ebf2526afb49c8dcbcb60fb295973
80917c2958 Added a comment: Termux Error 2018-06-12 11:54:02 +00:00
ghen1
0c5b4582a6 2018-06-11 03:29:06 +00:00
Joey Hess
e489b28bd7
Merge branch 'master' of ssh://git-annex.branchable.com 2018-06-08 12:03:53 -04:00
Joey Hess
c3c28f7617
add GETINFO to external protocol (for ronnypfa)
External special remotes can now add info to `git annex info $remote`, by
replying to the GETINFO message.

Had to generalize some helpers to allow consuming multiple messages from
the remote.

The code added to Remote/* here is AGPL licensed, thus changed the license
of the files.

This commit was sponsored by Jake Vosloo on Patreon.
2018-06-08 11:56:24 -04:00
yves.noirjean@3f9b06d19a920fbf5c82340c362e5971b00d4af2
2b45511bd5 Added a comment 2018-06-08 15:17:17 +00:00
yves.noirjean@3f9b06d19a920fbf5c82340c362e5971b00d4af2
8397151b2b 2018-06-08 13:03:20 +00:00
yves.noirjean@3f9b06d19a920fbf5c82340c362e5971b00d4af2
cb57900e7a 2018-06-08 13:02:34 +00:00
sudoman
8cba78f266 initial but submission 2018-06-05 22:08:57 +00:00
Joey Hess
0f566ed242
removal of the rest of remoteGitConfig
In keyUrls, the GitConfig is used only by annexLocations
to support configured Differences. Since such configurations affect all
clones of a repository, the local repo's GitConfig must have the same
information as the remote's GitConfig would have. So, used getGitConfig
to get the local GitConfig, which is cached and so available cheaply.

That actually fixed a bug noone had ever noticed: keyUrls is
used for remotes accessed over http. The full git config of such a
remote is normally not available, so the remoteGitConfig that keyUrls
used would not have the necessary information in it.

In copyFromRemoteCheap', it uses gitAnnexLocation,
which does need the GitConfig of the remote repo itself in order to
check if it's crippled, supports symlinks, etc. So, made the
State include that GitConfig, cached. The use of gitAnnexLocation is
within a (not $ Git.repoIsUrl repo) guard, so it's local, and so
its git config will always be read and available.

(Note that gitAnnexLocation in turn calls annexLocations, so the
Differences config it uses in this case comes from the remote repo's
GitConfig and not from the local repo's GitConfig. As explained above
this is ok since they must have the same value.)

Not very happy with this mess of different GitConfigs not type-safe and
some read only sometimes etc. Very hairy. Think I got it this change
right. Test suite passes..

This commit was sponsored by Ethan Aubin.
2018-06-05 14:48:37 -04:00
Joey Hess
a5f598a6aa
remove use of remoteGitConfig
Unfortunately one more use remains..

This should be just as fast as the other method. The remote's Git.Repo
has already had its config read, so Annex.new's call to Git.Config.read
is a noop.

Thid commit was sponsored by andrea rota.
2018-06-05 13:15:04 -04:00
Joey Hess
fc5888300f
fix annex-checkuuid
Fixed annex-checkuuid implementation, so that remotes configured that way
can be used. This was 100% broken from the first commit of it, oops.

This commit was sponsored by Øyvind Andersen Holm.
2018-06-04 16:52:22 -04:00
Joey Hess
f1303e9146
close 2018-06-04 16:52:10 -04:00
Joey Hess
c3e1d0550f
fix incorrect comment 2018-06-04 16:50:53 -04:00
ypid
8afefb9ebe Added a comment 2018-06-04 19:42:30 +00:00
Joey Hess
67e46229a5
change Remote.repo to Remote.getRepo
This is groundwork for letting a repo be instantiated the first time
it's actually used, instead of at startup.

The only behavior change is that some old special cases for xmpp remotes
were removed. Where before git-annex silently did nothing with those
no-longer supported remotes, it may now fail in some way.

The additional IO action should have no performance impact as long as
it's simply return.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon
2018-06-04 15:30:26 -04:00
Joey Hess
dc5550a54e
analysis 2018-06-04 13:14:20 -04:00
Joey Hess
2e6a6024c2
avoid unncessary version output differences in different contexts
Show operating system and repository version list when run outside
a git repo too.

Also made it only display the local repository version when in a git-annex
repo. Before it showed "unknown" when run in a git repo that was not
git-annex initialized. That seemed like confusing behavior.

This commit was sponsored by Jochen Bartl on Patreon.
2018-06-04 12:26:18 -04:00
Joey Hess
95f7295b67
followup 2018-06-04 12:12:56 -04:00
Joey Hess
ac06c34d05
update 2018-06-04 10:22:13 -04:00
davicastro
86f41ce2f9 Added a comment: Consequences of this error message 2018-06-04 14:16:23 +00:00
RonnyPfannschmidt
c197077e89 Added a comment: the remote im working on 2018-06-04 07:51:57 +00:00
ypid
37ca93b834 2018-06-03 13:08:33 +00:00
ypid
2d13c23112 Fix typo in bug report 2018-06-03 12:50:27 +00:00
ypid
b00415a3ff Create bug report: Operating system should be contained in git annex version output 2018-06-03 12:48:47 +00:00
ypid
951b3375bd Fix spelling in doc/design/iabackup.mdwn 2018-06-03 12:28:26 +00:00
sawmke
6eecfb19e6 2018-06-02 17:24:14 +00:00
cbaines
d4a610222b Add Guix to the installation instructions, as there is now package available! 2018-06-01 14:38:16 +00:00
cbaines
5ab9875fa3 Add install page for Guix 2018-06-01 14:37:08 +00:00
andrew
493b80efb0 Added a comment 2018-05-31 17:43:21 +00:00
andrew
6b711948d1 Added a comment 2018-05-31 17:39:10 +00:00
Joey Hess
8016dc2f31
response 2018-05-31 11:51:37 -04:00
Joey Hess
f09a235c87
Merge branch 'master' of ssh://git-annex.branchable.com 2018-05-31 11:49:35 -04:00
Joey Hess
0c803eee71
list all (non-archived) done bugs, not only most recent 10 2018-05-31 11:48:53 -04:00
andrew
008fd0d536 Added a comment: bare remotes, workflow 2018-05-31 12:50:55 +00:00
marek@33e8ba4fbc201af14a2badcc0656024401f5c916
abd3e65f34 Added a comment: Fixed a first problem and then ran into bigger problems 2018-05-31 09:29:30 +00:00
marek@33e8ba4fbc201af14a2badcc0656024401f5c916
bfabce7895 removed 2018-05-31 09:23:20 +00:00
marek@33e8ba4fbc201af14a2badcc0656024401f5c916
fea798acd8 Added a comment: Quick fix 2018-05-31 09:22:57 +00:00
jasonb885
57411ecafd 2018-05-31 04:19:20 +00:00
jasonb885
5c6b80c442 2018-05-31 04:17:13 +00:00
andrew
624fb46b03 Added a comment 2018-05-31 03:15:37 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
dffb0c1f5a Added a comment 2018-05-30 17:36:31 +00:00
andrew
c1c9d95595 2018-05-30 17:12:46 +00:00
Joey Hess
88b9ebe4a2
response 2018-05-30 12:31:24 -04:00
Joey Hess
1c8ee99b46
Fix build with ghc 8.4+, which broke due to the Semigroup Monoid change
https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid

I am not happy with the fragile pile of CPP boilerplate required to support
ghc back to 7.0, which git-annex still targets for both the android build
and the standalone build targeting old linux kernels. It makes me unlikely
to want to use Semigroup more in git-annex, because the benefit of the
abstraction is swamped by the ugliness. I actually considered ripping out
all the Semigroup instances, but some are needed to use
optparse-applicative.

The problem, I think, is they made this transaction on too fast a timeline.
(Although ironically, work on it started in 2015 or earlier!)
In particular, Debian oldstable is not out of security support, and it's
not possible to follow the simpler workarounds documented on the wiki and
have it build on oldstable (because the semigroups package in it is too
old).

I have only tested this build with ghc 8.2.2, not the newer and older
versions that branches of the CPP support. So there could be typoes, we'll
see.

This commit was sponsored by Brock Spratlen on Patreon.
2018-05-30 12:28:43 -04:00
Joey Hess
519c693030
Merge branch 'master' of ssh://git-annex.branchable.com 2018-05-30 11:30:29 -04:00
joseph.rawson.works@85a210ab8c0e37a0b2d6bb235738b20e23e8878f
b04b96d824 Added a comment: Using youtube-dl commandline options with git-annex-addurl 2018-05-30 15:29:16 +00:00
Joey Hess
7346301e3b
Merge branch 'master' of ssh://git-annex.branchable.com 2018-05-30 11:28:53 -04:00
Joey Hess
ecd534f1ee
response 2018-05-30 11:28:38 -04:00
Joey Hess
b23c54fbb3
Revert "response"
This reverts commit 96373a8555.

Contained unrelated change.
2018-05-30 11:27:54 -04:00
Joey Hess
96373a8555
response 2018-05-30 11:27:32 -04:00
andrew
ec4c867787 Added a comment 2018-05-30 15:24:47 +00:00
andrew
f471c81da9 2018-05-30 15:11:41 +00:00
andrew
8ff0462ffa Added a comment 2018-05-30 14:43:38 +00:00
marek@33e8ba4fbc201af14a2badcc0656024401f5c916
6ff01b3bfc 2018-05-30 10:32:02 +00:00
marek@33e8ba4fbc201af14a2badcc0656024401f5c916
15f6e1a96b 2018-05-30 10:31:15 +00:00
ilovezfs
cfd81b83a7 2018-05-30 06:08:11 +00:00
Joey Hess
2d3b64c920
add news item for git-annex 6.20180529 2018-05-29 13:07:19 -04:00
Joey Hess
2c8da1432f
comment 2018-05-29 13:01:24 -04:00
Joey Hess
1552f8a30c
followup 2018-05-29 12:51:11 -04:00
unqueued
5300386c2b Added a comment 2018-05-28 14:55:34 +00:00
unqueued
23450148be Added a comment 2018-05-28 14:46:04 +00:00
unqueued
c59b3f4fe5 2018-05-28 14:35:20 +00:00
https://christian.amsuess.com/chrysn
6620c1704a Added a comment: append-only and gitolite 2018-05-28 11:47:14 +00:00
Joey Hess
c3064edac9
setpresentkey: Added --batch support (for ronnypfa)
This commit was sponsored by Peter on Patreon.
2018-05-27 14:56:14 -04:00
Joey Hess
940444994e
idea 2018-05-25 16:13:13 -04:00
Joey Hess
10f717f2db
Merge branch 'master' of ssh://git-annex.branchable.com 2018-05-25 13:18:28 -04:00
Joey Hess
85f9360d9b
GIT_ANNEX_SHELL_APPENDONLY
Makes it allow writes, but not deletion of annexed content. Note that
securing pushes to the git repository is left up to the user.

This commit was sponsored by Jack Hill on Patreon.
2018-05-25 13:17:56 -04:00
Joey Hess
0003109f5d
reword to cover the p2psdtio readonly case
p2pstdio is allowed in readonly mode, and itself blocks writes
2018-05-25 12:16:11 -04:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
0b328c8a35 Added a comment 2018-05-24 19:28:28 +00:00
Joey Hess
15129bac9b
2018 update 2018-05-23 15:44:29 -04:00
Joey Hess
28997e91c8
Merge branch 'master' of ssh://git-annex.branchable.com 2018-05-23 14:10:28 -04:00
Joey Hess
2da2ae0919
fix migration bug and make fsck warn
* migrate: Fix bug in migration between eg SHA256 and SHA256E,
  that caused the extension to be included in SHA256 keys,
  and omitted from SHA256E keys.
  (Bug introduced in version 6.20170214)
* migrate: Check for above bug when migrating from SHA256 to SHA256
  (and same for SHA1 to SHA1 etc), and remove the extension that should
  not be in the SHA256 key.
* fsck: Detect and warn when keys need an upgrade, either to fix up
  from the above migrate bug, or to add missing size information
  (a long ago transition), or because of a few other past key related
  bugs.

This commit was sponsored by Henrik Riomar on Patreon.
2018-05-23 14:07:51 -04:00
Joey Hess
deff25549a
followup 2018-05-23 13:10:16 -04:00
https://christian.amsuess.com/chrysn
cd72f1b6e2 Added a comment: Re: proot 2018-05-23 17:05:54 +00:00
andrew
c51d997f0c Added a comment 2018-05-23 16:01:18 +00:00
https://christian.amsuess.com/chrysn
97960ae56b Added a comment: Re: use case 2018-05-23 07:56:34 +00:00
andrew
078e41f02e Added a comment: use case 2018-05-23 00:12:11 +00:00
andrew
f7a474124b removed 2018-05-23 00:05:27 +00:00
andrew
14e89513ff removed 2018-05-23 00:04:59 +00:00
anarcat
f08c6c6289 mark as done 2018-05-22 20:56:32 +00:00
anarcat
ac7fbfac03 Added a comment 2018-05-22 20:54:13 +00:00
Joey Hess
41cf6f3d17
followup 2018-05-22 15:57:59 -04:00
andrew
80949eecb2 Added a comment 2018-05-22 19:22:26 +00:00
andrew
1bcf81f7b9 Added a comment: use case 2018-05-22 19:20:25 +00:00
yarikoptic
834d3dfff0 just rewording the desire of the master to have a discussion 2018-05-22 17:26:12 +00:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
db2def89fe 2018-05-22 05:18:34 +00:00
Joey Hess
94310e2fc7
Merge branch 'master' of ssh://git-annex.branchable.com 2018-05-21 15:19:03 -04:00
Joey Hess
caaedb2993
fix http-client gzip decompression bug
Prevent haskell http-client from decompressing gzip files, so downloads of
such files works the same as it used to with wget and curl.

Explicitly setting accept-encoding to "identity" is probably not needed,
but that's what wget sends (curl does not send the header), and since
http-client is trying to be excessively smart, it seems we need to set
hAcceptEncoding to something to prevent it from inserting its own,
and this seems better than some hack like "".

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-05-21 15:10:25 -04:00
Joey Hess
f9e3bcdeb8
close 2018-05-21 15:06:29 -04:00
rrnewton@63c9faa1997c908b1dc04dfdca33c809660cd158
0e3bebd710 Added a comment: Sounds great! 2018-05-21 18:09:35 +00:00
Joey Hess
2fabd7cdb5
remove the older move --force, which never behaved as documented and seems useless
* move: --force was accidentially enabling two unrelated behaviors
  since 6.20180427. The older behavior, which has never been well
  documented and seems almost entirely useless, has been removed.
* copy: --force no longer does anything.

This commit was sponsored by Øyvind Andersen Holm.
2018-05-21 13:21:19 -04:00
Joey Hess
ca6f5be284
followup 2018-05-21 12:51:55 -04:00
Joey Hess
9a9fa06d12
response 2018-05-21 12:40:12 -04:00
Joey Hess
e3c224913e
analysis 2018-05-21 12:14:30 -04:00
rrnewton@63c9faa1997c908b1dc04dfdca33c809660cd158
3a92483851 Added a comment: Flag to force same behavior as annex.largefiles attribute? 2018-05-21 05:29:06 +00:00
rrnewton@63c9faa1997c908b1dc04dfdca33c809660cd158
6a0379a056 tweak url 2018-05-21 05:13:10 +00:00
rrnewton@63c9faa1997c908b1dc04dfdca33c809660cd158
647745bb84 2018-05-21 05:12:20 +00:00
andrew
a34f982e7a Added a comment: thoughts? 2018-05-20 17:41:29 +00:00
sorsasampo@35b3d76c4c73ffc3f2c89e965c47a3f6a2721228
38caaee8fc 2018-05-20 03:45:06 +00:00
allforabit
3e7e0901df Added a comment: Apologies 2018-05-19 23:48:06 +00:00
allforabit
4cadb44c4a removed 2018-05-19 23:41:19 +00:00
allforabit
2c7ad5d80d removed 2018-05-19 23:40:54 +00:00
https://openid-provider.appspot.com/iakornfeld
c97a6f9997 2018-05-18 14:02:29 +00:00
CandyAngel
5cbce5f308 2018-05-18 08:55:31 +00:00
spwhitton
d3117290cd Added a comment: patches welcome 2018-05-17 21:31:01 +00:00
anarcat
fa0c98d8de Added a comment: headless configs 2018-05-17 21:02:32 +00:00
anarcat
2c6c77bc16 Added a comment: .gitconfig was the cause, git-remote-gcrypt probably at fault 2018-05-17 20:42:37 +00:00
CandyAngel
295447a406 Added a comment 2018-05-17 20:21:47 +00:00
CandyAngel
4156c13221 Added a comment 2018-05-17 20:15:14 +00:00
spwhitton
d43e44e3e5 Added a comment: analysis 2018-05-17 19:49:04 +00:00
CandyAngel
1d58205284 Added a comment 2018-05-17 19:14:25 +00:00
anarcat
8f226fb7bd cross-ref with append-only 2018-05-17 18:15:14 +00:00
anarcat
990bb3085e another untrusted client idea 2018-05-17 18:14:17 +00:00
anarcat
e753c7de4f update: git repo now available. the previous paste expired, sorry about that. 2018-05-17 18:06:40 +00:00
anarcat
78a0bf4814 reproduced with remote-gcrypt 1.1 2018-05-17 17:39:35 +00:00
anarcat
fce32e6cd4 /dev/random is not necessary in git-annex 2018-05-17 17:38:41 +00:00
anarcat
fc68caa435 problems using gcrypt remote for basic stuff 2018-05-17 17:27:27 +00:00
https://christian.amsuess.com/chrysn
76014cc897 Notes from starting to use git-annex in termux 2018-05-17 09:48:23 +00:00
CandyAngel
bcf732aca5 2018-05-16 21:58:53 +00:00
https://christian.amsuess.com/chrysn
357680620f Added a comment: Platform addendum for "Debugging "No such file or directory"" 2018-05-15 20:29:57 +00:00