eric.w@eee65cd362d995ced72640c7cfae388ae93a4234 [Wed, 18 Nov 2020 17:51:31 +0000 (17:51 +0000)]
Joey Hess [Wed, 18 Nov 2020 16:53:41 +0000 (12:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 18 Nov 2020 16:52:14 +0000 (12:52 -0400)]
followup
kyle [Wed, 18 Nov 2020 15:30:07 +0000 (15:30 +0000)]
Added a comment
https://ro-che.info/ [Wed, 18 Nov 2020 13:46:25 +0000 (13:46 +0000)]
alex@3cb1cc0c80ffb2137f36155c5caa581605c3767b [Wed, 18 Nov 2020 12:09:08 +0000 (12:09 +0000)]
alex@3cb1cc0c80ffb2137f36155c5caa581605c3767b [Wed, 18 Nov 2020 12:08:08 +0000 (12:08 +0000)]
gueux [Wed, 18 Nov 2020 10:54:56 +0000 (10:54 +0000)]
Added a comment
Joey Hess [Tue, 17 Nov 2020 21:30:43 +0000 (17:30 -0400)]
comment
Joey Hess [Tue, 17 Nov 2020 17:31:12 +0000 (13:31 -0400)]
init: When writing hook scripts, set all execute bits, not only the user execute bit
Joey Hess [Tue, 17 Nov 2020 17:20:54 +0000 (13:20 -0400)]
comment
Joey Hess [Tue, 17 Nov 2020 16:00:03 +0000 (12:00 -0400)]
fix typo closing
Joey Hess [Tue, 17 Nov 2020 15:59:06 +0000 (11:59 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 17 Nov 2020 15:58:45 +0000 (11:58 -0400)]
fix build on windows
gueux [Tue, 17 Nov 2020 11:21:56 +0000 (11:21 +0000)]
Joey Hess [Mon, 16 Nov 2020 19:17:48 +0000 (15:17 -0400)]
retitle
Joey Hess [Mon, 16 Nov 2020 19:15:07 +0000 (15:15 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 16 Nov 2020 19:13:48 +0000 (15:13 -0400)]
avoid redundant adjusted branch update in sync
sync still does update it if the config would otherwise not, since it
already did.
Joey Hess [Mon, 16 Nov 2020 18:57:51 +0000 (14:57 -0400)]
bug fix
really innefficient but it does solve dropping
Joey Hess [Mon, 16 Nov 2020 18:31:02 +0000 (14:31 -0400)]
avoid spurious blank line when updating adjusted branch
git checkout run with --quiet should have no output
Joey Hess [Mon, 16 Nov 2020 18:09:55 +0000 (14:09 -0400)]
annex.adjustedbranchrefresh
Added annex.adjustedbranchrefresh git config to update adjusted branches
set up by git-annex adjust --unlock-present/--hide-missing.
Note, in a few cases, I was not able to make the adjusted branch
be updated in calls to moveAnnex, because information about what
file corresponds to a key is not available. They are:
* If two files point to one file, then eg, `git annex get foo` will
update the branch to unlock foo, but will not unlock bar, because it
does not know about it. Might be fixable by making `git annex get
bar` do something besides skipping bar?
* git-annex-shell recvkey likewise (so sends over ssh from old versions
of git-annex)
* git-annex setkey
* git-annex transferkey if the user does not use --file
* git-annex multicast sends keys with no associated file info
Doing a single full refresh at the end, after any incremental refresh,
will deal with those edge cases.
kyle [Mon, 16 Nov 2020 18:22:05 +0000 (18:22 +0000)]
Added a comment
yarikoptic [Mon, 16 Nov 2020 17:44:33 +0000 (17:44 +0000)]
Added a comment
Joey Hess [Mon, 16 Nov 2020 15:21:33 +0000 (11:21 -0400)]
split out Annex.Content.Presence
This will let a module that Annex.Content imports use inAnnex.
Unsure yet if I will need that, but this split still seems to make
sense, and Annex.Content was way too long so splitting it is good.
Joey Hess [Mon, 16 Nov 2020 14:09:25 +0000 (10:09 -0400)]
support parsing numeric git configs as bool
I'm not sure if git documents it aside from 0 and 1, but any integer
can be interpreted as a bool by it. Doing the same in git-annex is good
for consistency. Also, I am planning a config that starts out as a
numeric range, but will later transition to a simple bool (hopefully),
which this interpretation supports well.
Joey Hess [Mon, 16 Nov 2020 14:03:12 +0000 (10:03 -0400)]
Merge branch 'master' into symlink-missing
Joey Hess [Mon, 16 Nov 2020 13:56:32 +0000 (09:56 -0400)]
examinekey: Added a "file" format variable
For consistency with find, and for easier scripting.
Joey Hess [Mon, 16 Nov 2020 13:56:03 +0000 (09:56 -0400)]
fix build
Joey Hess [Mon, 16 Nov 2020 13:39:06 +0000 (09:39 -0400)]
add news item for git-annex 8.
20201116
Joey Hess [Mon, 16 Nov 2020 13:38:29 +0000 (09:38 -0400)]
releasing package git-annex version 8.
20201116
Joey Hess [Mon, 16 Nov 2020 13:37:11 +0000 (09:37 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 16 Nov 2020 13:31:45 +0000 (09:31 -0400)]
fix build on windows
yarikoptic [Sat, 14 Nov 2020 02:00:13 +0000 (02:00 +0000)]
Added a comment
wting [Fri, 13 Nov 2020 23:08:26 +0000 (23:08 +0000)]
Added a comment
Joey Hess [Fri, 13 Nov 2020 19:57:35 +0000 (15:57 -0400)]
measurement
Joey Hess [Fri, 13 Nov 2020 19:54:33 +0000 (15:54 -0400)]
close
Joey Hess [Fri, 13 Nov 2020 19:52:55 +0000 (15:52 -0400)]
comment
Joey Hess [Fri, 13 Nov 2020 19:50:35 +0000 (15:50 -0400)]
add todo
Joey Hess [Fri, 13 Nov 2020 18:58:42 +0000 (14:58 -0400)]
make sync update --unlock-present branch
Joey Hess [Fri, 13 Nov 2020 18:32:06 +0000 (14:32 -0400)]
rename to --unlock-present and better reverse adjusting
An --unlock-present branch reverses back to a branch where
all files that get modified or renamed become locked, even if they were
originally unlocked. This is the same that reversing a --unlock branch
works, and the new name makes that commonality more clear.
Joey Hess [Fri, 13 Nov 2020 18:19:45 +0000 (14:19 -0400)]
Merge branch 'master' into symlink-missing
Joey Hess [Fri, 13 Nov 2020 18:19:32 +0000 (14:19 -0400)]
move: Fix a regression in the last release that made move --to not honor numcopies settings
This commit was sponsored by Svenne Krap on Patreon.
Joey Hess [Fri, 13 Nov 2020 17:49:12 +0000 (13:49 -0400)]
add a test case that move respects numcopies
There is already one for drop, but move and drop don't handle numcopies
exactly the same, and there was recently a reversion in it checking
numcopies properly at all.
This commit was sponsored by Noam Kremen on Patreon.
Joey Hess [Fri, 13 Nov 2020 17:27:03 +0000 (13:27 -0400)]
git-annex adjust --lock-missing
Like --hide-missing the branch does not get updated when content
availability changes.
Seems to basically work, but sync does not update it yet.
Also, when a file is present and so unlocked, git mv followed by
git-annex sync results in the basis branch being updated to contain the
file with the new name, unlocked. This seems different than what
happens in an adjusted unlocked branch, where the commit propigates back
locked. Probably the reverse adjustment code needs to be improved to
handle this case.
Joey Hess [Fri, 13 Nov 2020 17:34:59 +0000 (13:34 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 13 Nov 2020 17:34:34 +0000 (13:34 -0400)]
hush build warning on OSX
Joey Hess [Fri, 13 Nov 2020 17:34:28 +0000 (13:34 -0400)]
fix build on windows
kyle [Fri, 13 Nov 2020 16:36:46 +0000 (16:36 +0000)]
Added a comment
wting [Fri, 13 Nov 2020 06:20:27 +0000 (06:20 +0000)]
Joey Hess [Thu, 12 Nov 2020 18:11:19 +0000 (14:11 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 12 Nov 2020 18:08:13 +0000 (14:08 -0400)]
examinekey: Added --migrate-to-backend
Note that, the way the SeekInput parser is written to support batch mode,
it's actually possible to do git-annex examinekey
"SHA1--foo foo.tar.gz" --migrate-to-backend=SHA1E
While that might be kind of useful to support multiple migrations not using
batch mode, I have not documented it. It would be better to take pairs of
key and file in that case.
kyle [Thu, 12 Nov 2020 17:13:55 +0000 (17:13 +0000)]
Joey Hess [Thu, 12 Nov 2020 17:02:31 +0000 (13:02 -0400)]
examinekey: Added two new format variables: objectpath and objectpointer
Joey Hess [Thu, 12 Nov 2020 16:59:27 +0000 (12:59 -0400)]
comment
Joey Hess [Thu, 12 Nov 2020 16:40:35 +0000 (12:40 -0400)]
move old direct mode stuff out of Annex.Locations
Joey Hess [Thu, 12 Nov 2020 16:29:15 +0000 (12:29 -0400)]
comment
Joey Hess [Thu, 12 Nov 2020 15:39:47 +0000 (11:39 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 12 Nov 2020 15:39:29 +0000 (11:39 -0400)]
fix build on windows
Joey Hess [Thu, 12 Nov 2020 15:36:14 +0000 (11:36 -0400)]
fix build on OSX
yarikoptic [Wed, 11 Nov 2020 20:10:33 +0000 (20:10 +0000)]
adding a note pointing to tentative recipe
yarikoptic [Wed, 11 Nov 2020 19:29:14 +0000 (19:29 +0000)]
todo/question on how to get full path to the key knowing metadata but having no file
Joey Hess [Wed, 11 Nov 2020 15:49:19 +0000 (11:49 -0400)]
bump filepath-bytestring dep
Joey Hess [Wed, 11 Nov 2020 15:47:58 +0000 (11:47 -0400)]
mixed up some of these long urls
Joey Hess [Wed, 11 Nov 2020 12:51:42 +0000 (08:51 -0400)]
fix build on windows
Joey Hess [Wed, 11 Nov 2020 12:51:09 +0000 (08:51 -0400)]
fix build on OSX more
Joey Hess [Wed, 11 Nov 2020 12:50:18 +0000 (08:50 -0400)]
updated github builds that datalad is doing
Joey Hess [Wed, 11 Nov 2020 12:14:55 +0000 (08:14 -0400)]
update
Joey Hess [Wed, 11 Nov 2020 11:53:42 +0000 (07:53 -0400)]
question
Joey Hess [Tue, 10 Nov 2020 16:15:04 +0000 (12:15 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 10 Nov 2020 16:10:51 +0000 (12:10 -0400)]
add warning on add of annex link
Warn when adding a annex symlink or pointer file that uses a key that is
not known to the repository, to prevent confusion if the user has copied it
from some other repository.
This commit was sponsored by Jake Vosloo on Patreon.
jcjgraf [Tue, 10 Nov 2020 16:05:57 +0000 (16:05 +0000)]
Added a comment
Joey Hess [Tue, 10 Nov 2020 15:53:45 +0000 (11:53 -0400)]
comment
Joey Hess [Tue, 10 Nov 2020 15:21:03 +0000 (11:21 -0400)]
fix build on windows
Joey Hess [Tue, 10 Nov 2020 15:16:56 +0000 (11:16 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 10 Nov 2020 15:16:39 +0000 (11:16 -0400)]
fix build on OSX
Joey Hess [Tue, 10 Nov 2020 15:15:14 +0000 (11:15 -0400)]
bump dep on filepath-bytestring
needed for makeRelative
jcjgraf [Tue, 10 Nov 2020 10:17:12 +0000 (10:17 +0000)]
Added a comment
Joey Hess [Tue, 10 Nov 2020 00:07:31 +0000 (20:07 -0400)]
add newtypes for QuickCheck to avoid LANG=C issues
All properties changed to use them, except for
prop_encode_c_decode_c_roundtrip, which already filtered to ascii
for other reasons.
A few modules had to be split out, because Setup does not build-depend
on QuickCheck.
Joey Hess [Mon, 9 Nov 2020 23:10:41 +0000 (19:10 -0400)]
diagnosis
yarikoptic [Mon, 9 Nov 2020 22:11:32 +0000 (22:11 +0000)]
fresh test failures + report that still there are FTBFS: I only wish git-annex development used some CI
Joey Hess [Mon, 9 Nov 2020 21:50:35 +0000 (17:50 -0400)]
add debug in two unusual situations
Joey Hess [Mon, 9 Nov 2020 21:30:08 +0000 (17:30 -0400)]
comment
jcjgraf [Mon, 9 Nov 2020 20:41:00 +0000 (20:41 +0000)]
Added a comment
Joey Hess [Mon, 9 Nov 2020 19:45:39 +0000 (15:45 -0400)]
followup
Joey Hess [Mon, 9 Nov 2020 19:26:31 +0000 (15:26 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 9 Nov 2020 19:12:08 +0000 (15:12 -0400)]
use MatchingKey when a Key is known
This fixes a bug where a file that was not preferred content could be
transferred to a remote. This happened when the file got deleted after
the sync started running.
The only time checkMatcher is run without a Key is in calls to
checkFileMatcher, which are only done by add, addurl, import, and
smudge --clean. Those won't be affected by this kind of race. Anything
else that might be precaching and have a similar race as sync will also
be fixed, but I don't know if it actually affected anything other than
sync.
As well as fixing a bug, this also probably makes sync and --auto faster
by avoiding the redundant key lookup.
This commit was sponsored by Graham Spencer on Patreon.
Joey Hess [Mon, 9 Nov 2020 18:35:51 +0000 (14:35 -0400)]
reproduced
jcjgraf [Mon, 9 Nov 2020 18:13:47 +0000 (18:13 +0000)]
Added a comment
Joey Hess [Mon, 9 Nov 2020 17:50:16 +0000 (13:50 -0400)]
close
Joey Hess [Mon, 9 Nov 2020 17:46:17 +0000 (13:46 -0400)]
update link
Joey Hess [Mon, 9 Nov 2020 16:38:44 +0000 (12:38 -0400)]
comment
Joey Hess [Mon, 9 Nov 2020 16:06:53 +0000 (12:06 -0400)]
update after RawFilePath transition
Added a comment
https://christian.amsuess.com/chrysn [Sun, 8 Nov 2020 18:14:48 +0000 (18:14 +0000)]
Make change log entry readable on the wiki (previous copy-paste from (debian?) changelog garbled itemization)
Lukey [Sun, 8 Nov 2020 08:25:36 +0000 (08:25 +0000)]
Added a comment
yarikoptic [Sat, 7 Nov 2020 23:59:52 +0000 (23:59 +0000)]
Added a comment
Joey Hess [Sat, 7 Nov 2020 18:10:19 +0000 (14:10 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 7 Nov 2020 18:09:17 +0000 (14:09 -0400)]
enable extensions needed by new version of persistent
Needed in order to use mkPersist in
persistent version 2.11.0.1
persistent-template version 2.9.1.0
Joey Hess [Sat, 7 Nov 2020 14:58:43 +0000 (10:58 -0400)]
bug