Commit graph

31895 commits

Author SHA1 Message Date
Joey Hess
d135705b32
close 2018-05-15 12:03:43 -04:00
Joey Hess
60780a8605
close since anarcat thinks inprogress is good enough 2018-05-15 12:01:30 -04:00
Joey Hess
fbfb2b85ec
close 2018-05-15 12:00:50 -04:00
Joey Hess
d39457035b
response 2018-05-15 11:56:45 -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
442e607b0a
Don't allow entering a view with staged or unstaged changes.
In some cases, unstaged changes are safe, eg dotfiles in the top which
are not affected by a view. Or non-annexed files in general which would
prevent view branch checkout from proceeding. But in other cases,
particularly unstaged changes to annexed files, entering a view would wipe
out those changes! And so don't allow entering a view with any unstaged
changes.

Staged changes are not safe when entering a view, because the changes get
committed to the view branch, and so the user is unlikely to remember them
when they exit the view, and so will effectively lose them, even if they're
still present in the view branch.

Also, improved the git status parser, although the improvement turned out
to not really be needed.

This commit was sponsored by Eric Drechsel on Patreon.
2018-05-14 16:51:06 -04: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
0b7f6d24d3
rename BlobType and add submodule to it
This was badly named, it's a not a blob necessarily, but anything that a
tree can refer to.

Also removed the Show instance which was used for serialization to git
format, instead use fmtTreeItemType.

This commit was supported by the NSF-funded DataLad project.
2018-05-14 14:45:41 -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
spwhitton
00de253d83 Added a comment 2018-05-10 17:51:35 +00: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
CandyAngel
c467ac1775 Added a comment 2018-05-10 10:23:49 +00:00
Joey Hess
86958fda5d
fix build with old http-client 2018-05-10 00:22:23 -04:00
Joey Hess
e8ffa8d54b
link to release build 2018-05-09 16:46:17 -04:00
Joey Hess
4cd24b1fd7
add news item for git-annex 6.20180509 2018-05-09 16:21:10 -04:00
Joey Hess
0632c49c22
releasing package git-annex version 6.20180509 2018-05-09 16:20:43 -04:00
Joey Hess
a0d0436185
response 2018-05-09 16:20:07 -04:00
iakornfeld@eaf45f0b645324dd9f1f57f226377caddf86a80e
dcc70dcb23 Added a comment: Git 2018-05-09 13:51:56 +00:00
yarikoptic
d801a33184 Added a comment: details 2018-05-09 01:12:31 +00:00
Joey Hess
045a520baf
devblog 2018-05-08 16:37:45 -04: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
7dc28dc705
Support building with hinotify-0.3.10.
Kept backwards compat with old versions via a shim.

This commit was sponsored by mo on Patreon.
2018-05-08 14:43:06 -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
c35a4c61c5
move toward deprecating old android app for termux 2018-05-08 13:55:20 -04:00
Joey Hess
71f450f677
use proot to support Android 8
runshell: Use proot when running on Android, to work around Android 8's
ill-advised seccomp filtering of system calls, including ones crucial for
reliable thread locking. (This will only work with termux's version of
proot.)

See https://github.com/termux/termux-packages/issues/420#issuecomment-386636938

This commit was sponsored by andrea rota.
2018-05-08 13:55:10 -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
yarikoptic
348c6d56f9 added my meta 2018-05-08 02:43:38 +00:00
yarikoptic
c8451f14f6 2018-05-08 01:56:04 +00:00
yarikoptic
c85cb8e9f0 initial report on problem fetching from web within docker container 2018-05-06 15:44:55 +00:00
ga@2217a6e07239bc6b36af2a9134b2647fdebcabcd
59ae9f3f85 Added a comment: Same error 2018-05-05 05:28:35 +00:00
andrew
50d01784b3 Added a comment 2018-05-04 16:00:59 +00:00
andrew
a2e9f8a06d Added a comment 2018-05-04 15:58:59 +00:00
andrew
abf7436e43 Added a comment 2018-05-04 15:00:18 +00:00
andrew
fd135b1e40 2018-05-04 13:48:51 +00:00
yarikoptic
cdb9a11a64 initial report 2018-05-04 03:08:51 +00:00
andrew
701645273b Added a comment 2018-05-03 19:56:03 +00:00
andrew
a6492ecdcc Added a comment: test PageSpec 2018-05-03 15:32:16 +00:00
andrew
b2c2840cfa Added a comment 2018-05-03 15:16:59 +00:00
allforabit
0d2527e67b Added a comment 2018-05-01 17:49:32 +00:00
Joey Hess
393fc79d58
comment 2018-04-30 16:12:33 -04:00
Joey Hess
c0b5ada848
response 2018-04-30 16:07:47 -04:00
Joey Hess
07ba2b0b56
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-30 16:06:01 -04:00