Commit graph

35983 commits

Author SHA1 Message Date
yarikoptic
b00d73b1d6 Added a comment: Another use case -- http_proxy 2019-11-12 17:51:25 +00:00
Joey Hess
99536e3a0b
remove one more warningIO
Had to generalize Git.Queue so it can run an Annex action, yipes.

Only remaining warningIO are in the legacy chunk code.
2019-11-12 10:45:52 -04:00
Joey Hess
3edd427b84
use fromRepo 2019-11-12 10:32:14 -04:00
Joey Hess
9e8d40181f
remove some unncessary uses of warningIO
warningIO is not concurrent output safe, and it doesn't go to
--json-error-messages

There are a few more that would be too hard to remove, and there are also
several dozen direct prints to stderr still.
2019-11-12 10:07:27 -04:00
Joey Hess
0be23bae2f
refactor
Better to not have a single function module, and better to have a more
specific type than Bool.

This commit was sponsored by Jack Hill on Patreon
2019-11-11 19:10:52 -04:00
Joey Hess
3b34d123ed
Added annex.allowsign option.
This commit was sponsored by Ilya Shlyakhter on Patreon.
2019-11-11 16:28:56 -04:00
Joey Hess
02a8573bf2
mention special remotes 2019-11-11 13:15:01 -04:00
Joey Hess
7bdc6b3a57
Merge branch 'master' of ssh://git-annex.branchable.com 2019-11-11 12:53:00 -04:00
Joey Hess
925b2acb34
some improvements to docs 2019-11-11 12:52:45 -04:00
Joey Hess
f07d61c376
typo 2019-11-11 12:39:51 -04:00
Joey Hess
e42eb04182
fix language 2019-11-11 12:36:57 -04:00
Joey Hess
14f2c1eb92
typo 2019-11-11 12:36:05 -04:00
Ilya_Shlyakhter
41bb14a885 added todo about documenting sqlite database schemas 2019-11-10 23:27:57 +00:00
Ilya_Shlyakhter
9fffc2d1e1 Added a comment: Re: Symlinks for not-present unlocked files in v8 2019-11-10 23:03:43 +00:00
gb@4a49bb1afcf3d183bba8f07297b0395808768c6c
6a527e68e4 Added a comment: Symlinks for not-present unlocked files in v8? 2019-11-10 14:51:59 +00:00
Ilya_Shlyakhter
b7a3ba9434 Added a comment: limiting clean/smudge filter to unlocked files 2019-11-08 19:48:11 +00:00
yarikoptic
ea7959353e Added a comment: RFC: how would it work for regular git remote + special remote 2019-11-08 19:19:19 +00:00
http://templeofcrom.duckdns.org/
e486fd5e0f Added a comment: A warning in the docs about earlier v7 revisions would be nice 2019-11-08 04:59:43 +00:00
pigmonkey
c6a1dc48c0 removed 2019-11-07 18:39:43 +00:00
pigmonkey
45b78a7536 Added a comment: Consider deprecation warnings in the web app 2019-11-07 18:39:03 +00:00
pigmonkey
c844d6dd54 Added a comment: Consider deprecation warnings in the web app 2019-11-07 18:38:29 +00:00
Joey Hess
0eeeca0222
devblog 2019-11-07 13:46:36 -04:00
Joey Hess
446ce47038
Merge branch 'master' into sqlite 2019-11-07 13:26:45 -04:00
Joey Hess
8f276f33b7
update status of sqlite branch 2019-11-07 13:26:05 -04:00
Joey Hess
3553867b66
v7 to v8 auto-upgrade
bump version to 8

and update NEWS about it
2019-11-07 13:24:16 -04:00
Joey Hess
7ed2723908
Merge branch 'master' into sqlite 2019-11-07 13:20:46 -04:00
Joey Hess
8c9853b602
remove UNRELEASED marker 2019-11-07 13:20:28 -04:00
Joey Hess
aa010108cd
Merge branch 'master' into sqlite 2019-11-07 13:20:04 -04:00
Joey Hess
cefdea8073
results of more testing 2019-11-07 13:10:39 -04:00
Joey Hess
6f8b745e23
add news item for git-annex 7.20191106 2019-11-06 18:37:42 -04:00
Joey Hess
2f94b5419a
use new name for new format export dbs
Delete the old export dbs on upgrade.

Testing this an exporting to a directory with both exporttree=yes and
importtree=yes, it refused to let an interrupted export proceed after
upgrade, with "unsafe to overwrite file". An import resolved the
problem.
2019-11-06 17:34:15 -04:00
Joey Hess
09241f17ed
document v8 2019-11-06 17:13:01 -04:00
Joey Hess
3b820f08f7
use new name for new format content identifier db
It will be populated automatically by the next command that needs data
from it, the same way it gets populated in a fresh clone. That may be a
little expensive, but it's a one time cost, and no slower than in a
fresh clone.
2019-11-06 16:43:52 -04:00
Joey Hess
1b5f4b67b5
use new name for new format fsck db
The old db is cleaned up when a new incremental fsck is started.

The incremental fsck won't pick up where the old one left off, but I
consider this a minor enough thing that it can just be documented and
won't be a problem.
2019-11-06 16:27:25 -04:00
Joey Hess
dc9295017f
v8 upgrade of keys db
Renamed the database to .git/annex/keysdb;
the old .git/annex/keys gets deleted during the upgrade.

It is possible that an old git-annex process is running during the
upgrade. If so, it will be able to continue using the old keys db until the
upgrade is complete, and then will presumably fail in some ugly way. Or
perhaps the upgrade will be unable to delete the open files on some
systems, and so fail with an ugly error message.

It's also possible for multiple processes to be running the upgrade
concurrently. That should be fine; they will both write the same
information into the keys db.

Other databases still need to be upgraded.
2019-11-06 16:16:00 -04:00
Joey Hess
09ee6b0ccb
Windows: Fix handling of changes to time zone.
Used to work but was broken in version 7.20181031, specifically commit
5ab0f48ffb.

That this was not noticed over at least 1 daylight savings time zone
changes makes me wonder if the TSDelta stuff is still needed.
Perhaps the mtime on Windows no longer changes when the time zone is changed?
2019-11-06 14:36:49 -04:00
Joey Hess
89bdcffdfa
found a way to extract InodeCache from git index
This will allow a race-free database transition. It is somewhat hairy in
that it depends on an unspecified git output format.
2019-11-06 14:23:00 -04:00
Joey Hess
73e928fcfb
prep release 2019-11-06 12:21:02 -04:00
nivek-retsof@97a405d1563af7581f6c8d1f7bae67b0ce896721
a0a873d44c Added a comment: Thanks! 2019-11-05 22:18:49 +00:00
Joey Hess
6147130e86
Merge branch 'master' into sqlite 2019-11-05 12:59:28 -04:00
Joey Hess
68a579313d
update 2019-11-05 12:57:46 -04:00
Joey Hess
41825195ba
Merge branch 'master' of ssh://git-annex.branchable.com 2019-11-05 12:51:50 -04:00
Joey Hess
fccfcba89f
update to document current state of sqlite branch 2019-11-05 12:50:53 -04:00
Joey Hess
e2d4c133f5
init: fix data loss bug
Fix bug that lost modifications to unlocked files when init is re-ran in an
already initialized repo.

In retrospect needing scanUnlockedFiles False in the direct mode upgrade
path was a good hint that it was unsafe when used with True.

However, this bug did not affect upgrade from v5. In such an upgrade, an
unlocked file that is modified is left as-is. The only place
scanUnlockedFiles True did overwrite modified unlocked files is during an
git-annex init of a repo that was already initialized by git-annex.

(I also tried a scenario where the repo had not been initialized by
git-annex yet, but was cloned from a v7 repo with an unlocked file, and the
pointer file replaced with some other content, and the data loss did not
occur in that situation.)

Since the fixed scanUnlockedFiles avoids overwriting non-pointer files,
it should be safe to run in any situation, so there's no need any longer
for the parameter.
2019-11-05 12:41:15 -04:00
Joey Hess
3cb2427dbc
fix typo 2019-11-04 14:30:27 -04:00
yarikoptic
0173b153de added <details> to fold done/fixed things 2019-11-04 17:56:46 +00:00
Ilya_Shlyakhter
363be9e338 Added a comment 2019-11-04 16:40:53 +00:00
Joey Hess
b1cf0869db
link to todo 2019-11-04 11:48:45 -04:00
Joey Hess
96c81fa4f1
comment 2019-11-04 11:47:21 -04:00
irieger
e56521543b Added a comment: comment 5 2019-11-04 08:30:08 +00:00