Commit graph

8220 commits

Author SHA1 Message Date
sawmke
6eecfb19e6 2018-06-02 17:24:14 +00: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
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
dffb0c1f5a Added a comment 2018-05-30 17:36:31 +00: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
andrew
ec4c867787 Added a comment 2018-05-30 15:24:47 +00:00
ilovezfs
cfd81b83a7 2018-05-30 06:08:11 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
0b328c8a35 Added a comment 2018-05-24 19:28:28 +00: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
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
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
db2def89fe 2018-05-22 05:18:34 +00: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
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
e3c224913e
analysis 2018-05-21 12:14:30 -04: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
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
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
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
78a0bf4814 reproduced with remote-gcrypt 1.1 2018-05-17 17:39:35 +00:00
anarcat
fc68caa435 problems using gcrypt remote for basic stuff 2018-05-17 17:27:27 +00:00
CandyAngel
bcf732aca5 2018-05-16 21:58:53 +00:00
https://openid-provider.appspot.com/iakornfeld
65f55e448c Added a comment: Looking at code 2018-05-15 19:01:10 +00:00
Joey Hess
8c8e1f8b7a
close 2018-05-15 12:07:35 -04:00
Joey Hess
2463d4b855
response 2018-05-15 11:54:02 -04:00
https://openid-provider.appspot.com/iakornfeld
47ff8fa976 more failures to copy/paste 2018-05-15 15:15:37 +00:00
https://openid-provider.appspot.com/iakornfeld
5ed04a326a Added a comment: Another weird bit 2018-05-15 14:59:42 +00:00
https://openid-provider.appspot.com/iakornfeld
28c1348140 fix failure to copy/paste 2018-05-15 14:56:54 +00:00
https://openid-provider.appspot.com/iakornfeld
24959e9acd 2018-05-15 14:55:14 +00:00
Joey Hess
d7021d420f
reuse hashes of dotfiles/dirs/submodules when entering view
This fixes a crash when a git submodule has a name starting with a dot.
Such a submodule might contain dotfiles that are intended to be used when
inside the view (since a dot-directory that's not a submodule was already
preserved when entering a view). So, rather than eliminating the submodule
from the view, its git ls-files --stage hash is copied over into the view.

dotfiles/dirs have their git ls-files --stage hashes similarly copied over
to the view. This is more efficient and simpler than the old method,
and also won't break if git ever adds a new type of tree item, like was
done with submodules.

Since the content of dotfiles in the working tree is no longer hashed
when entering a view, when there are unstaged modifications, they are
not included in the view branch. Entering the view branch still works,
but git checkout shows "M .dotfile", and git diff will show the unstaged
changes. This seems like an improvement over the old behavior.

Also made Command.View not delete empty directories that are submodules
when entering a view, while still deleting other empty directories.

This commit was supported by the NSF-funded DataLad project.
2018-05-14 15:35:20 -04:00
Joey Hess
a732004616
update 2018-05-14 13:18:20 -04:00
Joey Hess
6fffcccb53
followup 2018-05-14 13:15:27 -04:00
gdkags@28c74e22834edcf63c178e595b8649e5af5151d4
e646b22fd2 Added a comment: fine with me! 2018-05-10 13:02:23 +00:00
ga@2217a6e07239bc6b36af2a9134b2647fdebcabcd
61d083765e Added a comment: Arm processor on Synology device 2018-05-10 11:07:44 +00:00
yarikoptic
d801a33184 Added a comment: details 2018-05-09 01:12:31 +00:00
Joey Hess
db720f6a9c
Display error message when http download fails.
* Display error message when http download fails.

  There's nothing in the http-client library to nicely format a http
  exception, so in some cases it has to fall back to using show on it.
  Seems better than just saying "it failed" or only showing the http
  status code.

* Avoid forward retry when 0 bytes were received.

  forwardRetry was comparing Nothing to Just 0, and so thought there had
  been progress made when 0 bytes were received.

This commit was supported by the NSF-funded DataLad project.
2018-05-08 16:11:45 -04:00
Joey Hess
c0ffd02ac5
close almost all old Android app bug reports
The old git-annex Android app is now deprecated in favor of running
git-annex in termux. I suspect all or nearly all of these no longer apply.

This commit was sponsored by Jochen Bartl on Patreon.
2018-05-08 15:00:46 -04:00
Joey Hess
2948f6d916
avoid uname -o on !linux and catch any exception from it
Fix bug in last release that prevented the webapp opening on non-Linux systems.

This commit was sponsored by Jake Vosloo on Patreon.
2018-05-08 14:06:19 -04:00
Joey Hess
b2e03bb428
followup 2018-05-08 14:00:13 -04:00
Joey Hess
d1961e4498
back out incorrect IO interleaving change
Fix regression in last release that crashes when using --all or running
git-annex in a bare repository. May have also affected git-annex unused and
git-annex info.

Reversed the order of the (++) in Annex.Branch.files so --all will stream
lazily still when there are not a bunch of uncommitted journal files.
Added a todo to maybe improve this later.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-05-08 13:54:42 -04:00