Daniel Höxtermann [Tue, 14 Feb 2023 20:21:46 +0000 (21:21 +0100)]
Fix typo "intiremote"
anarcat [Tue, 14 Feb 2023 19:03:24 +0000 (19:03 +0000)]
Added a comment
Joey Hess [Tue, 14 Feb 2023 18:11:23 +0000 (14:11 -0400)]
Revert "revert recent bug fix temporarily for release"
This reverts commit
16f1e2466595da27a56c1a67846ba68a9692b365.
Joey Hess [Tue, 14 Feb 2023 18:09:25 +0000 (14:09 -0400)]
add news item for git-annex 10.
20230214
Joey Hess [Tue, 14 Feb 2023 18:09:10 +0000 (14:09 -0400)]
releasing package git-annex version 10.
20230214
Joey Hess [Tue, 14 Feb 2023 18:06:29 +0000 (14:06 -0400)]
revert recent bug fix temporarily for release
Decided this bug is not severe enough to delay the release until
tomorrow, so this will be re-applied after the release.
Joey Hess [Tue, 14 Feb 2023 18:00:36 +0000 (14:00 -0400)]
Avoid Git.Config.updateLocation adding "/.git" to the end of the repo
path to a bare repo when git config is not allowed to list the configs
due to the CVE-2022-24765 fix.
That resulted in a confusing error message, and prevented the nice
message that explains how to mark the repo as safe to use.
Made isBare a tristate so that the case where core.bare is not returned can
be handled.
The handling in updateLocation is to check if the directory
contains config and objects and if so assume it's bare.
Note that if that heuristic is somehow wrong, it would construct a repo
that thinks it's bare but is not. That could cause follow-on problems,
but since git-annex then checks checkRepoConfigInaccessible, and skips
using the repo anyway, a wrong guess should not be a problem.
Sponsored-by: Luke Shumaker on Patreon
Joey Hess [Tue, 14 Feb 2023 17:49:16 +0000 (13:49 -0400)]
use isBareRepo
The advantage over Git.Config.isBare is that it avoids a string
comparison and a map lookup.
Sponsored-by: Noam Kremen on Patreon
Joey Hess [Tue, 14 Feb 2023 17:31:26 +0000 (13:31 -0400)]
analysis
Joey Hess [Tue, 14 Feb 2023 17:28:02 +0000 (13:28 -0400)]
fix comment
Joey Hess [Tue, 14 Feb 2023 16:34:46 +0000 (12:34 -0400)]
upper case start of warning
Joey Hess [Tue, 14 Feb 2023 16:34:07 +0000 (12:34 -0400)]
add space after colon in warning message
Joey Hess [Tue, 14 Feb 2023 16:30:58 +0000 (12:30 -0400)]
bug report from forum
Joey Hess [Tue, 14 Feb 2023 16:18:00 +0000 (12:18 -0400)]
comment
nobodyinperson [Tue, 14 Feb 2023 09:35:32 +0000 (09:35 +0000)]
Added a comment: 👍 This made it easier for the Thunar plugin!
Added a comment: Resolved
Joey Hess [Mon, 13 Feb 2023 18:30:54 +0000 (14:30 -0400)]
better handling of multiple repositories with the same name
Used to fail with a bad error message, indicating there was no
repository with the specified name, or something like that. Now, suggest
they use the uuid to disambiguate.
* info, enableremotemote, renameremote: Avoid a confusing message when more
than one repository matches the user provided name.
* info: Exit nonzero when the input is not supported.
Sponsored-by: Kevin Mueller on Patreon
Joey Hess [Mon, 13 Feb 2023 17:29:57 +0000 (13:29 -0400)]
Sped up view branch construction by 50%
A benchmark in my sound repository with `git-annex view feedtitle=*`
took 2:52 wall clock time before and 1:58 after. Though it still only used
130% of CPU.
This is the same kind of optimisation that is in seekFilteredKeys, though
that precaches location logs while this streams the metadata logs direct
to parsing them.
seekFilteredKeys contains more streaming, to find the annexed files, and
this could be further sped up with similar streaming.
Sponsored-by: Nicholas Golder-Manning on Patreon
Added a comment
nobodyinperson [Mon, 13 Feb 2023 08:32:24 +0000 (08:32 +0000)]
Added a comment: Have a look at mount options
Added a comment
nadir [Sun, 12 Feb 2023 14:13:34 +0000 (14:13 +0000)]
Added a comment
Joey Hess [Sat, 11 Feb 2023 20:07:05 +0000 (16:07 -0400)]
move a paragraph into the pages that the links it talks about were long ago moved to
Joey Hess [Sat, 11 Feb 2023 19:21:07 +0000 (15:21 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 11 Feb 2023 18:17:13 +0000 (14:17 -0400)]
add warning about Go's past and future data collection
Based on https://github.com/golang/go/discussions/58409, the Go compiler
already defaults to using a google proxy server, which would allow
Google to collect information about what dependencies users are
installing. (Of course they claim they won't.) Two separate environment
settings are needed to turn that off, and users in that thread were
surprised to learn about one of them.
So this warning is already appropriate to some extent.
Also based on the minimisation of user concerns by the golang developers
on that issue and elsewhere, it seems best to assume that they are not
going to be dissuaded from increasing data collection efforts in the future,
even if the blowback prevents this particular attempt.
So this warning should not be removed unless the Go community somehow
extricates itself from Google's control. Or unless ipfs is rewritten in
another language.
Some distros do have ipfs. Unfortunately, Debian appears to be structurally
incapable of packaging it. (8 years and counting;
https://bugs.debian.org/779893). So lots of users will be stuck
installing it from source or having to trust its official binaries.
Joey Hess [Sat, 11 Feb 2023 19:08:31 +0000 (15:08 -0400)]
add a warning about homebrew's use of analytics by default
It apparently displays a notice on first use, but I was surprised to
learn about this behavior today, and I've used it. Displaying a notice
does not make violating users' privacy acceptable.
Joey Hess [Sat, 11 Feb 2023 18:13:18 +0000 (14:13 -0400)]
remove warning about ipfs being alpha code
That may have been true in 2015, but seems very unlikely
to be true now.
Atemu [Fri, 10 Feb 2023 23:05:04 +0000 (23:05 +0000)]
Joey Hess [Fri, 10 Feb 2023 19:51:38 +0000 (15:51 -0400)]
close todo and open new one
Joey Hess [Fri, 10 Feb 2023 19:49:15 +0000 (15:49 -0400)]
fix buggy sync to exporttree remote when annex-tracking-branch is not checked out
sync: Fix a bug that caused files to be removed from an importtree=yes
exporttree=yes special remote when the remote's annex-tracking-branch was
not the currently checked out branch.
Sponsored-by: Max Thoursie on Patreon
Joey Hess [Fri, 10 Feb 2023 19:32:09 +0000 (15:32 -0400)]
bug report
Joey Hess [Fri, 10 Feb 2023 19:27:42 +0000 (15:27 -0400)]
finishing up sync in view branch
sync: When run in a view branch, avoid updating synced/ branches, or trying
to merge anything from remotes.
Sponsored-by: Erik Bjäreholt on Patreon
Joey Hess [Fri, 10 Feb 2023 18:42:14 +0000 (14:42 -0400)]
comment
Joey Hess [Fri, 10 Feb 2023 18:33:21 +0000 (14:33 -0400)]
sync: Warn when the adjusted basis ref cannot be found
As happens eg when the user has renamed branches.
Sponsored-by: Graham Spencer on Patreon
Joey Hess [Fri, 10 Feb 2023 18:16:23 +0000 (14:16 -0400)]
comment
Joey Hess [Fri, 10 Feb 2023 18:06:34 +0000 (14:06 -0400)]
comment
Joey Hess [Fri, 10 Feb 2023 17:34:59 +0000 (13:34 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 10 Feb 2023 17:34:47 +0000 (13:34 -0400)]
Support http urls that contain ":" that is not followed by a port number
The same as git does.
Sponsored-by: Dartmouth College's DANDI project
a@92214b2eae95307f511e06845d2cb5b5931b00a3 [Fri, 10 Feb 2023 17:08:32 +0000 (17:08 +0000)]
jpds [Fri, 10 Feb 2023 15:10:17 +0000 (15:10 +0000)]
jpds [Fri, 10 Feb 2023 14:53:11 +0000 (14:53 +0000)]
yarikoptic [Fri, 10 Feb 2023 14:16:53 +0000 (14:16 +0000)]
initial report on http urls without port number
Added a comment
jpds [Thu, 9 Feb 2023 09:51:21 +0000 (09:51 +0000)]
Added a comment
nobodyinperson [Wed, 8 Feb 2023 22:11:30 +0000 (22:11 +0000)]
Added a comment: long filenames in view
nobodyinperson [Wed, 8 Feb 2023 20:17:12 +0000 (20:17 +0000)]
Added a comment: `git annex sync` when in view
Joey Hess [Wed, 8 Feb 2023 19:37:28 +0000 (15:37 -0400)]
sync in view branch updates the view branch
* sync: When run in a view branch, refresh the view branch to reflect any
changes that have been made to the parent branch or metadata.
This is basically working, but probably needs some more work to deal with
all the edge cases of things sync does.
Sponsored-by: Lawrence Brogan on Patreon
Joey Hess [Wed, 8 Feb 2023 17:55:55 +0000 (13:55 -0400)]
avoid sync pushing view branches to remotes, and better view branch names
* sync: Avoid pushing view branches to remotes.
* Changed the name of view branches to include the parent branch.
Existing view branches checked out using an old name will still work.
It does not seem useful for sync to push view branches around, because
the information in a view branch can entirely be derived from other
information in git. And sync doesn't push adjusted branches around either.
The better view branch names make it more in line with adjusted branch
names, but were also needed to make fromViewBranch be able to return the
original branch name.
Kept the old view branch names still working. But, when those branches
exist in a repo, sync will still try to push them as before. Avoiding
that would need more complicated and/or expensive changes to sync.
Sponsored-By: Boyd Stephen Smith Jr. on Patreon
Joey Hess [Wed, 8 Feb 2023 16:48:31 +0000 (12:48 -0400)]
document sync in adjusted branch behavior
This was documented in the git-annex-adjust man page, but not in
git-annex-sync
Joey Hess [Wed, 8 Feb 2023 16:41:54 +0000 (12:41 -0400)]
comment
Joey Hess [Wed, 8 Feb 2023 16:35:29 +0000 (12:35 -0400)]
link to related todo
Joey Hess [Wed, 8 Feb 2023 16:24:35 +0000 (12:24 -0400)]
comment
Joey Hess [Wed, 8 Feb 2023 16:22:42 +0000 (12:22 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 8 Feb 2023 16:21:53 +0000 (12:21 -0400)]
fix spelling
Joey Hess [Wed, 8 Feb 2023 16:21:33 +0000 (12:21 -0400)]
thought
anarcat [Wed, 8 Feb 2023 15:38:03 +0000 (15:38 +0000)]
Added a comment
Joey Hess [Wed, 8 Feb 2023 13:40:07 +0000 (09:40 -0400)]
todo
Joey Hess [Tue, 7 Feb 2023 22:11:40 +0000 (18:11 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 7 Feb 2023 22:09:10 +0000 (18:09 -0400)]
add FIELD?=GLOB to git-annex view usage
And also to vadd usage.
Also added some other things to the usage that were omitted before to
save space.
Adding even FIELD?=GLOB made the git-annex --help list of commands grow
too wide for an 80 column display. So, removed the description of
parameters from that list of commands.
Sponsored-By: Brock Spratlen on Patreon
nobodyinperson [Tue, 7 Feb 2023 20:54:48 +0000 (20:54 +0000)]
Added a comment
Joey Hess [Tue, 7 Feb 2023 20:28:46 +0000 (16:28 -0400)]
add directory to views for files that lack specified metadata
* view: New field?=glob and ?tag syntax that includes a directory "_"
in the view for files that do not have the specified metadata set.
* Added annex.viewunsetdirectory git config to change the name of the
"_" directory in a view.
When in a view using the new syntax, old git-annex will fail to parse the
view log. It errors with "Not in a view.", which is not ideal. But that
only affects view commands.
annex.viewunsetdirectory is included in the View for a couple of reasons.
One is to avoid needing to warn the user that it should not be changed when
in a view, since that would confuse git-annex. Another reason is that it
helped with plumbing the value through to some pure functions.
annex.viewunsetdirectory is actually mangled the same as any other view
directory. So if it's configured to something like "N/A", there won't be
multiple levels of directories, which would also confuse git-annex.
Sponsored-By: Jack Hill on Patreon
Joey Hess [Tue, 7 Feb 2023 17:31:45 +0000 (13:31 -0400)]
comment
Joey Hess [Tue, 7 Feb 2023 16:46:19 +0000 (12:46 -0400)]
improve docs of view exclude values
Joey Hess [Tue, 7 Feb 2023 16:42:26 +0000 (12:42 -0400)]
correct docs on view exclude values to not say globs work
globs have never worked in field!=
see commit
c2e8c21ca673ceb91c96eacd22acfe949387bbed when the feature was
added, which discussed why
Joey Hess [Tue, 7 Feb 2023 16:35:01 +0000 (12:35 -0400)]
comment
anarcat [Mon, 6 Feb 2023 21:15:40 +0000 (21:15 +0000)]
Joey Hess [Mon, 6 Feb 2023 20:31:06 +0000 (16:31 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 6 Feb 2023 20:30:50 +0000 (16:30 -0400)]
fix build warning
MatusGoljer1 [Mon, 6 Feb 2023 19:30:02 +0000 (19:30 +0000)]
Added a comment
Joey Hess [Mon, 6 Feb 2023 18:07:33 +0000 (14:07 -0400)]
S3 region=
S3: Support a region= configuration useful for some non-Amazon S3
implementations. This feature needs git-annex to be built with aws-0.24.
datacenter= sets both the AWS hostname and region in one setting, which is
easy when using AWS, but not useful for other hosts. So kept datacenter
as-is, but added this additional config.
Sponsored-By: Brett Eisenberg on Patreon
Joey Hess [Mon, 6 Feb 2023 17:05:27 +0000 (13:05 -0400)]
comment
Joey Hess [Mon, 6 Feb 2023 16:50:34 +0000 (12:50 -0400)]
comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Sun, 5 Feb 2023 22:41:28 +0000 (22:41 +0000)]
Added a comment
nobodyinperson [Fri, 3 Feb 2023 13:40:41 +0000 (13:40 +0000)]
nobodyinperson [Fri, 3 Feb 2023 13:25:22 +0000 (13:25 +0000)]
Added a comment: 👍 +1 for updating the view when committing
jpds [Thu, 2 Feb 2023 15:53:34 +0000 (15:53 +0000)]
Added a comment
jwodder [Wed, 1 Feb 2023 19:55:29 +0000 (19:55 +0000)]
hurlebouc [Wed, 1 Feb 2023 12:26:05 +0000 (12:26 +0000)]
Added a comment
Added a comment: same error, same fix
jpds [Tue, 31 Jan 2023 22:28:16 +0000 (22:28 +0000)]
Added a comment
Joey Hess [Tue, 31 Jan 2023 19:58:21 +0000 (15:58 -0400)]
analysis
Joey Hess [Tue, 31 Jan 2023 18:42:26 +0000 (14:42 -0400)]
correct obsolete comment
Joey Hess [Tue, 31 Jan 2023 17:29:57 +0000 (13:29 -0400)]
comment
Joey Hess [Sun, 29 Jan 2023 15:32:00 +0000 (11:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sun, 29 Jan 2023 15:29:51 +0000 (11:29 -0400)]
ignore git-annex-build-deps files from dpkg-genbuilddeps
The autobuilders run that in the git-annex tree, and the command
does not clean up after itself.
hurlebouc [Sun, 29 Jan 2023 06:54:07 +0000 (06:54 +0000)]
Joey Hess [Sat, 28 Jan 2023 18:26:14 +0000 (14:26 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 28 Jan 2023 17:50:33 +0000 (13:50 -0400)]
work around ldd crash on arm64 autobuilder
This does mean it has to run ldd once per executable, which is actually
quite a number of times, so will be a bit slower.
Sponsored-by: Luke Shumaker on Patreon
jpds [Sat, 28 Jan 2023 00:00:13 +0000 (00:00 +0000)]
Added a comment
mih [Fri, 27 Jan 2023 09:19:10 +0000 (09:19 +0000)]
Added a comment: file:/// must be forced to file:// on windows
Joey Hess [Thu, 26 Jan 2023 19:37:21 +0000 (15:37 -0400)]
support old libgcc1 name
Used in Debian jessie, which the i386ancient autobuilder uses.
Joey Hess [Thu, 26 Jan 2023 19:33:52 +0000 (15:33 -0400)]
add upper bounds on base version
hackage now rejects packages without this
Joey Hess [Thu, 26 Jan 2023 19:31:29 +0000 (15:31 -0400)]
add upper bounds on Cabal version
hackage now rejects packages without this. My bet is any version of
cabal is going to work, I'm using the public API. Annoying.
Joey Hess [Thu, 26 Jan 2023 19:27:44 +0000 (15:27 -0400)]
add news item for git-annex 10.
20230126
Joey Hess [Thu, 26 Jan 2023 19:27:32 +0000 (15:27 -0400)]
releasing package git-annex version 10.
20230126
Joey Hess [Thu, 26 Jan 2023 19:25:54 +0000 (15:25 -0400)]
new linux autobuilder
Joey Hess [Thu, 26 Jan 2023 18:54:02 +0000 (14:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com