Commit graph

26281 commits

Author SHA1 Message Date
Joey Hess
8f26422943
Merge branch 'master' of ssh://git-annex.branchable.com 2019-07-05 09:49:57 -04:00
Ilya_Shlyakhter
330a8a27e0 added bug report for failing parallel copy 2019-07-03 21:38:06 +00:00
kyle
85b3b8f24e 2019-07-03 19:50:50 +00:00
Ilya_Shlyakhter
1c25bfc88c Added a comment: status of v7 2019-07-02 18:45:52 +00:00
Ilya_Shlyakhter
47f16c8915 Added a comment 2019-07-02 18:36:16 +00:00
yarikoptic
067050c5c7 Added a comment: I wonder if "thin mode" could generalize beyond hardlinks 2019-07-01 16:19:47 +00:00
Ilya_Shlyakhter
607bb3c208 Added a comment: verifying and external backends 2019-06-28 17:14:18 +00:00
Ilya_Shlyakhter
3388722110 Added a comment: dockerized external backends 2019-06-28 16:36:10 +00:00
Ilya_Shlyakhter
24378d94e6 Added a comment: read-only unlock of only some files 2019-06-28 15:57:05 +00:00
Joey Hess
dfe30c8a6c
todo 2019-06-28 10:59:20 -04:00
jk@3f2b4ce16bbac41470815333505aa47b91b7a9a6
48376a0b80 removed 2019-06-28 06:51:31 +00:00
jk@3f2b4ce16bbac41470815333505aa47b91b7a9a6
890e7e60f0 Added a comment: spurious processes being started 2019-06-28 06:51:10 +00:00
jk@3f2b4ce16bbac41470815333505aa47b91b7a9a6
8202eeb574 Added a comment: spurious processes being started 2019-06-28 06:50:53 +00:00
Joey Hess
c05c73657c
Merge branch 'master' of ssh://git-annex.branchable.com 2019-06-27 19:08:46 -04:00
Joey Hess
a9f7e013a0
todo 2019-06-27 19:08:27 -04:00
Joey Hess
fb72f4db64
comment 2019-06-27 10:44:35 -04:00
Ilya_Shlyakhter
b168a06b82 Added a comment 2019-06-26 20:38:19 +00:00
Ilya_Shlyakhter
8ae3197940 Added a comment: some todos that external backends would obviate (fix formatting, add one) 2019-06-26 20:25:51 +00:00
Ilya_Shlyakhter
13794595d6 Added a comment 2019-06-26 20:15:19 +00:00
Joey Hess
8add155f31
add news item for git-annex 7.20190626 2019-06-26 12:31:12 -04:00
Joey Hess
a3a662dc3d
comment 2019-06-26 12:29:21 -04:00
Joey Hess
f64eac55a4
improve git-annex-drop man page required content docs
Does --unused bypass required content checks in any meaningful sense?
I documented it as such but am unsure of what required content setting
would be considered to match unused content.
2019-06-26 12:22:59 -04:00
Joey Hess
c28f9b34c2
close, non-bug 2019-06-26 12:22:55 -04:00
Joey Hess
9273f80301
OSX dmg: Put git-annex's version in the Info.plist file. 2019-06-26 12:10:35 -04:00
Joey Hess
bc7c17f0b2
Merge remote-tracking branch 'origin/master' 2019-06-26 12:08:45 -04:00
Joey Hess
732f03b202
comment 2019-06-26 11:58:53 -04:00
Joey Hess
3bb8b62699
comments 2019-06-26 11:23:41 -04:00
Joey Hess
0cc8f2426c
arm ghc bug fixed 2019-06-26 00:55:05 -04:00
leej
24c82d4b64 Added a comment 2019-06-26 03:16:52 +00:00
leej
06ad8ccccd Initial report 2019-06-26 02:34:09 +00:00
Joey Hess
0957e2c1d7
comment 2019-06-25 20:11:18 -04:00
leej
3f14395c91 initial report 2019-06-25 22:47:19 +00:00
Joey Hess
ecda1bf5de
comment 2019-06-25 13:26:18 -04:00
Joey Hess
bca89d71d9
comment 2019-06-25 13:14:12 -04:00
Joey Hess
3ce0d144c7
Merge branch 'master' of ssh://git-annex.branchable.com 2019-06-25 13:13:02 -04:00
Joey Hess
42c386fc47
add: Display progress meter when hashing files.
* add: Display progress meter when hashing files.
* add: Support --json-progress option.
2019-06-25 13:12:47 -04:00
Joey Hess
191bdaafc5
comment 2019-06-25 11:08:45 -04:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
d26625fc7a Added a comment: git-annex on armel now working on Debian unstable (sid) 2019-06-25 10:07:56 +00:00
andrew
1938dac889 2019-06-25 01:04:24 +00:00
Ilya_Shlyakhter
6e11b3f6aa question re: preferred content globs 2019-06-24 00:31:05 +00:00
leej
298bd2a25e 2019-06-23 18:53:15 +00:00
leej
4a3e2a4a5f 2019-06-23 18:23:18 +00:00
Ilya_Shlyakhter
744d078428 re: git-annex-drop docs and git-annex-requires 2019-06-22 22:52:43 +00:00
Ilya_Shlyakhter
8e6d544906 Added a comment: bug fix release 2019-06-22 16:14:59 +00:00
stephanlindner
8496d44fb9 Added a comment: comment 4 2019-06-21 19:10:33 +00:00
Ilya_Shlyakhter
5c82b4c39e Added a comment 2019-06-21 13:49:37 +00:00
CandyAngel
82982fedb9 Added a comment 2019-06-21 07:38:36 +00:00
kyle
66b8f7c751 Added a comment: thanks 2019-06-21 02:05:24 +00:00
Joey Hess
989b738671
Merge branch 'master' of ssh://git-annex.branchable.com 2019-06-20 20:32:18 -04:00
Joey Hess
84e729fda5
fix init default description reversion
init: Fix a reversion in the last release that prevented automatically
generating and setting a description for the repository.

Seemed best to factor out uuidDescMapRaw that does not
have the default mempty descrition behavior.

I don't much like that behavior, but I know things depend on it.
One thing in particular is `git annex info` which lists the uuids and
descriptions; if the current repo has been initialized in some way that
means it does not have a description, it would not show up w/o that.

(Not only repos created due to this bug might lack that. For example a repo
that was marked dead and had --drop-dead delete its git-annex branch info,
and then came back from the dead would similarly not be in the uuid.log.
Also there have been other versions of git-annex that didn't set a default
description; for years there was no default description.)
2019-06-20 20:30:24 -04:00
Ilya_Shlyakhter
7d1469bfd7 Added a comment 2019-06-20 23:48:36 +00:00
grmat@f46c69b114fc77408ff25d75efa4c7dc10b4c0b1
c389763453 Added a comment: Thank you very much! 2019-06-20 22:54:50 +00:00
stephanlindner
fdd07a0e7c 2019-06-20 20:38:00 +00:00
kyle
247eb94248 Add "meta author" so this entry is (hopefully) listed on users/datalad page 2019-06-20 20:08:49 +00:00
kyle
566e4f6d91 Added a comment 2019-06-20 19:42:35 +00:00
Ilya_Shlyakhter
390749afb0 bug-fix release 2019-06-20 16:51:42 +00:00
Joey Hess
759fd9ea68
avoid url resume from 0
When downloading an url and the destination file exists but is empty,
avoid using http range to resume, since a range "bytes=0-" is an unusual
edge case that it's best to avoid relying on working.

This is known to fix a case where importfeed downloaded a partial feed from
such a server. Since importfeed uses withTmpFile, the destination always exists
empty, so it would particularly tickle such problem servers. Resuming from 0
is otherwise possible, but unlikely.
2019-06-20 12:26:17 -04:00
grmat@f46c69b114fc77408ff25d75efa4c7dc10b4c0b1
19de32c4e4 2019-06-20 09:07:09 +00:00
kyle
49d416089a Added a comment: annex-ignore and syncing 2019-06-20 02:37:27 +00:00
Joey Hess
0e1140ac47
Merge branch 'master' of ssh://git-annex.branchable.com 2019-06-19 18:45:17 -04:00
Joey Hess
19321e6892
devblog 2019-06-19 18:18:37 -04:00
Joey Hess
9d36c826c0
use fine-grained WorkerStages when transferring and verifying
This means that Command.Move and Command.Get don't need to
manually set the stage, and is a lot cleaner conceptually.

Also, this makes Command.Sync.syncFile use the worker pool better.
In the scenario where it first downloads content and then uploads it to
some other remotes, it will start in TransferStage, then enter VerifyStage
and then go back to TransferStage for each transfer to the remotes.
Before, it entered CleanupStage after the download, and stayed in it for
the upload, so too many transfer jobs could run at the same time.

Note that, in Remote.Git, it uses runTransfer and also verifyKeyContent
inside onLocal. That has a Annex state for the remote, with no worker pool.
So the resulting calls to enteringStage won't block in there.

While Remote.Git.copyToRemote does do checksum verification, I
realized that should not use a verification slot in the WorkerPool
to do it. Because, it's reading back from eg, a removable disk to checksum.
That will contend with other writes to that disk. It's best to treat
that checksum verification as just part of the transer. So, removed the todo
item about that, as there's nothing needing to be done.
2019-06-19 13:24:20 -04:00
Ilya_Shlyakhter
3a19ef7994 Added a comment 2019-06-19 16:51:31 +00:00
kyle
247bc21331 Added a comment: Set remote.<name>.annex-ignore 2019-06-19 14:18:20 +00:00
Ilya_Shlyakhter
03c7e06c2b added forum question about git-annex-sync errors with bitbucket.org 2019-06-18 19:56:21 +00:00
kyle
ce7b9ecae6 Added a comment: Issue with description cache? 2019-06-17 21:11:14 +00:00
anarcat
41ef54276b Added a comment: thanks! 2019-06-17 20:17:27 +00:00
Joey Hess
e19408ed9d
Merge branch 'master' of ssh://git-annex.branchable.com 2019-06-17 15:26:57 -04:00
Joey Hess
c31f4c0e66
devblog 2019-06-17 15:26:46 -04:00
Joey Hess
04cc470201
run download checksum verification in separate job pool
get, move, copy, sync: When -J or annex.jobs has enabled concurrency,
checksum verification uses a separate job pool than is used for
downloads, to keep bandwidth saturated.

Not yet done for upload checksum verification, but that only affects
remotes on local disks.
2019-06-17 14:58:02 -04:00
Joey Hess
1a8d06d251
thought 2019-06-17 11:50:18 -04:00
jsag@f84637fe752e0235291a118b1cd007bafad0997e
ae9f2d5e6a 2019-06-17 12:43:17 +00:00
Joey Hess
502ce3f243
Merge branch 'starting' 2019-06-15 12:42:10 -04:00
Joey Hess
76c0a38025
add news item for git-annex 7.20190615 2019-06-15 12:39:48 -04:00
artem
9c4744c3c2 2019-06-14 04:24:47 +00:00
Joey Hess
44de3fff0b
avoid rsync/gcrypt ssh startup delay with -J
Avoid a delay at startup when concurrency is enabled and there are
rsync or gcrypt special remotes, which was caused by git-annex
opening a ssh connection to the remote too early.

sshOptions makes a connection to the ssh server if one is not already open,
when concurrency is enabled. Avoid doing that at startup, when the remote
list is being built, but the remote may not be used at all.

Instead, rsync/gcrypt now runs sshOptions once per ssh connection to the
server. This should not be significant overhead since Remote.Git already
has the same overhead (as do Bup and Ddar).
2019-06-13 11:16:38 -04:00
Joey Hess
43805a0be9
devblog 2019-06-12 15:10:17 -04:00
Joey Hess
157f41427f
bug 2019-06-12 15:00:28 -04:00
Joey Hess
e589a9b3fc
moving this to a bug 2019-06-12 15:00:14 -04:00
Joey Hess
7b5aad2452
Merge commit '6f8322b8f72f3399d4c28426749db5d01742001d' into starting 2019-06-12 14:50:59 -04:00
Joey Hess
6f8322b8f7
close; not a bug 2019-06-12 14:45:25 -04:00
Joey Hess
8e5ea28c26
finish CommandStart transition
The hoped for optimisation of CommandStart with -J did not materialize.
In fact, not runnign CommandStart in parallel is slower than -J3.
So, CommandStart are still run in parallel.

(The actual bad performance I've been seeing with -J in my big repo
has to do with building the remoteList.)

But, this is still progress toward making -J faster, because it gets rid
of the onlyActionOn roadblock in the way of making CommandCleanup jobs
run separate from CommandPerform jobs.

Added OnlyActionOn constructor for ActionItem which fixes the
onlyActionOn breakage in the last commit.

Made CustomOutput include an ActionItem, so even things using it can
specify OnlyActionOn.

In Command.Move and Command.Sync, there were CommandStarts that used
includeCommandAction, so output messages, which is no longer allowed.
Fixed by using startingCustomOutput, but that's still not quite right,
since it prevents message display for the includeCommandAction run
inside it too.
2019-06-12 13:24:01 -04:00
Ilya_Shlyakhter
3820829407 re: status of v7 2019-06-12 15:53:12 +00:00
Ilya_Shlyakhter
d2658d9537 an issue involving repos cloned with --single-branch 2019-06-11 23:30:26 +00:00
anthony@ad39673d230d75cbfd19d2757d754030049c7673
fd7f316482 Added a comment 2019-06-10 16:52:23 +00:00
anthony@ad39673d230d75cbfd19d2757d754030049c7673
d5a0bf3ae9 clarify it's the new android installer 2019-06-10 16:38:44 +00:00
anthony@ad39673d230d75cbfd19d2757d754030049c7673
856affe859 initial report 2019-06-10 16:37:31 +00:00
kirelagin@6d93475882c55a329fedae6be1971868a775ec7e
c0f4788cdb Added a comment: Workaround? 2019-06-08 13:03:50 +00:00
Joey Hess
8d573a653b
Merge branch 'master' of ssh://git-annex.branchable.com 2019-06-07 19:34:46 -04:00
Joey Hess
1d92846e54
bug report from MacGyver.mdwn 2019-06-07 19:34:21 -04:00
jamie@b5676b90eec0401ca8faac7c972eaf5676891601
0424549599 removed 2019-06-07 15:19:15 +00:00
Joey Hess
132ec9e005
devblog 2019-06-06 17:16:30 -04:00
Joey Hess
3893d84764
todo 2019-06-06 12:02:27 -04:00
Joey Hess
6cefe071b1
Merge branch 'master' of ssh://git-annex.branchable.com 2019-06-05 20:19:27 -04:00
Joey Hess
4088ce49ce
devblog 2019-06-05 20:18:59 -04:00
Joey Hess
3eac4e01a4
idea 2019-06-05 19:43:01 -04:00
Joey Hess
659640e224
separate queue for cleanup actions
When running multiple concurrent actions, the cleanup phase is run in a
separate queue than the main action queue. This can make some commands
faster, because less time is spent on bookkeeping in between each file
transfer.

But as far as I can see, nothing will be sped up much by this yet, because
all the existing cleanup actions are very light-weight. This is just groundwork
for deferring checksum verification to cleanup time.

This change does mean that if the user expects -J2 will mean that they see no
more than 2 jobs running at a time, they may be surprised to see 4 in some
cases (if the cleanup actions are slow enough to notice).

It might also make sense to enable background cleanup without the -J,
for at least one cleanup action. Indeed, that's the behavior that -J1
has now. At some point in the future, it make make sense to make the
behavior with no -J the same as -J1. The only reason it's not currently
is that git-annex can build w/o concurrent-output, and also any bugs
in concurrent-output (such as perhaps misbehaving on non-VT100 compatible
terminals) are avoided by default by only using it when -J is used.
2019-06-05 17:54:35 -04:00
kyle
b390256bd1 Added a comment: uuid.log is also not created 2019-06-05 15:18:30 +00:00
kyle
0d60b2f2c5 2019-06-05 13:57:02 +00:00
Joey Hess
6e51b9ae88
clarify 2019-06-04 21:49:53 -04:00
Joey Hess
082e1f1738
Don't try to import .git directories from special remotes
Because git does not support storing git repositories inside a git
repository.
2019-06-04 15:14:20 -04:00
Joey Hess
500f72ec3d
comment typo 2019-06-04 14:40:07 -04:00
Joey Hess
7dcc815c29
more thoughts 2019-06-04 14:38:55 -04:00
Joey Hess
cd20dc4158
thoughts 2019-06-04 14:13:15 -04:00
Joey Hess
418e842d93
Merge branch 'master' of ssh://git-annex.branchable.com 2019-06-02 15:38:37 -04:00
Joey Hess
f0cba96a92
update 2019-06-02 15:26:50 -04:00
git-annex.branchable@794aec3ca2af16d925f13a04f7e00a6dfe523186
7a5b534ea8 2019-06-02 10:16:58 +00:00
Joey Hess
fa2c8d8fd9
Merge branch 'master' of ssh://git-annex.branchable.com 2019-06-01 09:41:59 -04:00
Joey Hess
f05875f00b
bug 2019-06-01 09:41:39 -04:00
Ilya_Shlyakhter
196548a1b2 a place for pull requests 2019-05-31 17:05:23 +00:00
joer962500
22f1b6673e Added a comment: asus tablet stuck loading screen 2019-05-31 07:24:27 +00:00
Joey Hess
5d681a3ce6
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-30 16:05:41 -04:00
Joey Hess
6136e299a2
add back support for following http to ftp redirects
Did not test build with http-client < 0.5 and while I tried to support
it, the ifdefed parts may needs some fixes.
2019-05-30 16:04:59 -04:00
Joey Hess
67c06f5121
add back support for ftp urls
Add back support for ftp urls, which was disabled as part of the fix for
security hole CVE-2018-10857 (except for configurations which enabled curl
and bypassed public IP address restrictions). Now it will work if allowed
by annex.security.allowed-ip-addresses.
2019-05-30 14:51:34 -04:00
Joey Hess
1871295765
rename annex.security.allowed-http-addresses
Renamed annex.security.allowed-http-addresses to
annex.security.allowed-ip-addresses because it is not really specific to
the http protocol, also limiting eg, git-annex's use of ftp and via
youtube-dl, several other protocols.

The old name for the config will still work.

If both old and new name are set, the new name will win.
2019-05-30 12:43:40 -04:00
Joey Hess
135404b33e
update 2019-05-30 12:28:05 -04:00
Joey Hess
af5246cf04
thoughts 2019-05-30 12:00:45 -04:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
23daba2e99 Added a comment 2019-05-29 17:36:06 +00:00
Joey Hess
b993d26dff
plan 2019-05-29 10:29:20 -04:00
Joey Hess
b114a90fae
comment 2019-05-29 09:59:34 -04:00
Joey Hess
9831d366a0
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-29 09:24:52 -04:00
Joey Hess
1dde73dd98
comment 2019-05-29 09:24:25 -04:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
a3bef03fae Added a comment: Misconfiguration in GHC 2019-05-28 20:38:07 +00:00
Joey Hess
39ab026bab
devblog 2019-05-28 16:25:11 -04:00
Joey Hess
b6dfcf529e
indent 2019-05-28 16:21:35 -04:00
Joey Hess
a5c5ce5e48
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-28 16:17:00 -04:00
Joey Hess
08aa8e2010
break out export and import appending
The import protocol is WiP
2019-05-28 16:16:17 -04:00
Joey Hess
4818e3606c
reorg special remote docs
Made responses to git-annex requests be listed under each request.

This did lead to a little duplication since some replies are used for 2
requests, but it also makes it much clearer and easier to see how the
protocol works.

And, it makes each request self-contained, so they can be split out into
separate pages.
2019-05-28 14:01:19 -04:00
Ilya_Shlyakhter
afb1be754a Added a comment: readonly special remotes] 2019-05-28 17:25:19 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
89abda9efd Added a comment: git-annex not working on arm at all? 2019-05-28 17:23:57 +00:00
root@99e0a30209b856a064fa7d3e42d26b562bdf991c
a03a9cedf1 2019-05-28 16:53:35 +00:00
Joey Hess
63fa6b4a44
fix wrong statement 2019-05-28 12:05:49 -04:00
Joey Hess
bb635fffa2
reorg page 2019-05-28 11:53:49 -04:00
Joey Hess
c1ed0293b0
improve docs about removeExportDirectory 2019-05-28 11:16:01 -04:00
Joey Hess
8960f259b8
make readonly export remotes really be readonly
When a remote is configured to be readonly, don't allow changing what's
exported to it.

This was missed in the original export remote implementation, but it makes
sense for a readonly export remote to not be allowed to change.
2019-05-28 11:04:28 -04:00
Joey Hess
4c48efeb35
comment 2019-05-28 10:41:25 -04:00
Joey Hess
ca5ee26858
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-28 10:28:30 -04:00
ndj
4cb8eec696 Added a comment 2019-05-28 03:36:53 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
182943ed60 2019-05-26 11:05:38 +00:00
Ilya_Shlyakhter
bf3c032a31 strange interaction of checkpresentkey and annex-readonly=true 2019-05-24 03:05:32 +00:00
emmet.obrien@e4a3124a9cf70a33bd02e6cab55d0db0352ce9e1
82dfd2d9e7 2019-05-23 20:39:29 +00:00
yarikoptic
8fe962dba5 Added a comment: configuration variable 2019-05-23 19:31:46 +00:00
Joey Hess
2353d80906
remove done item 2019-05-23 14:24:25 -04:00
Joey Hess
e678d0d0ed
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-23 14:15:04 -04:00
Joey Hess
c877af6192
comment 2019-05-23 14:12:59 -04:00
Joey Hess
87c70c278d
comment 2019-05-23 14:00:20 -04:00
Joey Hess
1a315a8704
comment 2019-05-23 13:37:47 -04:00
Joey Hess
cd5e8be2dc
comment 2019-05-23 13:36:59 -04:00
Joey Hess
c0907909c8
comment 2019-05-23 13:33:53 -04:00
Ilya_Shlyakhter
8ba2109395 Added a comment 2019-05-23 17:07:40 +00:00
Joey Hess
f2a54e3401
Android: Improve installation process when the user's login shell is not bash.
~/.profile works for bash, but not all other login shells.

This setting PATH is a minor convenience for users, particuarly since
typing on android is so much harder. The usual linux standalone bundle
just expects the user to know how to add it to PATH. I don't want this
code to grow special cases for every possible login shell. So displaying a
message to the presumably minority who don't use bash seems like the best
choice.

Longer term, I'd hope termux gets some way to set an environment variable
for all login shells. Systems using PAM can, via ~/.pam_environment. Or
alternatively, add a git-annex package to termux, even if just an installer
package. I'd rather spend time on either of those than on making this minor
thing support more login shells.

This commit was sponsored by mo on Patreon.
2019-05-23 13:06:31 -04:00
Joey Hess
a14f6ce758
fix repo description setting bugs
* init: When the repository already has a description, don't change it.
* describe: When run with no description parameter it used to set
  the description to "", now it will error out.
2019-05-23 12:51:01 -04:00
Joey Hess
d5582865b6
comment 2019-05-23 12:25:51 -04:00
Joey Hess
1e00f861ab
comment 2019-05-23 12:12:44 -04:00
andrew
66b1f2bd15 Added a comment 2019-05-21 23:33:57 +00:00
Joey Hess
52df1b2015
devblog 2019-05-21 15:05:57 -04:00
Joey Hess
d98dc13345
update for preferred content 2019-05-21 14:56:45 -04:00
Joey Hess
e06feb7316
honor preferred content when importing
Importing from a special remote honors its preferred content too; unwanted
files are not imported. But, some preferred content expressions can't be
checked before files are imported, and trying to import with such an
expression will fail.

Tested this with scenarios including changing the preferred content
expression and making sure merging the import didn't delete files that were
no longer wanted.

There was one minor inefficiency mentioned in the todo that I punted on.
2019-05-21 14:38:06 -04:00
Joey Hess
ec11575d17
hairyness 2019-05-21 12:54:57 -04:00
Joey Hess
3b9a19171a
Merge branch 'master' into preferred 2019-05-21 11:34:45 -04:00
Joey Hess
5e1221ad53
Improve shape of commit tree when importing from unversioned special remotes
Make the import have the previous import as a parent, so eg `git log --stat`
displays a useful diff.

Also a minor optimisation, only calculate the depth of the imported history
once.
2019-05-21 11:32:54 -04:00
Joey Hess
5af9e7f3d0
break out a todo 2019-05-21 11:10:13 -04:00
Joey Hess
e51ca437c4
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-20 16:46:26 -04:00
Joey Hess
357f420ba3
devblog 2019-05-20 16:46:14 -04:00
Joey Hess
97fd9da6e7
add back non-preferred files to imported tree
Prevents merging the import from deleting the non-preferred files from
the branch it's merged into.

adjustTree previously appended the new list of items to the old, which
could result in it generating a tree with multiple files with the same
name. That is not good and confuses some parts of git. Gave it a
function to resolve such conflicts.

That allowed dealing with the problem of what happens when the import
contains some files (or subtrees) with the same name as files that were
filtered out of the export. The files from the import win.
2019-05-20 16:43:52 -04:00
Joey Hess
7d177b78e4
docs for export preferred content
This includes a note about how include= and exclude= match when exporting
a subtree. I don't know if the note is prominent enough, but the
behavior seems unsurprising enough.
2019-05-20 12:06:02 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
8bec41ceed Added a comment 2019-05-20 15:23:45 +00:00
Joey Hess
12451ea010
Merge branch 'master' into preferred 2019-05-20 10:00:03 -04:00
Joey Hess
fb69a8c215
retitle 2019-05-20 09:59:12 -04:00
Joey Hess
4894bfe3ea
comment 2019-05-20 09:58:36 -04:00
Joey Hess
2246aef3b8
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-20 09:51:25 -04:00
Joey Hess
cc6eb46ac2
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-20 09:50:56 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
06bc46eaa2 Added a comment: it's zsh 2019-05-19 10:05:27 +00:00
anthony@2b89f08c5c67f83d920fe464d7363db8f45cec20
b7a8264c2f Added a comment 2019-05-19 08:39:09 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
02a3160ca5 Added a comment: .profile doesn't take effect 2019-05-18 19:46:09 +00:00
Joey Hess
2d7f295b90
todo 2019-05-17 21:15:36 -04:00
ply
c70f344af4 Added a comment 2019-05-17 20:55:48 +00:00
Ilya_Shlyakhter
d803c1c331 reported issue with git-annex-init silently overwriting repo description 2019-05-17 17:51:25 +00:00
Joey Hess
8958556fe3
thought 2019-05-16 20:41:17 -04:00
Ilya_Shlyakhter
33c16fd936 reported still seeing errors with git-annex-add 2019-05-16 18:36:44 +00:00
aragilar
bea10be73c Added a comment 2019-05-16 08:26:28 +00:00
derobert
1a33402476 Added a comment 2019-05-16 08:12:45 +00:00
aragilar
117c009f23 2019-05-16 06:27:23 +00:00
anthony@ad39673d230d75cbfd19d2757d754030049c7673
2d7186b43d Added a comment 2019-05-15 17:55:58 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
a275f65662 Added a comment: Are we talking about a different installer? 2019-05-14 19:57:41 +00:00
Joey Hess
428435c37c
comment 2019-05-14 15:30:38 -04:00
Joey Hess
6a012c7d0c
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-14 15:25:21 -04:00
Joey Hess
24c8b1b15a
update 2019-05-14 15:25:09 -04:00
Ilya_Shlyakhter
846bf51421 Added a comment 2019-05-14 19:23:33 +00:00
Joey Hess
f4de45332c
wording 2019-05-14 15:18:43 -04:00
anthony@ad39673d230d75cbfd19d2757d754030049c7673
f986210657 Added a comment: Should be in ~/.profile 2019-05-14 19:15:08 +00:00
anthony@ad39673d230d75cbfd19d2757d754030049c7673
4e7444cbf1 2019-05-14 19:02:27 +00:00
Joey Hess
5266da2cdd
docs for importing preferred content 2019-05-14 14:43:51 -04:00
Joey Hess
156069f621
Merge branch 'master' into preferred 2019-05-14 14:29:49 -04:00
Joey Hess
f29da41367
fix man page formatting 2019-05-14 14:29:40 -04:00
Joey Hess
9411a7c93c
matching preferred content before key is known
This will let import try to match preferred content expressions before
downloading the content and generating its key.

If an expression needs a key, it preferredContentParser with
preferredContentKeylessTokens will fail to parse it.

standard and groupwanted are not in preferredContentKeylessTokens
because they may refer to an expression that refers to a key.
That needs further work to support them.
2019-05-14 14:28:23 -04:00
Joey Hess
a3e24ed533
more design work 2019-05-14 11:49:23 -04:00
Joey Hess
c5a61ee808
closing in on final design for this 2019-05-14 10:52:00 -04:00
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
53bee6dc5f Added a comment: Re: Empty lines sent by git-annex to an external special remote 2019-05-14 08:48:27 +00:00
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
c4abfcc368 Added a comment: Empty lines sent by git-annex to an external special remote 2019-05-14 06:36:12 +00:00
Ilya_Shlyakhter
0610789285 Added a comment: checksums of remote data 2019-05-13 22:03:38 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
4c7f38fc2c 2019-05-12 17:02:07 +00:00
ndj
d45dbd678c 2019-05-11 18:33:25 +00:00
Joey Hess
0c7569bb6f
close 2019-05-10 13:59:39 -04:00
Joey Hess
c77d79d343
close old todo 2019-05-10 13:54:32 -04:00
Joey Hess
ae562ad4d7
update old todo item with what still needs doing
removed old comments that are no longer relevant
2019-05-10 13:52:40 -04:00
Joey Hess
daa0c6c1c6
close old todo 2019-05-10 13:35:55 -04:00
Joey Hess
d32143e7ad
close 2019-05-10 13:34:44 -04:00
Joey Hess
ccfb800fa6
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-10 13:31:49 -04:00
Joey Hess
82186ca58f
annex.jobs=cpus etc
Added the ability to run one job per CPU (core), by setting annex.jobs=cpus,
or using option --jobs=cpus or -Jcpus.

Built with future expansion in mind, including not defaulting matching on
Concurrency so more constructors can later be added, and using "cpu"
instead of "0".
2019-05-10 13:27:08 -04:00
Joey Hess
459bbd9005
update roadmap 2019-05-10 12:35:14 -04:00
CandyAngel
0076e9fa03 2019-05-10 11:29:10 +00:00
Ilya_Shlyakhter
e0c73c7f29 Added a comment 2019-05-09 21:07:39 +00:00
yarikoptic
a022f42ab2 new issue on inability to access ftp urls forwarded to from http URL 2019-05-09 20:42:34 +00:00
Ilya_Shlyakhter
63f6389e64 problem with multi-threaded copying to an S3 remote. 2019-05-09 03:00:34 +00:00
strmd
aa66648d2f Added a comment 2019-05-08 17:23:24 +00:00
quzhengrobot@6237b7730f478778d064c18a5a314535129357dd
dff0a44287 Added a comment: Android - gitlab repo 2019-05-08 11:35:04 +00:00
Joey Hess
8b44548d0e
comment 2019-05-07 13:20:03 -04:00
Joey Hess
aaeb85361c
Merge branch 'wip' 2019-05-07 13:07:45 -04:00
Joey Hess
0dead2d6ec
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-07 13:06:30 -04:00
Joey Hess
7264863a01
add news item for git-annex 7.20190507 2019-05-07 13:06:14 -04:00
Joey Hess
2d33122215
avoid ingest lockdown file escaping the withOtherTmp call
Fixes bug that caused git-annex to fail to add a file when another
git-annex process cleaned up the temp directory it was using.

Solution is just to push withOtherTmp out to a higher level, so that
the whole ingest process can be completed inside it.

But in the assistant, that was not practical to do, since withOtherTmp runs
in the Annex monad and the assistant does not. Worked around by introducing
a separate temp directory that only the assistant uses for lockdown.
Since only one assistant can run at a time, it's easy to clean up that
directory of old cruft at startup.
2019-05-07 13:04:57 -04:00
Ilya_Shlyakhter
cc7c20f428 Added a comment 2019-05-07 16:53:10 +00:00
Joey Hess
f98e97669e
comment 2019-05-07 12:10:03 -04:00
Joey Hess
eb592a1f20
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-07 12:08:30 -04:00
Joey Hess
d6198442ce
comment 2019-05-07 12:08:07 -04:00
Ilya_Shlyakhter
6d5ba46776 Added a comment 2019-05-07 16:04:58 +00:00
Joey Hess
7da721e356
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-07 12:04:19 -04:00
Joey Hess
2a41712ef1
avoid stageJournal escaping withOtherTmp
This is only done for correctness sake; I don't see any way that it
would have caused a problem here. The jlog file escaped withOtherTmp
so another process could swoop in and delete it, but the file is only
used as a buffer for a list of filenames, and its handle gets rewound
and they're read back out, which will still work even if it's already
been deleted.

The only reason I didn't just pre-delete the file and keep the handle
open is I'm not sure that works on all OS's (eg Windows). If there was
a problem that this fixed it might involve an OS that doesn't support
deleting an open file or something like that.
2019-05-07 11:57:12 -04:00
Ilya_Shlyakhter
d46b916f3b Added a comment 2019-05-07 15:50:52 +00:00
Joey Hess
ce83783fcc
bug report 2019-05-07 11:40:45 -04:00
Joey Hess
09c2516487
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-07 11:21:30 -04:00
Joey Hess
5c217449cc
comment 2019-05-07 11:21:18 -04:00
Joey Hess
37ce10098c
comment 2019-05-07 11:12:00 -04:00
Ilya_Shlyakhter
5638ae9688 Added a comment 2019-05-07 00:59:31 +00:00
Ilya_Shlyakhter
4d0ae18635 Added a comment 2019-05-06 22:38:43 +00:00
Ilya_Shlyakhter
54b0028b5b Added a comment 2019-05-06 20:24:14 +00:00
Joey Hess
b03e65d260
Improved locking when multiple git-annex processes are writing to the .git/index file 2019-05-06 15:15:12 -04:00
Joey Hess
4bc99e4c21
add todo 2019-05-06 14:58:59 -04:00
Joey Hess
65a82e0d27
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-06 14:45:02 -04:00
Joey Hess
c31d0fe11b
re worktrees 2019-05-06 14:42:51 -04:00
Ilya_Shlyakhter
f0f0d6e61c Added a comment 2019-05-06 18:39:07 +00:00
Joey Hess
4f11885c12
response 2019-05-06 14:01:56 -04:00
Joey Hess
4999e6dd25
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-06 13:57:39 -04:00
Joey Hess
bf7ecd6892
fix export subtree reversion
Fix reversion in last release that caused wrong tree to be written to
remote tracking branch after an export of a subtree.

The invariant "commitsha should have the treesha as its tree"
was not met due to a bug. Guarantee it's met by catting the commitsha
to find its actual tree. A little bit slower, but this is not run often.
2019-05-06 13:57:13 -04:00
Ilya_Shlyakhter
590acf2b0d question about concurrent writing to the git-annex branch by multiple git-annex commands 2019-05-06 17:05:50 +00:00
Joey Hess
0533fde73c
reproduced 2019-05-06 12:43:26 -04:00
Joey Hess
1bae209470
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-06 12:42:49 -04:00
Joey Hess
c6a4779036
analysis 2019-05-06 12:39:35 -04:00
Joey Hess
6ad51d5627
comment 2019-05-06 12:29:53 -04:00
Joey Hess
7c874327aa
comment 2019-05-06 12:25:17 -04:00
Joey Hess
6845c1e020
comment 2019-05-06 12:16:19 -04:00
Joey Hess
7c6ada691b
comment 2019-05-06 12:07:08 -04:00
Joey Hess
b3eed0feac
comment 2019-05-06 12:04:25 -04:00
Joey Hess
1a0c3e864b
close 2019-05-06 12:02:10 -04:00
Joey Hess
bcbaf3a851
update 2019-05-06 10:51:54 -04:00
herbgroll@5a05f17cf9cd3d69057fee2991f630e5a60cd197
947503cc6d 2019-05-05 19:15:28 +00:00
Joey Hess
afd57e137b
tweak to fix man page indent 2019-05-04 11:45:55 -04:00
Joey Hess
fd57780d04
add news item for git-annex 7.20190503 2019-05-03 12:49:01 -04:00
Ilya_Shlyakhter
437fa438e3 Added a comment 2019-05-03 16:31:18 +00:00
Ilya_Shlyakhter
6535d0c1b2 Added a comment 2019-05-03 16:26:40 +00:00
Ilya_Shlyakhter
03a20b225a Added a comment 2019-05-03 16:11:06 +00:00
Joey Hess
9cb795da5f
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-03 11:53:37 -04:00
Joey Hess
40c749387f
comment 2019-05-03 11:53:03 -04:00
Ilya_Shlyakhter
3d214c3499 Added a comment 2019-05-03 15:50:43 +00:00
Joey Hess
644bae6f66
Merge branch 'master' of ssh://git-annex.branchable.com 2019-05-03 11:38:22 -04:00
Joey Hess
8c4b1d6f1f
response; cleanup 2019-05-03 11:37:41 -04:00
Ilya_Shlyakhter
64bcaff016 added todo for speculate-can-get : extension of speculate-present 2019-05-03 15:34:41 +00:00
yarikoptic
627fe280b0 Added a comment: question about .gitattributes 2019-05-03 15:21:41 +00:00
Joey Hess
60bed2c186
remove 2019-05-03 11:06:35 -04:00
Ilya_Shlyakhter
a153a694f4 Added a comment 2019-05-02 16:04:06 +00:00
yarikoptic
3eeb5a732c initial report 2019-05-01 22:03:53 +00:00
Joey Hess
63ed61ae3d
devblog 2019-05-01 14:46:42 -04:00
Joey Hess
700a3f2787
Merge branch 'master' into import-from-s3 2019-05-01 14:30:52 -04:00
Joey Hess
a405ae015d
remove simple fast-forward todo
I think the history looks nice enough without that special case.
2019-05-01 14:29:52 -04:00
Joey Hess
7264b9aa8c
tweak wording 2019-05-01 14:29:10 -04:00
Joey Hess
a32f31235a
reuse old imported commits
This avoids proliferation of different import commits for the same
trees, and makes the resulting git history nice.
2019-05-01 14:20:26 -04:00
Joey Hess
ed1f53702c
Merge branch 'master' of ssh://git-annex.branchable.com 2019-04-30 16:34:38 -04:00
Joey Hess
8f9457dec8
devblog 2019-04-30 16:33:48 -04:00
Joey Hess
83a420dd66
update todo 2019-04-30 16:31:46 -04:00
Joey Hess
1503b86a14
make import tree from remote generate a merge commit
This way no history is lost, neither what was exported to the remote,
or the history of changes that is imported from it. No complicated
correlation of two possibly very different histories is needed, just
record what we know and then git merge will do a good job.

Also, it notices when the remote tracking branch doesn't need to be updated,
and avoids doing anything, so noop remotes are super cheap.

The only catch here is that, since the commits generated for imports
from the remote don't have a stable date or author/committer, each
(non-noop) import generates different commits for the same imported
trees. So, when the imported remote tracking branch is merged into master
and then a change is imported again, there will be an extra series of
commits, which will get more and more expensive each time.

This seems to call for making stable commits for imports. Also that
seems a good idea to make importing in several repositories have the
same result.
2019-04-30 16:13:21 -04:00
Ilya_Shlyakhter
59922f1f45 Added a comment: format of log files on the git-annex branch 2019-04-30 17:52:41 +00:00
Joey Hess
3a6b9ccada
Merge branch 'master' of ssh://git-annex.branchable.com 2019-04-30 12:19:26 -04:00
Joey Hess
9dd764e6f7
Added mimeencoding= term to annex.largefiles expressions.
* Added mimeencoding= term to annex.largefiles expressions.
  This is probably mostly useful to match non-text files with eg
  "mimeencoding=binary"
* git-annex matchexpression: Added --mimeencoding option.
2019-04-30 12:17:22 -04:00
TroisSinges
857ad83ca4 2019-04-30 06:06:07 +00:00
yarikoptic
4f53cbbba8 Added a comment: update 2019-04-29 13:41:32 +00:00
Ilya_Shlyakhter
d8dbf53b57 Added a comment: use git-annex-untrust 2019-04-28 17:32:30 +00:00
Ilya_Shlyakhter
95b74b3fc1 removed 2019-04-28 17:29:59 +00:00
Ilya_Shlyakhter
8b8dbf1b70 Added a comment 2019-04-28 17:29:13 +00:00
stratosgear@54a818e85fb71bedb15c5ed52ba9442429f1698b
9a1484f4fb 2019-04-28 16:40:00 +00:00
yarikoptic
6b3cfcd59d Added a comment: change in libmagic behavior 2019-04-26 15:20:22 +00:00
Joey Hess
ff475d71c0
analysis 2019-04-26 10:23:48 -04:00
Joey Hess
cd5e685fd1
comment 2019-04-26 10:18:55 -04:00
Joey Hess
3e85707ccf
Merge branch 'master' of ssh://git-annex.branchable.com 2019-04-26 10:17:15 -04:00
yarikoptic
28a3926c8c initial report on twice the add line reported 2019-04-26 14:01:54 +00:00
yarikoptic
ec69ae87ed initial report on strange text file addition to annex instead of git 2019-04-26 13:58:30 +00:00
yarikoptic
b71a1b5483 wishlist for add --json-progress 2019-04-25 16:33:19 +00:00
Joey Hess
6af70dc5f8
Merge branch 'master' of ssh://git-annex.branchable.com 2019-04-25 10:54:18 -04:00
Joey Hess
2a6824bf9d
close 2019-04-25 10:49:55 -04:00
TroisSinges
e3de7ba02a 2019-04-25 11:57:58 +00:00