Commit graph

7452 commits

Author SHA1 Message Date
christopher@5845ecd3cef9edadd4dc084df00e1fa60ce311eb
f9cacdd140 Added a comment 2016-11-10 09:50:40 +00:00
christopher@5845ecd3cef9edadd4dc084df00e1fa60ce311eb
5cae09562b 2016-11-10 09:46:14 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
14a1b2b4e4 Added a comment 2016-11-08 19:18:40 +00:00
Joey Hess
ee8231f982
meh 2016-11-08 14:55:53 -04:00
Joey Hess
9751e6f0c4
Merge branch 'master' of ssh://git-annex.branchable.com 2016-11-08 14:53:09 -04:00
Joey Hess
a924c99535
close 2016-11-08 14:52:29 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
96faccdbc6 initial whining 2016-11-08 15:08:32 +00:00
public@881708f3cb16d1f967ca9f517a310dd211474013
013802ea8d Added a comment: joey's test build fixes issue 2016-11-08 14:53:48 +00:00
ddenis
deb11e82aa 2016-11-07 21:32:11 +00:00
ddenis
f8a955a395 2016-11-07 21:30:07 +00:00
Joey Hess
d76891570c
Merge branch 'master' of ssh://git-annex.branchable.com 2016-11-07 14:23:01 -04:00
Joey Hess
c44ac268be
OSX: Remove RPATHs from git-annex binary, which are not needed, slow down startup, and break the OSX Sierra linker.
ghc 8.0.2 may make this unncessary, but it's not in a stackage version yet,
so put in a workaround.

Note that the linux builds already delete the RPATHs for similar reasons.

This commit was sponsored by Josh Taylor on Patreon.
2016-11-07 14:22:14 -04:00
edward
386065bf92 Added a comment 2016-11-07 17:43:31 +00:00
Joey Hess
5ee09df821
edit 2016-11-07 13:40:02 -04:00
Joey Hess
11cea4547b
comment 2016-11-07 13:38:13 -04:00
Joey Hess
844d4a7435
comment 2016-11-07 13:32:15 -04:00
Joey Hess
7ed96a2405
Make .git/annex/ssh.config file work with versions of ssh older than 7.3, which don't support Include.
When used with an older version of ssh, any ServerAliveInterval in
~/.ssh/config will be overridden by .git/annex/ssh.config.

This commit was sponsored by Josh Taylor on Patreon.
2016-11-07 10:32:57 -04:00
Joey Hess
1864128141
analysis 2016-11-07 10:16:09 -04:00
edward
8961f25f5b unlock should warn if file isn't in repo 2016-11-04 18:15:00 +00:00
johannes@12f1850a57e13cc234b5ebf88a5d3ac68915a6c2
631c055330 Added a comment 2016-11-04 10:27:26 +00:00
EskildHustvedt
f651775e83 Added a comment 2016-11-04 07:34:30 +00:00
https://me.yahoo.com/a/n0FWjM0duI0IytxNwAsBBv1BvGd8rA--#a9eec
98e7900b49 2016-11-04 00:22:20 +00:00
davidriod@e75b369a4b1cced29c14354bce7493c61f00b1c7
567f49603f 2016-11-02 20:02:47 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
cad4f0b395 2016-11-02 17:24:27 +00:00
Joey Hess
82a7a8828f
fixed 2016-11-02 11:07:37 -04:00
Joey Hess
340809e671
Merge branch 'master' of ssh://git-annex.branchable.com 2016-11-02 10:37:50 -04:00
CandyAngel
50e93f5cf8 Added a comment 2016-11-02 10:37:49 +00:00
CandyAngel
330c68b39e Added a comment 2016-11-02 10:03:46 +00:00
CandyAngel
116e0189ed 2016-11-02 09:58:25 +00:00
mx781
46ea2a354c 2016-11-02 05:32:43 +00:00
Joey Hess
4e305d1f98
update 2016-11-01 14:25:51 -04:00
Joey Hess
f08ad2f916
retitle 2016-11-01 13:50:09 -04:00
Joey Hess
5f3390336a
comment 2016-10-31 18:41:22 -04:00
Joey Hess
b530e43285
Fix reversion in 6.20161012 that prevented adding files with a space in their name. 2016-10-31 18:39:37 -04:00
Joey Hess
a986b12cf2
Merge branch 'master' of ssh://git-annex.branchable.com 2016-10-31 18:34:27 -04:00
aranea@650e41fad422f2a4d6f36ca1f20d41b7c0f18ab7
32feb186c6 Added a comment 2016-10-31 22:31:44 +00:00
Joey Hess
040b26b2f6
comments 2016-10-31 18:07:11 -04:00
aranea@650e41fad422f2a4d6f36ca1f20d41b7c0f18ab7
80ecf6496a 2016-10-31 21:40:06 +00:00
aranea@650e41fad422f2a4d6f36ca1f20d41b7c0f18ab7
bec8368911 Added a comment 2016-10-31 21:29:42 +00:00
Joey Hess
7ec02ad9e6
reproduce 2016-10-31 17:18:04 -04:00
johannes@12f1850a57e13cc234b5ebf88a5d3ac68915a6c2
cf3234391f Added a comment 2016-10-31 20:59:30 +00:00
Joey Hess
29f33155d6
comment 2016-10-31 16:56:40 -04:00
Joey Hess
d00a59b4c3
comment 2016-10-31 16:37:40 -04:00
johannes@12f1850a57e13cc234b5ebf88a5d3ac68915a6c2
54d0e9fb56 Added a comment 2016-10-31 19:50:23 +00:00
Joey Hess
fd5396bdab
response 2016-10-31 15:34:19 -04:00
johannes@12f1850a57e13cc234b5ebf88a5d3ac68915a6c2
c5a459bc81 Added a comment: SOLVED 2016-10-31 19:08:17 +00:00
johannes@12f1850a57e13cc234b5ebf88a5d3ac68915a6c2
affaa85b7d Added a comment 2016-10-31 18:51:17 +00:00
Joey Hess
ec2e1569e6
Linux standalone: Fix location of locale files in the bundle.
The Makefile was putting them in git-annex.linux/i18n/i18n, and so I18NPATH
did not point to the files. I think that on close enough to Debian systems,
localedef then fell back to using the system-wide locale files, while on
other systems it would fail to generate locales.
2016-10-31 14:31:46 -04:00
Joey Hess
2ad7b00e29
Assistant, repair: Fix ignoring of git fsck errors due to duplicate file entries in tree objects. 2016-10-31 14:00:37 -04:00
Joey Hess
adaeba010f
comment 2016-10-31 13:03:12 -04:00
aranea@650e41fad422f2a4d6f36ca1f20d41b7c0f18ab7
3fc82fb4e2 Feature request: Support for skein512_256 hash 2016-10-30 15:09:53 +00:00
EskildHustvedt
f23452ff34 2016-10-29 08:06:00 +00:00
johannes@12f1850a57e13cc234b5ebf88a5d3ac68915a6c2
cf168e1c6f Added a comment 2016-10-28 10:17:19 +00:00
Joey Hess
0ae08947ac
Run ssh with ServerAliveInterval 60
So that stalled transfers will be noticed within about 3 minutes,
even if TCPKeepAlive is disabled or doesn't work.

Rather than setting with -o, use -F with another config file,
so that any settings in ~/.ssh/config or /etc/ssh/ssh_config overrides this.
2016-10-26 16:41:34 -04:00
Joey Hess
075602b1df
comment 2016-10-26 16:18:52 -04:00
Joey Hess
8dcf79694d
enable forwardRetry for command-line transfers
If a transfer fails for some reason, but some data managed to be sent, the
transfer will be retried. (The assistant already did this.)

Possible impacts:

* More ssh prompts if ssh needs to prompt for a password to connect to a
  host, or is prompting about some other problem like a ssh key mismatch.

* More data transfer due to retrying, epecially when a remote does not
  support resuming a transfer.

  In the worst case, a lot of data will be transferred but it fails before
  the end, and then all that data gets transferred again plus one byte more;
  repeat until it manages to get the whole file.
2016-10-26 15:38:27 -04:00
Joey Hess
ca2435b21b
remove duplicate of top of page 2016-10-26 14:25:54 -04:00
Joey Hess
0e9224b2b4
comment 2016-10-26 14:24:13 -04:00
Joey Hess
3237976d76
comment 2016-10-26 14:13:00 -04:00
Joey Hess
8f2547ef89
comment 2016-10-26 14:04:59 -04:00
Joey Hess
c546e3a5c8
cose 2016-10-26 13:44:08 -04:00
Joey Hess
a7e9db48a7
comment 2016-10-26 13:27:18 -04:00
Joey Hess
55d4d51590
Merge branch 'master' of ssh://git-annex.branchable.com 2016-10-26 13:17:19 -04:00
Joey Hess
1a8ba7eab4
Improve ssh socket cleanup code to skip over the cruft that NFS sometimes puts in a directory when a file is being deleted. 2016-10-26 13:16:41 -04:00
jonan
80dac1cfdd 2016-10-25 10:51:29 +00:00
JohnKozak
c65cbaee99 2016-10-23 21:05:57 +00:00
JohnKozak
daa66dc8bd 2016-10-23 18:30:21 +00:00
ewen
ecb6ca5602 2016-10-21 06:12:49 +00:00
johannes@12f1850a57e13cc234b5ebf88a5d3ac68915a6c2
38e76f27b9 Added a comment 2016-10-19 10:28:13 +00:00
johannes@12f1850a57e13cc234b5ebf88a5d3ac68915a6c2
6d4f446a06 2016-10-18 10:09:44 +00:00
Joey Hess
3a3f126956
close 2016-10-17 16:36:35 -04:00
Joey Hess
10ca4b9788
Improve style of offline html build of website. 2016-10-17 15:55:49 -04:00
Joey Hess
cc5de0a94b
close 2016-10-17 15:30:33 -04:00
Joey Hess
8e22114735
upgrade: Handle upgrade to v6 when the repository already contains v6 unlocked files whose content is already present.
Closes https://github.com/datalad/datalad/issues/1020

The use of runWriter in scanUnlockedFiles broke due to this change;
it failed with blocked indefinitely in mvar, because the database write
handle was taken while linkFromAnnex needed to also write to it (to update
the inode cache). So, switched to using a separate runWriter for each call
to addAssociatedFileFast. A little less efficient, but not greatly; the
writes should all still be cached.
2016-10-17 15:19:47 -04:00
Joey Hess
93425dd575
note 2016-10-17 14:21:55 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
17cce14d19 original whining 2016-10-17 16:17:59 +00:00
https://launchpad.net/~helpunclejackoff
867a4ac4e8 Added a comment: Dumb old me.... 2016-10-15 10:12:17 +00:00
Joey Hess
3f25317ad5
fix tree graft-in bug
When adding a tree like a/b/c/d when a/b already exists, fixes the bug that
the tree that got created was a/b/a/b/c/d

Just need to flatten out the top N directories of the tree that's being
grafted in, so we get the c/d part. This was complicated by the Tree
data type being a rose tree rather than a regular tree.

This commit was sponsored by Nick Daly on Patreon.
2016-10-11 15:36:40 -04:00
Joey Hess
66ebf1a8f9
add test case for sync_in_adjusted_branch_deleted_recently_added_files
This commit was sponsored by Denis Dzyubenko on Patreon.
2016-10-11 14:22:49 -04:00
Joey Hess
b82c3e0783
sync: Fix bug in adjusted branch merging that could cause recently added files to be lost when updating the adjusted branch.
The modification flag was not being set when making modifications deep
in a tree, so parent trees were not updated to contain the modified tree.

Seems to have exposed another bug where the wrong filename gets grafted in.

This commit was sponsored by Brock Spratlen on Patreon.
2016-10-10 15:00:45 -04:00
Joey Hess
d2527c421c
more analysis 2016-10-10 14:23:24 -04:00
Joey Hess
75c7215857
reproduce recipe 2016-10-10 12:56:21 -04:00
https://launchpad.net/~helpunclejackoff
f244d942ee 2016-10-09 18:42:14 +00:00
https://launchpad.net/~helpunclejackoff
dfd0e0290a Move the env description to the right place 2016-10-09 18:41:50 +00:00
https://launchpad.net/~helpunclejackoff
11f6bbaca8 2016-10-09 18:36:52 +00:00
xloem
16c0b372b0 Added a comment 2016-10-09 12:13:39 +00:00
https://launchpad.net/~stephane-gourichon-lpad
d1e21aad3a Reporting missing file in locally installed doc causing reduced reading comfort. 2016-10-09 07:16:25 +00:00
pot
31509c3796 2016-10-06 20:13:07 +00:00
pot
48b97cb3f0 Added a comment: 780 source files.... 2016-10-06 20:05:41 +00:00
ddenis
6cdcda6e32 Added a comment 2016-10-06 16:59:03 +00:00
jk@3f2b4ce16bbac41470815333505aa47b91b7a9a6
4338251817 Added a comment 2016-10-06 10:42:53 +00:00
Joey Hess
933bc5c917
Support using v3 repositories without upgrading them to v5.
An easy change now that supportedVersions is a list. Since v3 and v5 are
identical other than version number, just add v3 to the list.

This commit was sponsored by andrea rota.
2016-10-05 16:53:09 -04:00
Joey Hess
f23446b60e
verified fix on OSX 2016-10-05 16:08:49 -04:00
Joey Hess
5416fd21a1
moreinfo 2016-10-05 15:51:42 -04:00
Joey Hess
34530e59d9
Avoid using a lot of memory when large objects are present in the git repository
.. and have to be checked to see if they are a pointed to an annexed file.

Cases where such memory use could occur included, but were not limited to:
  - git commit -a of a large unlocked file (in v5 mode)
  - git-annex adjust when a large file was checked into git directly
Generally, any use of catKey was a potential problem.

Fix by using git cat-file --batch-check to check size before catting.
This adds another git batch process, which is included in the CatFileHandle
for simplicity.

There could be performance impact, anywhere catKey is used. Particularly
likely to affect adjusted branch generation speed, and operations on
unlocked files in v6 mode. Hopefully since the --batch-check and
--batch read the same data, disk buffering will avoid most overhead.
Leaving only the overhead of talking to the process over the pipe and
whatever computation --batch-check needs to do.

This commit was sponsored by Bruno BEAUFILS on Patreon.
2016-10-05 15:24:13 -04:00
Joey Hess
a747373b40
comment 2016-10-05 13:30:46 -04:00
Joey Hess
90eec318bf
moreinfo 2016-10-05 13:01:35 -04:00
pot
2629850fdf 2016-10-01 11:41:01 +00:00
ddenis
455de2fb1b 2016-09-30 22:06:49 +00:00
pot
5a076dcf04 Added a comment: inodes.... 2016-09-30 22:00:31 +00:00
Joey Hess
76e5d8bf8a
comment 2016-09-26 16:53:27 -04:00
sven.rieke@2bfe1de15de1bb402f962e41f9e5bfc1be1cf8d1
a1c7b514e7 2016-09-25 15:01:28 +00:00
sven.rieke@2bfe1de15de1bb402f962e41f9e5bfc1be1cf8d1
d8a714a881 2016-09-25 15:00:18 +00:00
madduck
40f41c3c4d 2016-09-25 13:25:03 +00:00
PaulK
ad5c60414e Added a comment 2016-09-25 03:08:41 +00:00
PaulK
8b2d5e194f Added a comment 2016-09-24 04:16:52 +00:00
Joey Hess
c8edd22aee
update 2016-09-21 17:56:40 -04:00
Joey Hess
ef681321a9
comment 2016-09-21 17:53:59 -04:00
Joey Hess
c910004d50
addurl, importfeed: Improve behavior when file being added is gitignored. 2016-09-21 17:21:48 -04:00
Joey Hess
3b2222d753
update 2016-09-21 15:53:34 -04:00
Joey Hess
181d027ace
merge 2016-09-21 15:47:37 -04:00
Joey Hess
a569f195b7
fix bugs in handing of deep branches with sync and adjusted branches
* sync: Previously, when run in a branch with a slash in its name,
  such as "foo/bar", the sync branch was "synced/bar". That conflicted
  with the sync branch used for branch "bar", so has been changed to
  "synced/foo/bar".
* adjust: Previously, when adjusting a branch with a slash in its name,
  such as "foo/bar", the adjusted branch was "adjusted/bar(unlocked)".
  That conflicted with the adjusted branch used for branch "bar",
  so has been changed to "adjusted/foo/bar(unlocked)"
* Also, running sync in an adjusted branch did not correctly sync
  changes back to the parent branch when it had a slash in its name.
  This bug has been fixed.

Eliminate use of Git.Ref.under and Git.Ref.basename; using
Git.Ref.underBase and Git.Ref.base make everything handle deep branches
correctly.

Probably noone was adjusting deep branches, and v6 is still experimental
anyway, so I'm not going to worry about the mess that was left by that bug.

In the case of git-annex sync, using a fixed git-annex with an old unfixed
one will mean they use different sync branches for a deep branch, and so
they may stop syncing until the old one is upgraded. However, that's only
a problem when syncing between repositories without going via a central
bare repository. Added a warning about this to the CHANGELOG, but it's
probably not going to affect many people at all.

This commit was sponsored by Riku Voipio.
2016-09-21 15:23:47 -04:00
Joey Hess
8dae86eac2
bug 2016-09-21 14:57:20 -04:00
Joey Hess
f6fc40456d
comment, retitle 2016-09-21 13:42:42 -04:00
Joey Hess
ce03779e8c
comment and close 2016-09-21 13:32:45 -04:00
Joey Hess
c2218b78c3
close 2016-09-21 13:06:34 -04:00
Joey Hess
1702505f60
comment 2016-09-21 13:06:12 -04:00
PaulK
13ed6c83bb Added a comment 2016-09-19 04:39:08 +00:00
git-starter
2f4901f576 2016-09-16 14:40:49 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
7c5ff428a8 I got the files to come back, but I don't want Android making these dumb delete-loads-of-newly-added-stuff commits 2016-09-16 03:03:19 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
d62ee47ab3 2016-09-16 01:56:57 +00:00
Joey Hess
ddc1b46fc2
comment 2016-09-14 12:28:18 -04:00
jk@3f2b4ce16bbac41470815333505aa47b91b7a9a6
a1809b2827 Added a comment 2016-09-13 07:05:48 +00:00
jk@3f2b4ce16bbac41470815333505aa47b91b7a9a6
848d160077 Added a comment 2016-09-12 19:57:03 +00:00
atrent
201a99f510 2016-09-10 07:23:07 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
1f1b7adecf initial whining 2016-09-09 18:45:02 +00:00
https://openid.stackexchange.com/user/3ee5cf54-f022-4a71-8666-3c2b5ee231dd
16b2604a20 Added a comment 2016-09-09 06:51:45 +00:00
Joey Hess
ae658ddcdc
close; notabug 2016-09-07 11:07:42 -04:00
Joey Hess
d18bc92251
remove cruft 2016-09-07 11:07:25 -04:00
onionjake
9aacde3f65 Added a comment 2016-09-06 19:45:06 +00:00
onionjake
a885d23bad you can create bugs with empty titles 2016-09-06 19:44:11 +00:00
leni536
9065e994b4 2016-09-06 09:34:14 +00:00
Joey Hess
1b8d8faa3a
applied 2016-09-05 19:43:59 -04:00
Joey Hess
2610103a48
comment 2016-09-05 16:00:51 -04:00
Joey Hess
a64b33fe3b
close 2016-09-05 15:50:05 -04:00
Joey Hess
219e2fa157
Make --json and --quiet suppress automatic init messages
And any other messages that might be output before a command starts.

Fixes a reversion introduced in version 5.20150727.

During the optparse-applicative conversion, I needed a place to run
per-command global option setters, and I made it get run during the seek stage. But
that is too late to have --json and --quiet disable output produced in the
check stage. Fix is just to run those per-command global option setters at
the same time as the all-command global option setters.

This commit was sponsored by Thom May.
2016-09-05 15:34:38 -04:00
Joey Hess
0ef3bfa6b0
moreinfo; probably not a bug 2016-09-05 14:22:59 -04:00
Joey Hess
40c0a91641
comment 2016-09-05 13:57:26 -04:00
Joey Hess
d75aac5003
comment 2016-09-05 13:12:56 -04:00
Joey Hess
cfa31c6bf8
close as dup 2016-09-05 13:11:05 -04:00
Joey Hess
778948eb24
comment 2016-09-05 12:33:22 -04:00
Joey Hess
1a085ca4dd
fix name 2016-09-05 11:29:46 -04:00
onionjake
65788cc8c0 fsck --from <remote> doesn't update inventory on failure 2016-09-04 21:00:57 +00:00
corppneq
7c9ff2b4e4 2016-09-03 11:01:23 +00:00
plb@5a17d4ca1791c7e2e176e22c7fb64a5b77f1679c
c854d09d3c 2016-09-03 08:42:45 +00:00
plb@5a17d4ca1791c7e2e176e22c7fb64a5b77f1679c
3463b441a1 2016-09-03 08:42:05 +00:00
plb@5a17d4ca1791c7e2e176e22c7fb64a5b77f1679c
4fe92819d2 2016-09-03 08:41:44 +00:00
Joey Hess
803c4c07e1
Merge branch 'master' of ssh://git-annex.branchable.com 2016-08-30 16:10:12 -04:00
Joey Hess
442e2d50bd
bug report from tribut on irc 2016-08-30 16:09:28 -04:00
matthias.may@b2b2d601f3c2e35dbb95ada1d3a715e2960f36e7
7f453d6ef9 2016-08-30 05:12:43 +00:00