Commit graph

8756 commits

Author SHA1 Message Date
Joey Hess
0cb6d14383
followup 2018-11-05 12:34:27 -04:00
yarikoptic
13f9e79df1 removed 2018-11-05 16:03:47 +00:00
yarikoptic
02c74a0dfd Added a comment 2018-11-05 16:00:53 +00:00
yarikoptic
eb218d4e59 Added a comment 2018-11-05 15:57:17 +00:00
Joey Hess
42f1ea72de
followup 2018-11-05 11:47:58 -04:00
Joey Hess
cb69b77625
fix link 2018-11-05 11:39:04 -04:00
anarcat
16cbeb6aff Added a comment: oops 2018-11-03 19:52:48 +00:00
spwhitton
f09f846fea Added a comment 2018-11-03 19:41:32 +00:00
anarcat
4241de01c8 p2pstdio doesn't exist in stretch and buster doesn't degrade gracefully 2018-11-03 19:30:29 +00:00
yarikoptic
c6cb372a9d Added a comment: tests fail - can't build to test the change 2018-11-02 21:51:16 +00:00
yarikoptic
4d24b712b0 Added a comment 2018-11-02 19:58:06 +00:00
Joey Hess
0c05b92b7c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-02 13:45:57 -04:00
Joey Hess
c371a8b10e
followup 2018-11-02 13:42:57 -04:00
andrew
af385e2d34 Added a comment 2018-11-01 12:15:35 +00:00
andrew
937d9d545a Added a comment 2018-11-01 12:02:59 +00:00
yarikoptic
0753ad46c2 It was "user error", things work now properlyish 2018-11-01 03:53:02 +00:00
Joey Hess
37d00ca671
response 2018-10-31 13:50:51 -04:00
Adam.Schmalhofer@245dc7fa3c05299fc8973ae4241bcab07cd36140
506283c3f9 initial issue description 2018-10-31 15:51:04 +00:00
Ilya_Shlyakhter
8673c18f41 removed 2018-10-31 14:53:50 +00:00
Joey Hess
1428568554
retry when sqlite throws ErrorIO
I suspect this may be due to SQLITE_IOERR_SHORT_READ, but have not
verified.

I was able to reproduce it on Linux after running the test suite in a loop
for 1-3 hours until it failed.

The WAL mode entry change in 3963c5fcf5
may have hidden the problem I was seeing; I have not seen an ErrorIO
since then.
2018-10-30 18:06:38 -04:00
Ilya_Shlyakhter
24419efa35 Added a comment 2018-10-29 21:10:29 +00:00
Ilya_Shlyakhter
6b5f2ecf0e Added a comment 2018-10-29 21:08:55 +00:00
Joey Hess
7a050660d6
ummmmm 2018-10-29 16:48:02 -04:00
Joey Hess
4431b82bce
migrate: Fix failure to migrate from URL keys. (Reversion introduced in version 6.20180926) 2018-10-29 16:36:36 -04:00
Joey Hess
d73f92d8bc
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-29 16:01:46 -04:00
Joey Hess
c472c268c4
webapp: Fixed a crash when adding a git remote.
Reversion introduced in 2b66492d6e which added a new cache that needs to be
cleared.
2018-10-29 16:01:08 -04:00
Ilya_Shlyakhter
b6e90fd18a Added a comment 2018-10-29 19:48:36 +00:00
Ilya_Shlyakhter
9b268cdcc9 added git-annex-migrate failure 2018-10-29 19:22:24 +00:00
Joey Hess
64a369a1e2
followup 2018-10-29 15:14:34 -04:00
Joey Hess
e32282aa2c
followup 2018-10-29 15:11:40 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
8e2834e5b4 2018-10-28 15:00:59 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
46f65cc657 2018-10-28 14:55:13 +00:00
Joey Hess
6fd37fb016
Merge branch 'v7' 2018-10-26 13:52:09 -04:00
Joey Hess
3af29b3ba9
When annex.thin is set, allow hard links to be made between executable work tree files and annex objects.
This is safe, because while the annex object ends up executable,
there were already at least two other cases where it ended up executable:

1. git add an an executable file
2. chmod +x of a a non-executable worktree file that was hard linked to the
   annex object

After copy/hard link, it always fixes up the permissions to match the mode
of the worktree file, so when an executable annex object gets hard linked
to a non-executable worktree file, its execute bit gets removed.

Commit b7c8bf5274 already *said* it would do
this; I suspect the line of code I've removed was included in that commit
accidentially.

Also improves annex.thin documentation.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2018-10-26 13:51:43 -04:00
Joey Hess
c7885491b2
clarifications 2018-10-26 13:51:15 -04:00
Joey Hess
e7e9c5744f
followup 2018-10-26 13:12:06 -04:00
Joey Hess
361740a112
close bug report, open todo item 2018-10-26 13:03:18 -04:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
accc753eaf Added a comment 2018-10-25 21:00:32 +00:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
03e375fc65 Added a comment 2018-10-25 10:23:50 +00:00
Ilya_Shlyakhter
6d695f51cf added bug - creating git-annex-move not using parallelism? 2018-10-24 18:32:21 +00:00
Ilya_Shlyakhter
2ffa54ea71 added report of a multithreading-related bug with git-annex-drop 2018-10-24 17:08:38 +00:00
Ilya_Shlyakhter
859509fbb3 Added a comment 2018-10-24 16:01:53 +00:00
seantparsons
9505cd52be 2018-10-23 20:19:55 +00:00
yarikoptic
e7877cce84 Added a comment 2018-10-23 03:04:49 +00:00
Joey Hess
94aa0e2f64
fix strange test failure
It was trying to git annex adjust when in a direct mode repo, and that
of course fails. What I don't understand though, is how the test suite
managed to work before, when it was clearly checking the wrong thing.
Since the right way to fix it was obvious, I have not bisected.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-10-22 16:51:09 -04:00
yarikoptic
0e7c2655d9 Added a comment 2018-10-22 20:07:38 +00:00
Joey Hess
ede54b93ea
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-22 15:56:01 -04:00
Joey Hess
08b7ac6643
followup 2018-10-22 15:55:51 -04:00
Joey Hess
9fdd91816d
followup 2018-10-22 15:53:13 -04:00
Ilya_Shlyakhter
06007d795d Added a comment 2018-10-22 19:22:30 +00:00
yarikoptic
1cfd2c2b96 initial report on FTBS 2018-10-22 18:20:14 +00:00
yarikoptic
8a9d505409 Added a comment: stalling - also with =false 2018-10-22 17:34:28 +00:00
Joey Hess
ba0bbced51
source git-annex-install so it it can add git-annex to PATH
This commit was sponsored by Jack Hill on Patreon.
2018-10-22 13:22:10 -04:00
Joey Hess
ff9ba1f4d3
improve response 2018-10-22 13:10:17 -04:00
Joey Hess
41d6966747
followup 2018-10-22 13:07:40 -04:00
Joey Hess
d6b2468b4c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-22 13:01:06 -04:00
Joey Hess
c24e255de1
Fix concurrency bug that occurred on the first download from an exporttree remote
Block other threads while the export database is being constructed (or
updated) by the first thread to try to access it.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-10-22 12:59:10 -04:00
Joey Hess
3286e68063
analysis 2018-10-22 12:39:31 -04:00
Joey Hess
5012f07630
followup 2018-10-22 12:34:26 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
1728d59a2b 2018-10-21 23:06:33 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
8d9680c662 2018-10-21 22:52:54 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
c94e62cab5 Added a comment 2018-10-18 23:34:27 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
82040ae2aa Added a comment 2018-10-18 20:18:01 +00:00
Joey Hess
5ddfd4f524
response 2018-10-18 15:52:48 -04:00
g@aaed65f19d6c3a2a18c33da828e66c7bb915e65a
435108a688 Added a comment: workaround: setting LC_ALL=C 2018-10-18 08:55:19 +00:00
ewen
177a8f9716 Added a comment: Synology NAS 6.2.1-23824 2018-10-18 00:00:34 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
474a9d7258 Added a comment 2018-10-17 22:07:15 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
9f740c4613 2018-10-17 21:41:10 +00:00
Joey Hess
b2bafdb2fc
v6: Fix database inconsistency
That could cause git-annex to get confused about whether a locked file's
content was present, when the object file got touched.

Unfortunately this means more work sometimes when annex.thin is set,
since it has to checksum the file to tell if it's still got the right
content.

Had to suppress output when inAnnex calls isUnmodified, otherwise
"(checksum...)" would be printed in places it ought not to be,
eg "git annex get" could turn out not need to get anything, and
so only display that.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-10-16 13:51:37 -04:00
Joey Hess
6498643caf
bug report 2018-10-16 11:41:12 -04:00
pz63@5ea0a27986d782e467e1ebef6eb31ba440cc58d5
fd8a599a83 Added a comment 2018-10-12 15:49:01 +00:00
yarikoptic
3e3b5e6226 initial report on the problem of parallel get from exporter remote 2018-10-11 23:40:56 +00:00
anarcat
ff8e03689d Added a comment 2018-10-09 21:49:02 +00:00
Joey Hess
ca200c561d
followup 2018-10-08 12:47:02 -04:00
Joey Hess
e21afbf5ea
followup 2018-10-08 12:08:40 -04:00
Joey Hess
7f04d03688
response 2018-10-08 12:04:57 -04:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
f834955d9c 2018-10-07 20:09:27 +00:00
anarcat
6f6ccc0a4a link to the owncloudannex error 2018-10-07 18:04:47 +00:00
anarcat
9bb63b8171 cannot operate a webdav server hosted in a subdirectory 2018-10-07 18:00:35 +00:00
yarikoptic
cf9cd4f3d2 Added a comment 2018-10-05 04:30:31 +00:00
Joey Hess
6edad9be08
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-04 17:37:40 -04:00
Joey Hess
451171b7c1
clean up url removal presence update
* rmurl: Fix a case where removing the last url left git-annex thinking
  content was still present in the web special remote.
* SETURLPRESENT, SETURIPRESENT, SETURLMISSING, and SETURIMISSING
  used to update the presence information of the external special remote
  that called them; this was not documented behavior and is no longer done.

Done by making setUrlPresent and setUrlMissing only update presence info
for the web, and only when the url is a web url. See the comment for
reasoning about why that's the right thing to do.

In AddUrl, had to make it update location tracking, to handle the
non-web-url case.

This commit was sponsored by Ewen McNeill on Patreon.
2018-10-04 17:35:49 -04:00
yarikoptic
0d00230ca2 Added a comment: reporting back 2018-10-04 20:37:53 +00:00
Joey Hess
ca66e7b66a
followup 2018-10-04 15:53:33 -04:00
Joey Hess
d4bab34897
close 2018-10-04 15:33:37 -04:00
Joey Hess
99a24af0e7
close, not a bug in git-annex 2018-10-04 15:25:03 -04:00
Joey Hess
feff67aa63
response 2018-10-04 15:18:22 -04:00
Joey Hess
50c999bfa3
seems to work as desired 2018-10-04 15:03:39 -04:00
Joey Hess
b12b341c6d
close dup 2018-10-04 14:46:43 -04:00
Joey Hess
39d3995787
response 2018-10-04 14:11:38 -04:00
Joey Hess
bf9af05867
comment 2018-10-04 13:07:31 -04:00
yarikoptic
f6243734e4 Added a comment 2018-10-03 20:58:09 +00:00
Joey Hess
a93773246b
followup 2018-10-03 15:49:35 -04:00
CandyAngel
3a5fda1314 Added a comment 2018-10-03 08:01:25 +00:00
palindromos
1ee14c51e4 2018-10-02 14:15:24 +00:00
yarikoptic
8df00a084a 2018-10-01 17:40:05 +00:00
yarikoptic
6e41f970e8 2018-10-01 17:25:13 +00:00
yarikoptic
e8e9299d7d initial findings on the "smart HTTP" and git-annex 2018-10-01 17:13:58 +00:00
stefankangas@2fc5a0baba35168e9f9b5b72d5204558fd964c32
e4e1428dfa Added a comment: Same issue on OSX / git-annex 6.20180807 2018-10-01 12:49:28 +00:00
yarikoptic
ee82a976da Added a comment: "minimal" reproducible case 2018-09-26 16:03:14 +00:00
yarikoptic
23785cd40e Added a comment 2018-09-26 13:47:36 +00:00
yarikoptic
e4ff6931e5 Added a comment 2018-09-26 00:10:41 +00:00
yarikoptic
613c3f7674 Added a comment: reproducible, no locking message, many "duplicate" files 2018-09-26 00:06:29 +00:00
yarikoptic
42c60101d8 Added a comment 2018-09-25 22:36:43 +00:00
yarikoptic
216c6daa30 Added a comment 2018-09-25 22:28:49 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
6415730acf Added a comment: Thanks 2018-09-25 19:52:03 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
152bcf582f I the missing verb ;) 2018-09-25 19:50:32 +00:00
Joey Hess
177e45517f
improve back-compat of post-receive hook
* init: Improve generated post-receive hook, so it won't fail when
  run on a system whose git-annex is too old to support git-annex post-receive
* init: Update the post-receive hook when re-run in an existing repository.

This commit was sponsored by Jack Hill on Patreon.
2018-09-25 15:02:12 -04:00
Joey Hess
ce67aeb52f
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-25 14:12:26 -04:00
Joey Hess
75d769d0f3
clean up old misplaced comment 2018-09-25 14:07:03 -04:00
Joey Hess
16cbecbd09
Revert "clean P2P protocol shutdown on EOF"
This reverts commit b18fb1e343.

That broke support for old git-annex-shell before p2pstdio was added.

The immediate problem is that postAuth had a fallthrough case
that sent an error back to the peer, but sending an error back when the
connection is closed is surely not going to work.

But thinking about it some more, making every function that uses receiveMessage
need to handle ProtocolEOF adds a lot of complication, so I don't want
to do that.

The commit only cleaned up the test suite output a tiny bit, so I'm just
gonna revert it for now.
2018-09-25 14:04:12 -04:00
yarikoptic
03c8fbd718 Added a comment 2018-09-25 17:58:25 +00:00
yarikoptic
3b906594cf Added a comment 2018-09-25 17:56:58 +00:00
yarikoptic
548390035d Added a comment: resolved! 2018-09-25 17:55:30 +00:00
Joey Hess
26a02cb386
display error when an invalid url is downloaded
download is documented as displaying an error when download fails, but
it didn't when the url was not valid at all. That leads to confusing
behavior.

Also, display the url with --debug
2018-09-25 13:38:20 -04:00
Joey Hess
0d9d3cc9c4
reproed 2018-09-25 13:18:45 -04:00
Joey Hess
58e5e01ba0
sheesh 2018-09-25 13:08:10 -04:00
Joey Hess
be3dcd80b0
followup 2018-09-25 13:04:09 -04:00
Joey Hess
7c874782ba
followup 2018-09-25 12:56:14 -04:00
Joey Hess
e05b143560
close, fixed in git 2018-09-25 12:54:17 -04:00
Joey Hess
df2518af5a
comment 2018-09-25 12:34:21 -04:00
yarikoptic
e2ff597850 Added a comment 2018-09-25 16:18:58 +00:00
yarikoptic
8ee8e14ae8 Added a comment 2018-09-25 16:15:54 +00:00
yarikoptic
42e000f45f Added a comment: same as another one? 2018-09-25 15:35:15 +00:00
yarikoptic
be7ef2c519 initial report about get'ing from exported public S3 2018-09-25 15:33:58 +00:00
yarikoptic
29ae96a191 Added a comment 2018-09-25 15:27:13 +00:00
Ilya_Shlyakhter
9e075fdbfa Added a comment 2018-09-25 15:24:55 +00:00
yarikoptic
b9016a7d7e initial report about stalling ssh 2018-09-25 13:48:39 +00:00
yarikoptic
42480e8ce6 impossible to login report 2018-09-25 13:37:33 +00:00
yarikoptic
abf3d8ea15 initial report about standalone out of date 2018-09-25 13:31:05 +00:00
yarikoptic
12e6d322ca Added a comment 2018-09-24 19:33:41 +00:00
Joey Hess
35db45a1a3
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-24 15:06:03 -04:00
Joey Hess
67615bda8d
thoughts 2018-09-24 15:05:41 -04:00
yarikoptic
3c4cb7e957 Added a comment 2018-09-24 18:05:15 +00:00
yarikoptic
81c51fae30 Added a comment: downgrading helped! 2018-09-24 17:56:42 +00:00
Joey Hess
09716835c6
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-24 13:21:54 -04:00
Joey Hess
cc82f81227
More FreeBSD build fixes.
Untested, on FreeBSD but enough to fix the listed build errors.

Seems that System.Posix.Files must have used to export this stuff and it
was split.

This commit was sponsored by Peter on Patreon.
2018-09-24 11:25:56 -04:00
gueux
ccd6e58b49 Added a comment 2018-09-24 09:03:13 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
28ee26e049 2018-09-23 21:34:51 +00:00
bremner
35d08f7cda Added a comment: Dropped the firewall, no change. Maybe it's IPv6? 2018-09-22 18:56:13 +00:00
bremner
22ec386970 removed 2018-09-22 18:39:21 +00:00
bremner
cbcb7d9fa1 Added a comment: Similar failure with one host running 6.20180913-1 2018-09-22 18:38:43 +00:00
bremner
5cadd08f42 Added a comment: Similar failure with one host running 6.20180913-1 2018-09-22 18:38:24 +00:00
yarikoptic
13dc117e9c initial report on fd:19: hClose: resource vanished 2018-09-22 03:30:54 +00:00
Joey Hess
2aae6e84af
Support newlines in filenames.
Work around git cat-file --batch's protocol not supporting newlines by
running git cat-file not batched and passing the filename as a
parameter.

Of course this is quite a lot less efficient, especially because it
currently runs it multiple times to query for different pieces of
information.

Also, it has subtly different behavior when the batch process was
started and then some changes were made, in which case the batch process
sees the old index but this workaround sees the current index. Since
that batch behavior is mostly a problem that affects the assistant and has
to be worked around in it, I think I can get away with this difference.

I don't know of any other problems with newlines in filenames, everything
else in git I can think of supports -z. And git-annex's json output
supports newlines in filenames so downstream parsers from git-annex will be ok.
git-annex commands that use --batch themselves don't support newlines
in input filenames; using --json --batch is currently a way around that
problem.

This commit was sponsored by Ewen McNeill on Patreon.
2018-09-20 13:45:44 -04:00
Ilya_Shlyakhter
8a25b778f4 added bug related to file extensions 2018-09-19 16:46:51 +00:00
Ilya_Shlyakhter
6f1759db68 added bug related to file extensions for URIs from special remotes 2018-09-19 04:08:30 +00:00
yarikoptic
ff9cd8621a initial report on intermittent get -J failures over ssh 2018-09-18 14:48:37 +00:00
poelzi
9a38a8401f 2018-09-18 10:45:43 +00:00
duncan_bayne
8691a6158f Added a comment: Bug raised 2018-09-16 22:15:23 +00:00
torpidus
fea77a031f Added a comment 2018-09-16 18:40:44 +00:00
torpidus
a016b21f0b removed 2018-09-16 18:40:25 +00:00
torpidus
a80b7d46ed Added a comment 2018-09-16 18:39:57 +00:00
Joey Hess
d04b7f3e1a
um 2018-09-14 12:53:39 -04:00
git-annex.branchable.com@79d6855760f61f7fbe0a401b45d8c791ef49b500
bf92be5fd4 Added a comment 2018-09-14 16:43:00 +00:00
pz63@5ea0a27986d782e467e1ebef6eb31ba440cc58d5
3bfc7eee11 2018-09-14 11:38:34 +00:00
git-annex.branchable.com@79d6855760f61f7fbe0a401b45d8c791ef49b500
81e76d815c 2018-09-13 04:24:03 +00:00
Joey Hess
0bbc47d567
response 2018-09-12 14:19:48 -04:00
Joey Hess
2743224658
change v6 git-annex add of staged unmodified unlocked file
v6: When a file is unlocked but has not been modified, and the unlocking is
only staged, git-annex add did not lock it. Now it will, for consistency
with how modified files are handled and with v5.

Note the removal of the sameInodeCache check. Otherwise it would see
that the unmodified file is unmodified and stop there. That check seems to have
been copied from the direct mode branch. But, direct mode had a specific
reason to check for unmodified content, that does not apply to v6.

The second pass means there is potential for a race, eg the unlocked
file could be modified in between the first and second passes.
No problem with that, since both passes do the same thing.

This commit was sponsored by Jake Vosloo on Patreon.
2018-09-12 14:00:05 -04:00
yarikoptic
a099fd4184 initial report on whereis kaboom 2018-09-12 14:02:48 +00:00
ewen
00d4a58ff7 Added a comment: LC_TIME 2018-09-11 23:52:23 +00:00
ewen
3b8cbe55b2 Added a comment: LC_TIME 2018-09-11 22:23:49 +00:00
ewen
7bf914a22e Added a comment: timer_create 2018-09-11 21:37:25 +00:00
Joey Hess
fdbdf64d87
fix reversions due to undocumented and buggy git behavior
* Don't use GIT_PREFIX when GIT_WORK_TREE=. because it seems git
  does not intend GIT_WORK_TREE to be relative to GIT_PREFIX in that
  case, despite GIT_WORK_TREE=.. being relative to GIT_PREFIX.
* Don't use GIT_PREFIX to fix up a relative GIT_DIR, because
  git 2.11 sets GIT_PREFIX set to a path it's not relative to.
  and apparently GIT_DIR is never relative to GIT_PREFIX.

Commit e50ed4ba48 led us down this path
by working around a git bug by relying on the barely documented GIT_PREFIX.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-09-11 15:54:21 -04:00
Joey Hess
30b1e7cb34
followup 2018-09-11 14:42:37 -04:00
Joey Hess
48205ff829
followup 2018-09-11 14:31:49 -04:00
Joey Hess
88e5292417
followup 2018-09-11 14:06:46 -04:00
Joey Hess
1e71dbf812
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-11 13:30:01 -04:00
Joey Hess
a352368f8e
followup 2018-09-11 13:27:51 -04:00
yarikoptic
9632da100c initial report on problem accessing previously exported public bucket 2018-09-11 17:07:16 +00:00
kyle
69448f2a40 fixed 2018-09-10 18:30:46 +00:00
kyle
25fecfd50f Added a comment: fixed 2018-09-10 18:27:49 +00:00
ewen
224e71e7d0 Added a comment: x86-64 build working on Synology NAS (with work around) 2018-09-08 02:03:21 +00:00
yarikoptic
c16856b8eb Added a comment: the reason is system wide git version! 2018-09-07 00:13:33 +00:00
yarikoptic
80f61cfaaa initial report on problem with v6 in subdirectory 2018-09-06 23:43:12 +00:00
Joey Hess
b600ad71ce
make linkToAnnex freezeContent the object file
v6: Fix annex object file permissions when git-annex add is run on a
modified unlocked file, and in some related cases.

If a hard link is made, don't freeze it; annex.thin
uses writable object files.

Also: For some reason, linkToAnnex used to thawContent src. I can see no
reason why it needed to do that, so I eliminated that.

This commit was sponsored by Brock Spratlen on Patreon.
2018-09-05 15:27:22 -04:00
Joey Hess
69907e397f
revert a few problem areas of git-annex.cabal patch 2018-09-05 11:47:00 -04:00
fft
165783827b 2018-09-05 12:18:54 +00:00
fft
f760555c57 2018-09-05 12:13:48 +00:00
ewen
8afd9b5c95 Added a comment: Synology bug report 2018-09-03 22:36:07 +00:00
ewen
8b9cd04815 Added a comment: timer_create 2018-09-03 22:06:00 +00:00
ewen
ff74702d3d x86-32 standalone build break on Synology DS216+ 2018-09-03 04:30:42 +00:00
duncan_bayne
41b3bbeddf 2018-09-03 00:42:24 +00:00
duncan_bayne
81829125f8 Added a comment: Thanks :) 2018-09-03 00:39:08 +00:00
kyle
5567496518 'annex add' locks unmodified file in V5 but not V6 2018-08-30 19:07:03 +00:00
yarikoptic
2969d93283 Added a comment: clear docker for ubuntu 18:04 - the same 2018-08-30 16:07:51 +00:00
kyle
d74c6ebf1f Added a comment: v5 2018-08-30 16:05:01 +00:00
yarikoptic
dd0283e985 Added a comment: reproduced more 2018-08-30 16:02:39 +00:00
yarikoptic
4b05d4179d Added a comment: confirming 2018-08-30 15:57:39 +00:00
Joey Hess
a3fa9ea0b5
followup 2018-08-30 11:08:46 -04:00
kyle@9c8cc228b2254d7f0f8c42be54a2ac1b81edf416
92be1cc8c7 2018-08-29 21:20:26 +00:00
Joey Hess
d3c9d72245
followup 2018-08-29 12:20:24 -04:00
Joey Hess
f54c72d2e1
Fix build on FreeBSD
This must have been broken for years..

This commit was sponsored by Jack Hill on Patreon.
2018-08-29 12:09:03 -04:00
Joey Hess
084e88964d
close 2018-08-29 12:04:46 -04:00
Joey Hess
759a87ad70
fix git command queue to be concurrency safe
Probably not noticed until now because the queue is large enough that two
threads each filling theirs at the same time and flushing is unlikely to
happen.

Also made explicit that each worker thread gets its own queue.
I think that was the case before, but if something was put in the queue
before worker threads were forked off, they could have each inherited the
same queue.

Could have gone with a single shared queue, but per-worker queues is more
efficient, because a worker can add lots of stuff to its own queue without
any locking.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-08-28 13:16:33 -04:00
Joey Hess
3a71f3a4a9
reproduced 2018-08-28 12:35:15 -04:00
Joey Hess
ebdb17cda7
followup 2018-08-28 12:21:23 -04:00
Joey Hess
2b4a9a7cd8
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-28 12:14:41 -04:00
petr.marketlab@4024e478aebbe860ab1cbf03aca8adb30127c56e
2acca8a3ae 2018-08-28 15:26:07 +00:00
petr.marketlab@4024e478aebbe860ab1cbf03aca8adb30127c56e
1885cca783 2018-08-28 15:18:27 +00:00
Joey Hess
401a79675b
run git status before enabling clean filter
Avoids annex.largefiles inconsitency and also avoids a lot of
unneccessary calls to the clean filter when a large repo's clone
is being initialized.

This commit was supported by the NSF-funded DataLad project.
2018-08-28 10:36:22 -04:00
Joey Hess
10138056dc
v6: avoid accidental conversion when annex.largefiles is not configured
v6: When annex.largefiles is not configured for a file, running git add or
git commit, or otherwise using git to stage a file will add it to the annex
if the file was in the annex before, and to git otherwise. This is to avoid
accidental conversion.

Note that git-annex add's behavior has not changed, for reasons explained
in the added comment.

Performance: No added overhead when annex.largefiles is configured.
When not configured, there is an added call to catObjectMetaData,
which involves a round trip through git cat-file --batch.
However, the earlier catKeyFile primes the cache for it.

This commit was supported by the NSF-funded DataLad project.
2018-08-27 14:51:10 -04:00
Joey Hess
b3dfcd18fe
followup 2018-08-27 13:36:11 -04:00
Joey Hess
8478544b58
analysis, plan
This commit was supported by the NSF-funded DataLad project.
2018-08-27 13:14:34 -04:00
Joey Hess
d7f386a81d
reproduced with current 2018-08-27 12:20:58 -04:00
Joey Hess
d5980b7139
close, this was fixed last week 2018-08-27 12:15:43 -04:00
duncan_bayne
5a90234f47 2018-08-26 02:37:25 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
65bd018f94 removed 2018-08-22 01:13:45 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
529b84c5ca removed 2018-08-22 01:11:08 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
7d0b838153 Added a comment 2018-08-22 01:10:54 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
0b8759771a Added a comment 2018-08-22 01:10:40 +00:00
yarikoptic
78ecd6b17a Added a comment 2018-08-21 16:23:05 +00:00
yarikoptic
dae76d8ef3 fixup the trailer 2018-08-21 16:02:25 +00:00
Joey Hess
056b081280
followup 2018-08-21 11:56:51 -04:00
yarikoptic
e009c0efed original filing about web remote listing 2018-08-21 15:09:10 +00:00
Joey Hess
9091d52a1f
close old openbsd build bugs 2018-08-17 16:18:40 -04:00
Joey Hess
2e153de34a
close 2018-08-16 16:41:08 -04:00
duncan_bayne
7e9d6c4ef1 Added a comment: RTFM 2018-08-16 04:25:27 +00:00
Joey Hess
f1dfed4d5a
response 2018-08-13 12:44:34 -04:00
webanck
cd62ab20a3 Added a comment: Similar issue again 2018-08-13 14:18:17 +00:00
webanck
55d7660576 removed 2018-08-13 14:16:09 +00:00
webanck
3829f2de16 Added a comment: Similar issue again 2018-08-13 14:11:48 +00:00
duncan_bayne
6ce59ccfe5 2018-08-12 06:19:36 +00:00
duncan_bayne
b5910dac68 2018-08-12 06:18:36 +00:00
duncan_bayne
874dd3febf 2018-08-12 06:17:56 +00:00
yarikoptic
b47fef55f0 Added a comment: my 1c 2018-08-10 19:17:17 +00:00
Joey Hess
74551a430a
soften 2018-08-09 16:03:43 -04:00
Joey Hess
6de8bbaad9
followup 2018-08-09 16:01:48 -04:00
Joey Hess
1f8e6d7e3a
hm 2018-08-09 15:44:01 -04:00
Joey Hess
0e04d9cfab
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-09 15:07:17 -04:00
Joey Hess
7b9762b6af
document converting from git to annex and back 2018-08-09 15:06:51 -04:00
yarikoptic
a18b9cb8be Added a comment: may be one more gitattribute to instruct on either conversion is desired for the file? 2018-08-09 18:59:56 +00:00
Joey Hess
adcca7ecd7
one more thought 2018-08-09 13:14:52 -04:00
Joey Hess
5b56ca32c6
typo 2018-08-09 13:10:31 -04:00
Joey Hess
42fcf59921
rethink and Q 2018-08-09 13:06:25 -04:00
Joey Hess
78ade9e6cf
a plan 2018-08-09 12:38:00 -04:00
Joey Hess
6eeeb2eea8
same root cause for this too 2018-08-09 12:15:38 -04:00
Joey Hess
29a52e1518
understand now 2018-08-09 12:08:30 -04:00
Joey Hess
7ed987f6ca
and 2018-08-09 12:05:51 -04:00
Joey Hess
fc2ffb414f
followup 2018-08-09 12:04:07 -04:00
yarikoptic
2a7484bdc6 initial report about failure to commit 2018-08-08 20:07:27 +00:00
Joey Hess
12460fcea6
make --batch honor matching options
When --batch is used with matching options like --in, --metadata, etc, only
operate on the provided files when they match those options. Otherwise, a
blank line is output in the batch protocol.

Affected commands: find, add, whereis, drop, copy, move, get

In the case of find, the documentation for --batch already said it honored
the matching options. The docs for the rest didn't, but it makes sense to
have them honor them. While this is a behavior change, why specify the
matching options with --batch if you didn't want them to apply?

Note that the batch output for all of the affected commands could
already output a blank line in other cases, so batch users should
already be prepared to deal with it.

git-annex metadata didn't seem worth making support the matching options,
since all it does is output metadata or set metadata, the use cases for
using it in combination with the martching options seem small. Made it
refuse to run when they're combined, leaving open the possibility for later
support if a use case develops.

This commit was sponsored by Brett Eisenberg on Patreon.
2018-08-08 12:07:06 -04:00
Joey Hess
54eb80e945
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-08 11:06:08 -04:00
Joey Hess
ec18b84bdb
moreinfo this 2018-08-08 11:05:05 -04:00
Joey Hess
0fd093485d
close 2018-08-08 11:03:43 -04:00
CandyAngel
56bce6a5cc 2018-08-07 23:18:09 +00:00
https://openid-provider.appspot.com/iakornfeld
48d11a5dfb Added a comment: Sorry 2018-08-07 14:12:20 +00:00
https://openid-provider.appspot.com/iakornfeld
797c3e14c4 removed 2018-08-07 14:08:12 +00:00
https://openid-provider.appspot.com/iakornfeld
0f70ee06db Added a comment: Yes 2018-08-07 14:07:56 +00:00
https://openid-provider.appspot.com/iakornfeld
1b80f89ef4 Added a comment: Yes 2018-08-07 14:07:38 +00:00