git-annex.git
2 years agoAdded a comment
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Tue, 17 Oct 2023 10:28:51 +0000 (10:28 +0000)]
Added a comment

2 years agoAdded a comment
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Tue, 17 Oct 2023 10:16:24 +0000 (10:16 +0000)]
Added a comment

2 years agonew bug: git annex enableremote locking issue
kdm9 [Tue, 17 Oct 2023 10:13:47 +0000 (10:13 +0000)]
new bug: git annex enableremote locking issue

2 years ago(no commit message)
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Tue, 17 Oct 2023 09:41:12 +0000 (09:41 +0000)]

2 years agoAdded a comment: Rclone B2 vs S3
emi@f69ad15b49bfecb4ea3836b6480e5ab8df9a5f7d [Sun, 15 Oct 2023 15:03:18 +0000 (15:03 +0000)]
Added a comment: Rclone B2 vs S3

2 years agoremoved
emi@f69ad15b49bfecb4ea3836b6480e5ab8df9a5f7d [Sun, 15 Oct 2023 15:02:45 +0000 (15:02 +0000)]
removed

2 years agoAdded a comment: Rsync vs S3
emi@f69ad15b49bfecb4ea3836b6480e5ab8df9a5f7d [Sun, 15 Oct 2023 15:01:24 +0000 (15:01 +0000)]
Added a comment: Rsync vs S3

2 years agocomment
Joey Hess [Sat, 14 Oct 2023 18:33:38 +0000 (14:33 -0400)]
comment

2 years agoonly stage regular files from the journal
Joey Hess [Tue, 10 Oct 2023 17:22:02 +0000 (13:22 -0400)]
only stage regular files from the journal

git-annex only writes regular files there, but other things may drop junk
like empty .DAV directories around the tree. And trying to hash such things
can have weird and hard to understand effects. So it seems best to do a
small amount of work in statting the journal file to make sure it's a
regular file.

Sponsored-by: Jack Hill on Patreon
2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 10 Oct 2023 16:56:09 +0000 (12:56 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agoAdded a comment
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Tue, 10 Oct 2023 02:36:51 +0000 (02:36 +0000)]
Added a comment

2 years agoAdded a comment
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Mon, 9 Oct 2023 22:30:46 +0000 (22:30 +0000)]
Added a comment

2 years agocomment
Joey Hess [Mon, 9 Oct 2023 19:00:33 +0000 (15:00 -0400)]
comment

2 years agocomment
Joey Hess [Mon, 9 Oct 2023 18:47:19 +0000 (14:47 -0400)]
comment

2 years agocomment
Joey Hess [Mon, 9 Oct 2023 18:38:24 +0000 (14:38 -0400)]
comment

2 years agocommnet
Joey Hess [Mon, 9 Oct 2023 18:29:06 +0000 (14:29 -0400)]
commnet

2 years agocomment
Joey Hess [Mon, 9 Oct 2023 18:28:01 +0000 (14:28 -0400)]
comment

2 years agodon't say a supported version is unsupported
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.

2 years ago(no commit message)
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Mon, 9 Oct 2023 07:41:37 +0000 (07:41 +0000)]

2 years agoAdded a comment
nobodyinperson [Fri, 6 Oct 2023 03:22:12 +0000 (03:22 +0000)]
Added a comment

2 years agoAdded a comment
branch [Thu, 5 Oct 2023 21:40:55 +0000 (21:40 +0000)]
Added a comment

2 years agoAdded a comment: Linux 64bit failing?
kdm9 [Wed, 4 Oct 2023 14:39:48 +0000 (14:39 +0000)]
Added a comment: Linux 64bit failing?

2 years ago(no commit message)
Atemu [Sun, 1 Oct 2023 10:06:18 +0000 (10:06 +0000)]

2 years ago(no commit message)
Atemu [Sun, 1 Oct 2023 09:38:29 +0000 (09:38 +0000)]

2 years agodrop NSF logo
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.)

2 years agofix NSF logo
Joey Hess [Wed, 27 Sep 2023 18:57:18 +0000 (14:57 -0400)]
fix NSF logo

2 years agoenable parallel ghc for building git-annex
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.

2 years agoRevert "enable parallel ghc for building git-annex"
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.

2 years agoadd news item for git-annex 10.20230926
Joey Hess [Tue, 26 Sep 2023 17:30:00 +0000 (13:30 -0400)]
add news item for git-annex 10.20230926

2 years agoreleasing package git-annex version 10.20230926
Joey Hess [Tue, 26 Sep 2023 17:29:49 +0000 (13:29 -0400)]
releasing package git-annex version 10.20230926

2 years agoanalysis
Joey Hess [Tue, 26 Sep 2023 17:18:08 +0000 (13:18 -0400)]
analysis

2 years agofollowup
Joey Hess [Tue, 26 Sep 2023 17:04:42 +0000 (13:04 -0400)]
followup

2 years agoupdate
Joey Hess [Fri, 22 Sep 2023 20:03:09 +0000 (16:03 -0400)]
update

2 years agoclose
Joey Hess [Fri, 22 Sep 2023 19:52:28 +0000 (15:52 -0400)]
close

2 years agoclose
Joey Hess [Fri, 22 Sep 2023 19:47:40 +0000 (15:47 -0400)]
close

2 years agoclose
Joey Hess [Fri, 22 Sep 2023 19:45:49 +0000 (15:45 -0400)]
close

2 years agoclose
Joey Hess [Fri, 22 Sep 2023 19:38:58 +0000 (15:38 -0400)]
close

2 years agoclose
Joey Hess [Fri, 22 Sep 2023 19:37:47 +0000 (15:37 -0400)]
close

2 years agomoreinfo
Joey Hess [Fri, 22 Sep 2023 19:35:01 +0000 (15:35 -0400)]
moreinfo

2 years agoargh
Joey Hess [Fri, 22 Sep 2023 19:34:30 +0000 (15:34 -0400)]
argh

2 years agohmmm
Joey Hess [Fri, 22 Sep 2023 19:17:10 +0000 (15:17 -0400)]
hmmm

2 years agohm
Joey Hess [Fri, 22 Sep 2023 19:06:30 +0000 (15:06 -0400)]
hm

2 years agoanalysis
Joey Hess [Fri, 22 Sep 2023 18:49:21 +0000 (14:49 -0400)]
analysis

2 years agoclose as seems fixed
Joey Hess [Fri, 22 Sep 2023 17:34:39 +0000 (13:34 -0400)]
close as seems fixed

2 years agoclose
Joey Hess [Fri, 22 Sep 2023 17:31:37 +0000 (13:31 -0400)]
close

2 years agoenableremote: Avoid overwriting existing git remote when passed the uuid of a special...
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

2 years agomoreinfo
Joey Hess [Fri, 22 Sep 2023 16:59:32 +0000 (12:59 -0400)]
moreinfo

2 years agocomment
Joey Hess [Fri, 22 Sep 2023 16:58:19 +0000 (12:58 -0400)]
comment

2 years agodone
Joey Hess [Fri, 22 Sep 2023 16:55:37 +0000 (12:55 -0400)]
done

2 years agotypo
Joey Hess [Fri, 22 Sep 2023 16:48:35 +0000 (12:48 -0400)]
typo

2 years agodocument -C behavior with exporttree remotes
Joey Hess [Fri, 22 Sep 2023 16:40:40 +0000 (12:40 -0400)]
document -C behavior with exporttree remotes

2 years agocomment
Joey Hess [Fri, 22 Sep 2023 16:36:15 +0000 (12:36 -0400)]
comment

2 years agofix some build warnings from ghc 9.4.6
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.

2 years agofix some build warnings from ghc 9.4.6
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.

2 years agoenable parallel ghc for building git-annex
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

2 years agoSupport being built with crypton rather than cryptonite
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
2 years agofix some build warnings from ghc 9.4.6
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.

2 years agouse unshorted hash in version
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

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 18 Sep 2023 14:15:25 +0000 (10:15 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agonew make dev target
Joey Hess [Fri, 15 Sep 2023 12:10:32 +0000 (08:10 -0400)]
new make dev target

rename old to make prof

2 years agosilence build warning
Joey Hess [Fri, 15 Sep 2023 11:56:10 +0000 (07:56 -0400)]
silence build warning

about ~

2 years agotodo
Joey Hess [Fri, 15 Sep 2023 00:29:12 +0000 (20:29 -0400)]
todo

2 years agoAdded a comment
nobodyinperson [Thu, 14 Sep 2023 19:46:14 +0000 (19:46 +0000)]
Added a comment

2 years agoannouncement
Joey Hess [Thu, 14 Sep 2023 16:38:41 +0000 (12:38 -0400)]
announcement

2 years agocomment
Joey Hess [Wed, 13 Sep 2023 17:01:19 +0000 (13:01 -0400)]
comment

2 years agoremove incorrect documentation of annex.skipunknown behavior
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.

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 12 Sep 2023 16:50:35 +0000 (12:50 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agolookupkey: Added --ref option
Joey Hess [Tue, 12 Sep 2023 16:48:49 +0000 (12:48 -0400)]
lookupkey: Added --ref option

Sponsored-by: Joshua Antonishen on Patreon
2 years agoAdded a comment
jstritch [Tue, 12 Sep 2023 16:36:26 +0000 (16:36 +0000)]
Added a comment

2 years agoAdded a comment: just show start time?
anarcat [Tue, 12 Sep 2023 15:51:22 +0000 (15:51 +0000)]
Added a comment: just show start time?

2 years agopropigateAdjustedCommits in seekExportContent
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
2 years agoimprove warning message when unable to update export
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
2 years agocomment (and close)
Joey Hess [Mon, 11 Sep 2023 17:19:55 +0000 (13:19 -0400)]
comment (and close)

2 years agocomment
Joey Hess [Mon, 11 Sep 2023 17:15:56 +0000 (13:15 -0400)]
comment

2 years agoadd link
Joey Hess [Mon, 11 Sep 2023 17:15:37 +0000 (13:15 -0400)]
add link

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 11 Sep 2023 17:14:38 +0000 (13:14 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agoadb send to final filename not tmp file
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
2 years ago(no commit message)
jstritch [Sun, 10 Sep 2023 15:56:21 +0000 (15:56 +0000)]

2 years agoAdded a comment: git annex pull is also broken
jstritch [Sat, 9 Sep 2023 14:49:35 +0000 (14:49 +0000)]
Added a comment: git annex pull is also broken

2 years ago(no commit message)
jstritch [Fri, 8 Sep 2023 15:56:59 +0000 (15:56 +0000)]

2 years agoAdded a comment: get file by branch and path in bare repository
matrss [Fri, 8 Sep 2023 15:47:16 +0000 (15:47 +0000)]
Added a comment: get file by branch and path in bare repository

2 years agocomment
Joey Hess [Thu, 7 Sep 2023 19:07:41 +0000 (15:07 -0400)]
comment

2 years agoOverride safe.bareRepository for git remotes
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
2 years agoset safe.directory when getting config for git-annex-shell or git remotes
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
2 years agoFix linker optimisation in linux standalone tarballs
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
2 years agotag datalad
Joey Hess [Thu, 7 Sep 2023 16:57:38 +0000 (12:57 -0400)]
tag datalad

2 years agoAdded a comment
yarikoptic [Thu, 31 Aug 2023 16:48:34 +0000 (16:48 +0000)]
Added a comment

2 years agooriginal report on misleading reasons stated by enableremote for the need of safe...
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

2 years agoAdded a comment
yarikoptic [Thu, 31 Aug 2023 13:57:21 +0000 (13:57 +0000)]
Added a comment

2 years agoreporting on increased number of looksup
yarikoptic [Thu, 31 Aug 2023 13:54:20 +0000 (13:54 +0000)]
reporting on increased number of looksup

2 years agoAdded a comment
gitannex@fe613c61745e9d1e7f6df5e24a666828bb5682cc [Thu, 31 Aug 2023 01:56:30 +0000 (01:56 +0000)]
Added a comment

2 years ago(no commit message)
gitannex@fe613c61745e9d1e7f6df5e24a666828bb5682cc [Thu, 31 Aug 2023 01:44:23 +0000 (01:44 +0000)]

2 years ago(no commit message)
gitannex@fe613c61745e9d1e7f6df5e24a666828bb5682cc [Thu, 31 Aug 2023 01:40:02 +0000 (01:40 +0000)]

2 years ago(no commit message)
gitannex@fe613c61745e9d1e7f6df5e24a666828bb5682cc [Thu, 31 Aug 2023 01:34:23 +0000 (01:34 +0000)]

2 years agoRemoved the vendored git-lfs and the GitLfs build flag
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.

2 years agoadd news item for git-annex 10.20230828
Joey Hess [Mon, 28 Aug 2023 17:04:20 +0000 (13:04 -0400)]
add news item for git-annex 10.20230828

2 years agoreleasing package git-annex version 10.20230828
Joey Hess [Mon, 28 Aug 2023 17:04:06 +0000 (13:04 -0400)]
releasing package git-annex version 10.20230828

2 years agoremove man pages from cabal file
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.

2 years agobetter link to install stack
Joey Hess [Mon, 28 Aug 2023 16:52:53 +0000 (12:52 -0400)]
better link to install stack

and a layout fix

2 years agoremove unused import
Joey Hess [Mon, 28 Aug 2023 16:35:57 +0000 (12:35 -0400)]
remove unused import