Joey Hess [Tue, 10 Oct 2023 16:56:09 +0000 (12:56 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Added a comment
Added a comment
Joey Hess [Mon, 9 Oct 2023 19:00:33 +0000 (15:00 -0400)]
comment
Joey Hess [Mon, 9 Oct 2023 18:47:19 +0000 (14:47 -0400)]
comment
Joey Hess [Mon, 9 Oct 2023 18:38:24 +0000 (14:38 -0400)]
comment
Joey Hess [Mon, 9 Oct 2023 18:29:06 +0000 (14:29 -0400)]
commnet
Joey Hess [Mon, 9 Oct 2023 18:28:01 +0000 (14:28 -0400)]
comment
Joey Hess [Mon, 9 Oct 2023 18:26:24 +0000 (14:26 -0400)]
don't say a supported version is unsupported
When an automatic upgrade from eg v10 fails, it's still a supported
version, so don't say unsupported.
nobodyinperson [Fri, 6 Oct 2023 03:22:12 +0000 (03:22 +0000)]
Added a comment
branch [Thu, 5 Oct 2023 21:40:55 +0000 (21:40 +0000)]
Added a comment
kdm9 [Wed, 4 Oct 2023 14:39:48 +0000 (14:39 +0000)]
Added a comment: Linux 64bit failing?
Atemu [Sun, 1 Oct 2023 10:06:18 +0000 (10:06 +0000)]
Atemu [Sun, 1 Oct 2023 09:38:29 +0000 (09:38 +0000)]
Joey Hess [Wed, 27 Sep 2023 19:02:11 +0000 (15:02 -0400)]
drop NSF logo
Seems hotlinking is not allowed, and I don't want to copy it to some
other site (can't include it here due to licensing.)
Joey Hess [Wed, 27 Sep 2023 18:57:18 +0000 (14:57 -0400)]
fix NSF logo
Joey Hess [Tue, 26 Sep 2023 17:46:44 +0000 (13:46 -0400)]
enable parallel ghc for building git-annex
Via a build flag this time, that's off by default because hackage
demands it be so, but that gets turned on by the Makefile and by stack.
Joey Hess [Tue, 26 Sep 2023 17:34:28 +0000 (13:34 -0400)]
Revert "enable parallel ghc for building git-annex"
This reverts commit
3f6aff89b1022b90c43a96b091d55e6e251d6f83.
Sadly hackage rejects cabal files using -j unless hidden behind an
option that is disabled by default.
Joey Hess [Tue, 26 Sep 2023 17:30:00 +0000 (13:30 -0400)]
add news item for git-annex 10.
20230926
Joey Hess [Tue, 26 Sep 2023 17:29:49 +0000 (13:29 -0400)]
releasing package git-annex version 10.
20230926
Joey Hess [Tue, 26 Sep 2023 17:18:08 +0000 (13:18 -0400)]
analysis
Joey Hess [Tue, 26 Sep 2023 17:04:42 +0000 (13:04 -0400)]
followup
Joey Hess [Fri, 22 Sep 2023 20:03:09 +0000 (16:03 -0400)]
update
Joey Hess [Fri, 22 Sep 2023 19:52:28 +0000 (15:52 -0400)]
close
Joey Hess [Fri, 22 Sep 2023 19:47:40 +0000 (15:47 -0400)]
close
Joey Hess [Fri, 22 Sep 2023 19:45:49 +0000 (15:45 -0400)]
close
Joey Hess [Fri, 22 Sep 2023 19:38:58 +0000 (15:38 -0400)]
close
Joey Hess [Fri, 22 Sep 2023 19:37:47 +0000 (15:37 -0400)]
close
Joey Hess [Fri, 22 Sep 2023 19:35:01 +0000 (15:35 -0400)]
moreinfo
Joey Hess [Fri, 22 Sep 2023 19:34:30 +0000 (15:34 -0400)]
argh
Joey Hess [Fri, 22 Sep 2023 19:17:10 +0000 (15:17 -0400)]
hmmm
Joey Hess [Fri, 22 Sep 2023 19:06:30 +0000 (15:06 -0400)]
hm
Joey Hess [Fri, 22 Sep 2023 18:49:21 +0000 (14:49 -0400)]
analysis
Joey Hess [Fri, 22 Sep 2023 17:34:39 +0000 (13:34 -0400)]
close as seems fixed
Joey Hess [Fri, 22 Sep 2023 17:31:37 +0000 (13:31 -0400)]
close
Joey Hess [Fri, 22 Sep 2023 17:29:48 +0000 (13:29 -0400)]
enableremote: Avoid overwriting existing git remote when passed the uuid of a specialremote that was earlier initialized with the same name
Joey Hess [Fri, 22 Sep 2023 16:59:32 +0000 (12:59 -0400)]
moreinfo
Joey Hess [Fri, 22 Sep 2023 16:58:19 +0000 (12:58 -0400)]
comment
Joey Hess [Fri, 22 Sep 2023 16:55:37 +0000 (12:55 -0400)]
done
Joey Hess [Fri, 22 Sep 2023 16:48:35 +0000 (12:48 -0400)]
typo
Joey Hess [Fri, 22 Sep 2023 16:40:40 +0000 (12:40 -0400)]
document -C behavior with exporttree remotes
Joey Hess [Fri, 22 Sep 2023 16:36:15 +0000 (12:36 -0400)]
comment
Joey Hess [Thu, 21 Sep 2023 17:40:22 +0000 (13:40 -0400)]
fix some build warnings from ghc 9.4.6
It now notices that a RepoLocation may not be Local, in which case
pattern matching on Local wouldn't do.
Joey Hess [Thu, 21 Sep 2023 17:38:36 +0000 (13:38 -0400)]
fix some build warnings from ghc 9.4.6
For some reason it doesn't notice that req must be a Req, because
the toplevel function matched on that.
Joey Hess [Thu, 21 Sep 2023 17:00:31 +0000 (13:00 -0400)]
enable parallel ghc for building git-annex
This drops a full recompile on my new 12 core laptop from 4:00 to 2:47.
It would be possible for me to use:
cabal configure --ghc-options=-j
But that also makes cabal parallelize ghc for each package it installs
to satisfy git-annex's dependencies. Since cabal is already configured
to parallize installing dependencies, that would use N^2 cpu cores,
which seems like a bad idea.
And also I'd have to remember to do it.
So I'm thinking it's better to do it by default. If a system that is
building git-annex is also busy with other things, let the scheduler
sort it out. If this impacts someone particularly badly, they can of
course avoid it with:
cabal configure --ghc-options=-j1
Joey Hess [Thu, 21 Sep 2023 16:43:42 +0000 (12:43 -0400)]
Support being built with crypton rather than cryptonite
crypton is a fork of cryptonite, and cryptonite's github repo has been
archived. Some deps are already using cryptonite so it's clearly the way
forward.
Added a build flag without a default, so cabal configure will select on its
own which to use. stack files pin to cryptonite for now.
Sponsored-by: Nicholas Golder-Manning on Patreon
Joey Hess [Thu, 21 Sep 2023 16:11:01 +0000 (12:11 -0400)]
fix some build warnings from ghc 9.4.6
It now notices that a RepoLocation may not be Local, in which case
pattern matching on Local wouldn't do.
However, in these cases, I think it always is a Local. In particular,
Git.Config.read is only run on local repos and upgrades LocalUnknown to
Local.
Joey Hess [Wed, 20 Sep 2023 13:31:59 +0000 (09:31 -0400)]
use unshorted hash in version
short hashes can be lengthened by unrelated pulls into a repo, breaking
reproducible builds
https://lists.reproducible-builds.org/pipermail/rb-general/2023-September/003072.html
Joey Hess [Mon, 18 Sep 2023 14:15:25 +0000 (10:15 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 15 Sep 2023 12:10:32 +0000 (08:10 -0400)]
new make dev target
rename old to make prof
Joey Hess [Fri, 15 Sep 2023 11:56:10 +0000 (07:56 -0400)]
silence build warning
about ~
Joey Hess [Fri, 15 Sep 2023 00:29:12 +0000 (20:29 -0400)]
todo
nobodyinperson [Thu, 14 Sep 2023 19:46:14 +0000 (19:46 +0000)]
Added a comment
Joey Hess [Thu, 14 Sep 2023 16:38:41 +0000 (12:38 -0400)]
announcement
Joey Hess [Wed, 13 Sep 2023 17:01:19 +0000 (13:01 -0400)]
comment
Joey Hess [Wed, 13 Sep 2023 16:57:24 +0000 (12:57 -0400)]
remove incorrect documentation of annex.skipunknown behavior
git-annex get with no parameters and annex.skipunknown = false
in a directory with no files tracked by git results in the same
failure as with a "." parameter.
It may be that git ls-files --error-unmatch changed behavior? Or this
was just wrong.
Joey Hess [Tue, 12 Sep 2023 16:50:35 +0000 (12:50 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 12 Sep 2023 16:48:49 +0000 (12:48 -0400)]
lookupkey: Added --ref option
Sponsored-by: Joshua Antonishen on Patreon
jstritch [Tue, 12 Sep 2023 16:36:26 +0000 (16:36 +0000)]
Added a comment
anarcat [Tue, 12 Sep 2023 15:51:22 +0000 (15:51 +0000)]
Added a comment: just show start time?
Joey Hess [Mon, 11 Sep 2023 18:54:26 +0000 (14:54 -0400)]
propigateAdjustedCommits in seekExportContent
push: When on an adjusted branch, propagate changes to parent branch before
updating export remotes.
This is a somewhat redundant call to propigateAdjustedCommits, since it
also gets called at pushLocal time. That other one needs to come after
importing from importtree remotes though, and seekExportContent has to come
earlier, so I don't see a way to avoid doing it twice.
Note that git-annex sync also manages to avoid the problem, it's only
git-annex push that had the bug.
Sponsored-by: Leon Schuermann on Patreon
Joey Hess [Mon, 11 Sep 2023 18:21:36 +0000 (14:21 -0400)]
improve warning message when unable to update export
A misleading message was displayed in several cases.
If the user has run eg: git config
remote.push-win-remote.annex-tracking-branch 'adjusted/main(unlocked)'
That is not supported, and now it will tell them it's not a valid
configuration. A user reported doing that, but I don't know if it's a
common point of confusion. If it is a common problem, a better message
would be possible, or it could convert back from the adjusted branch to
the actual branch.
Sponsored-by: Graham Spencer on Patreon
Joey Hess [Mon, 11 Sep 2023 17:19:55 +0000 (13:19 -0400)]
comment (and close)
Joey Hess [Mon, 11 Sep 2023 17:15:56 +0000 (13:15 -0400)]
comment
Joey Hess [Mon, 11 Sep 2023 17:15:37 +0000 (13:15 -0400)]
add link
Joey Hess [Mon, 11 Sep 2023 17:14:38 +0000 (13:14 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 11 Sep 2023 17:13:05 +0000 (13:13 -0400)]
adb send to final filename not tmp file
Avoids some problems with unusual character in exporttree filenames
that confuse adb shell commands.
In particular, with a filename that contains \351, adb push sends the file
to the correct filename in /sdcard. And running find on the android device
roundtrips the filename. But, running mv on that filename on the android
device fails with "bad <filename>: No such file or directory".
Interestingly, ls on android works, and rm fails.
adb push to the final name to avoids this problem. But what about
atomicity? Well, I tried an adb push and interrupted it part way through.
The file was present while the push was running, but was removed once the
push got interrupted. I also tried yanking the cable while adb push was
running, and the partially received file was also deleted then. That avoids
most problems.
An import that runs at the same time as an export will see the partially
sent file. But that is unlikely to be done, and if it did happen, it would
notice that the imported file had changed in the meantime and discard it.
Note that, since rm on the android device fails on these filenames,
exporting a tree where the file is deleted is going to fail to remove it. I
don't see what I can do about that, so long as android is using an rm that
has issues with filename encodings.
This was tested on a phone where find, ls, and rm all come from Toybox 0.8.6.
Sponsored-by: unqueued on Patreon
jstritch [Sun, 10 Sep 2023 15:56:21 +0000 (15:56 +0000)]
jstritch [Sat, 9 Sep 2023 14:49:35 +0000 (14:49 +0000)]
Added a comment: git annex pull is also broken
jstritch [Fri, 8 Sep 2023 15:56:59 +0000 (15:56 +0000)]
matrss [Fri, 8 Sep 2023 15:47:16 +0000 (15:47 +0000)]
Added a comment: get file by branch and path in bare repository
Joey Hess [Thu, 7 Sep 2023 19:07:41 +0000 (15:07 -0400)]
comment
Joey Hess [Thu, 7 Sep 2023 18:56:26 +0000 (14:56 -0400)]
Override safe.bareRepository for git remotes
Fix using git remotes that are bare when git is configured
with safe.bareRepository = explicit
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Thu, 7 Sep 2023 18:36:16 +0000 (14:36 -0400)]
set safe.directory when getting config for git-annex-shell or git remotes
Fix more breakage caused by git's fix for CVE-2022-24765, this time
involving a remote (either local or ssh) that is a repository not owned by
the current user.
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Thu, 7 Sep 2023 16:59:20 +0000 (12:59 -0400)]
Fix linker optimisation in linux standalone tarballs
Was only symlinking when there is a usr/ directory, but with usr/ merge,
there are none.
Sponsored-by: Dartmouth College's Datalad project
Joey Hess [Thu, 7 Sep 2023 16:57:38 +0000 (12:57 -0400)]
tag datalad
yarikoptic [Thu, 31 Aug 2023 16:48:34 +0000 (16:48 +0000)]
Added a comment
yarikoptic [Thu, 31 Aug 2023 15:58:52 +0000 (15:58 +0000)]
original report on misleading reasons stated by enableremote for the need of safe.directory case
yarikoptic [Thu, 31 Aug 2023 13:57:21 +0000 (13:57 +0000)]
Added a comment
yarikoptic [Thu, 31 Aug 2023 13:54:20 +0000 (13:54 +0000)]
reporting on increased number of looksup
Added a comment
Joey Hess [Mon, 26 Dec 2022 16:42:45 +0000 (12:42 -0400)]
Removed the vendored git-lfs and the GitLfs build flag
AFAICS all git-annex builds are using the git-lfs library not the vendored
copy.
Debian stable now includes a new enough haskell-git-lfs package as well.
Last time this was tried it did not.
Joey Hess [Mon, 28 Aug 2023 17:04:20 +0000 (13:04 -0400)]
add news item for git-annex 10.
20230828
Joey Hess [Mon, 28 Aug 2023 17:04:06 +0000 (13:04 -0400)]
releasing package git-annex version 10.
20230828
Joey Hess [Mon, 28 Aug 2023 16:57:33 +0000 (12:57 -0400)]
remove man pages from cabal file
Since
393275c10521145bcc6b18cfd39db6854ae0831e Setup.hs no longer
installs the man pages. Since the cabal package is only used to install
git-annex with cabal, it doesn't need to include files like these that
are not used when installing with cabal.
Joey Hess [Mon, 28 Aug 2023 16:52:53 +0000 (12:52 -0400)]
better link to install stack
and a layout fix
Joey Hess [Mon, 28 Aug 2023 16:35:57 +0000 (12:35 -0400)]
remove unused import
Joey Hess [Mon, 28 Aug 2023 16:34:24 +0000 (12:34 -0400)]
remove dead code
Joey Hess [Mon, 28 Aug 2023 16:20:49 +0000 (12:20 -0400)]
comment
Joey Hess [Mon, 28 Aug 2023 16:13:58 +0000 (12:13 -0400)]
wording
derphysiker [Sun, 27 Aug 2023 07:38:44 +0000 (07:38 +0000)]
Joey Hess [Wed, 23 Aug 2023 17:31:31 +0000 (13:31 -0400)]
oldkeys: check associated files by default and add --unchecked
Removed the prior code that checked for keys used by current versions of
the files being acted on. It is redundant with the associated files
check (so long as the associated files database is always up-to-date,
which reconcileStaged should accomplish).
Sponsored-by: Luke T. Shumaker on Patreon
Joey Hess [Tue, 22 Aug 2023 19:10:04 +0000 (15:10 -0400)]
comment (and a new example)
Joey Hess [Tue, 22 Aug 2023 19:01:43 +0000 (15:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 22 Aug 2023 19:00:29 +0000 (15:00 -0400)]
oldkeys --revision-range
Sponsored-by: Brett Eisenberg on Patreon
Joey Hess [Tue, 22 Aug 2023 18:51:06 +0000 (14:51 -0400)]
oldkeys: New command that lists the keys used by old versions of a file
The tricky thing about this turned out to be handling renames and reverts.
For that, it has to make two passes over the git log, and to avoid
buffering a possibly huge amount of logs in memory (ie the whole git log of
an entire repository!), runs git log twice.
(It might be possible to speed this up by asking git log to show a diff,
and so avoid needing to use catKey.)
Sponsored-By: Brock Spratlen on Patreon