git-annex.git
4 years ago(no commit message)
drunken_sapo [Thu, 7 Jul 2022 00:57:32 +0000 (00:57 +0000)]

4 years agoAdded a comment: Recent version tested
mih [Wed, 6 Jul 2022 12:18:36 +0000 (12:18 +0000)]
Added a comment: Recent version tested

4 years ago(no commit message)
mih [Wed, 6 Jul 2022 06:24:06 +0000 (06:24 +0000)]

4 years agoAdded a comment
nick.guenther@e418ed3c763dff37995c2ed5da4232a7c6cee0a9 [Wed, 6 Jul 2022 05:04:08 +0000 (05:04 +0000)]
Added a comment

4 years agofixed
Joey Hess [Tue, 5 Jul 2022 20:35:19 +0000 (16:35 -0400)]
fixed

4 years agofix link
Joey Hess [Tue, 5 Jul 2022 20:34:29 +0000 (16:34 -0400)]
fix link

4 years agocomment
Joey Hess [Tue, 5 Jul 2022 20:25:43 +0000 (16:25 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 5 Jul 2022 20:23:17 +0000 (16:23 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoadd: Fix reversion when adding an annex link that has been moved to another directory
Joey Hess [Tue, 5 Jul 2022 20:22:41 +0000 (16:22 -0400)]
add: Fix reversion when adding an annex link that has been moved to another directory

Fixes commit f259be7f39d6c1746b6b809f15b9a227624a0cd8

Sponsored-by: Dartmouth College's Datalad project
4 years agosupport --backend again in addurl and importfeed
Joey Hess [Tue, 5 Jul 2022 19:34:49 +0000 (15:34 -0400)]
support --backend again in addurl and importfeed

Missed these two when converting from a global option.

Sponsored-by: Dartmouth College's Datalad project
4 years agoAdded a comment: ACL deprecation vs public=yes
nick.guenther@e418ed3c763dff37995c2ed5da4232a7c6cee0a9 [Tue, 5 Jul 2022 18:20:50 +0000 (18:20 +0000)]
Added a comment: ACL deprecation vs public=yes

4 years agoRevert "lts-19.13 (ghc 9.0.2)"
Joey Hess [Tue, 5 Jul 2022 17:13:25 +0000 (13:13 -0400)]
Revert "lts-19.13 (ghc 9.0.2)"

This reverts commit d2bc2683173ca1ade437aa294b26fd5e54353a55.

That seemed to break building on windows, before it starts building
git-annex at all, it tried to install ghc and something blew up:

Processing archive: C:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-9.0.2.tar.xz
Extracting  ghc-9.0.2.tar
...
Extracted total of 11790 files from ghc-9.0.2.tar
C:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-9.0.2-tmp-6d0fbe7f3b29e56c\ghc-9.0.2\: renameDirectory:pathIsDirectory:CreateFile "\\\\?\\C:\\Users\\runneradmin\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-9.0.2-tmp-6d0fbe7f3b29e56c\\ghc-9.0.2\\": does not exist (The system cannot find the file specified.)

Hopefully a newer ghc version or updated stackage version will fix this
at some point, in the meantime revert it.

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 5 Jul 2022 17:07:01 +0000 (13:07 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agofix build when dbus is enabled
Joey Hess [Tue, 5 Jul 2022 17:06:45 +0000 (13:06 -0400)]
fix build when dbus is enabled

Broken in commit 8040ecf9b87bfd595d3bff1d26ef9cc232c4ae4c

4 years agoAdded a comment: mystery resolved
yarikoptic [Fri, 1 Jul 2022 19:19:30 +0000 (19:19 +0000)]
Added a comment: mystery resolved

4 years agoinitial report on move bug
yarikoptic [Fri, 1 Jul 2022 13:45:02 +0000 (13:45 +0000)]
initial report on move bug

4 years agoAdded a comment: no worries
Soxofaan [Thu, 30 Jun 2022 16:51:51 +0000 (16:51 +0000)]
Added a comment: no worries

4 years agoasking to return --backend for addurl
yarikoptic [Thu, 30 Jun 2022 15:00:19 +0000 (15:00 +0000)]
asking to return --backend for addurl

4 years agoFTBFS report on linux
yarikoptic [Thu, 30 Jun 2022 14:52:24 +0000 (14:52 +0000)]
FTBFS report on linux

4 years agomarking as done
contr-error [Wed, 29 Jun 2022 19:14:38 +0000 (19:14 +0000)]
marking as done

4 years agoAdded a comment
contr-error [Wed, 29 Jun 2022 19:13:56 +0000 (19:13 +0000)]
Added a comment

4 years agoclose bug that was recently fixed
Joey Hess [Wed, 29 Jun 2022 18:51:11 +0000 (14:51 -0400)]
close bug that was recently fixed

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 18:44:02 +0000 (14:44 -0400)]
close

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 18:42:40 +0000 (14:42 -0400)]
close

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 18:41:34 +0000 (14:41 -0400)]
close

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 18:39:21 +0000 (14:39 -0400)]
close

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 18:38:16 +0000 (14:38 -0400)]
close

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 18:37:02 +0000 (14:37 -0400)]
close

4 years agoinclude filename in fsck warning
Joey Hess [Wed, 29 Jun 2022 18:33:35 +0000 (14:33 -0400)]
include filename in fsck warning

So it's available in --quiet mode. The same was already done in other
fsck warnings.

Sponsored-by: Noam Kremen on Patreon
4 years agothis is fixed
Joey Hess [Wed, 29 Jun 2022 18:30:57 +0000 (14:30 -0400)]
this is fixed

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 18:29:00 +0000 (14:29 -0400)]
close

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 18:27:44 +0000 (14:27 -0400)]
close

4 years agore-enable assistand and webapp in stack.yaml
Joey Hess [Wed, 29 Jun 2022 18:20:56 +0000 (14:20 -0400)]
re-enable assistand and webapp in stack.yaml

Did not intend for 02ef3d6a643a13e156a305cdc0eaf22155b152cf to
disable them.

4 years agofix for removal of webdav build flag
Joey Hess [Wed, 29 Jun 2022 18:19:56 +0000 (14:19 -0400)]
fix for removal of webdav build flag

4 years agofix build with assistant disabled and webapp enabled
Joey Hess [Wed, 29 Jun 2022 18:11:20 +0000 (14:11 -0400)]
fix build with assistant disabled and webapp enabled

The webapp modules cannot build with the assistant disabled, so make the
webapp be under the assistant build flag.

Sponsored-by: Jarkko Kniivilä on Patreon
4 years agoclose
Joey Hess [Wed, 29 Jun 2022 17:45:33 +0000 (13:45 -0400)]
close

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 17:38:46 +0000 (13:38 -0400)]
close

4 years agoremove --backend from global options
Joey Hess [Wed, 29 Jun 2022 17:28:08 +0000 (13:28 -0400)]
remove --backend from global options

--backend is no longer a global option, and is only accepted by commands
that actually need it.

Three commands that used to support backend but don't any longer are
watch, webapp, and assistant. It would be possible to make them support it,
but I doubt anyone used the option with these. And in the case of webapp
and assistant, the option was handled inconsistently, only taking affect
when the command is run with an existing git-annex repo, not when it
creates a new one.

Also, renamed GlobalOption etc to AnnexOption. Because there are many
options of this type that are not actually global (any more) and get
added to commands that need them.

Sponsored-by: Kevin Mueller on Patreon
4 years agoupdate
Joey Hess [Wed, 29 Jun 2022 16:51:01 +0000 (12:51 -0400)]
update

4 years agoclose
Joey Hess [Wed, 29 Jun 2022 16:43:30 +0000 (12:43 -0400)]
close

4 years agofix parallel copy from/to a local git repo
Joey Hess [Wed, 29 Jun 2022 16:40:12 +0000 (12:40 -0400)]
fix parallel copy from/to a local git repo

Improve handling of parallelization with -J when copying content from/to a
git remote that is a local path.

Sponsored-by: Nicholas Golder-Manning on Patreon
4 years agoclose mistaken bug report
Joey Hess [Wed, 29 Jun 2022 16:26:36 +0000 (12:26 -0400)]
close mistaken bug report

4 years agowontfix
Joey Hess [Wed, 29 Jun 2022 16:24:25 +0000 (12:24 -0400)]
wontfix

4 years agoretitle
Joey Hess [Wed, 29 Jun 2022 16:19:08 +0000 (12:19 -0400)]
retitle

4 years agofix my comment format
Joey Hess [Wed, 29 Jun 2022 16:18:28 +0000 (12:18 -0400)]
fix my comment format

4 years agocomment
Joey Hess [Wed, 29 Jun 2022 16:17:42 +0000 (12:17 -0400)]
comment

4 years agofinal readonly values moves to AnnexRead
Joey Hess [Tue, 28 Jun 2022 20:02:01 +0000 (16:02 -0400)]
final readonly values moves to AnnexRead

At this point I've checked all AnnexState values and these were all that
remained that could move.

Pity that Annex.repo can't move, but it gets modified sometimes..

A couple of AnnexState values are set by options and could be AnnexRead,
but happen to use Annex when being set.

Sponsored-by: Max Thoursie on Patreon
4 years agoremove dead code
Joey Hess [Tue, 28 Jun 2022 19:41:25 +0000 (15:41 -0400)]
remove dead code

flags no longer used anywhere

4 years agoremove redundant pattern match
Joey Hess [Tue, 28 Jun 2022 19:40:27 +0000 (15:40 -0400)]
remove redundant pattern match

brilliant spot by new ghc

4 years agomove several readonly values to AnnexRead
Joey Hess [Tue, 28 Jun 2022 19:28:14 +0000 (15:28 -0400)]
move several readonly values to AnnexRead

This improves performance to a small extent in several places.

Sponsored-by: Tobias Ammann on Patreon
4 years agoavoid needing StarIsType extension
Joey Hess [Tue, 28 Jun 2022 19:17:41 +0000 (15:17 -0400)]
avoid needing StarIsType extension

Got a deprecation warning suggesting this change. Data.Kind
is available since base-4.9.0.0 and git-annex depends on a newer base.

4 years agoremove redundant patern match
Joey Hess [Tue, 28 Jun 2022 19:12:32 +0000 (15:12 -0400)]
remove redundant patern match

4 years agolts-19.13 (ghc 9.0.2)
Joey Hess [Tue, 28 Jun 2022 18:49:33 +0000 (14:49 -0400)]
lts-19.13 (ghc 9.0.2)

4 years agocomment
Joey Hess [Tue, 28 Jun 2022 17:04:41 +0000 (13:04 -0400)]
comment

4 years agoclose
Joey Hess [Tue, 28 Jun 2022 16:58:00 +0000 (12:58 -0400)]
close

4 years agocomment and retitle
Joey Hess [Tue, 28 Jun 2022 16:35:08 +0000 (12:35 -0400)]
comment and retitle

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 28 Jun 2022 16:28:57 +0000 (12:28 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Tue, 28 Jun 2022 16:27:48 +0000 (12:27 -0400)]
comment

4 years agocomments
Joey Hess [Tue, 28 Jun 2022 16:22:32 +0000 (12:22 -0400)]
comments

4 years agoadd bug
contr-error [Tue, 28 Jun 2022 10:03:57 +0000 (10:03 +0000)]
add bug

4 years agoAdded a comment: Same problem
Soxofaan [Sun, 26 Jun 2022 21:53:39 +0000 (21:53 +0000)]
Added a comment: Same problem

4 years agoAdded a comment: Still useful
Atemu [Sat, 25 Jun 2022 16:36:38 +0000 (16:36 +0000)]
Added a comment: Still useful

4 years ago(no commit message)
Atemu [Sat, 25 Jun 2022 16:20:39 +0000 (16:20 +0000)]

4 years agoadd news item for git-annex 10.20220624
Joey Hess [Thu, 23 Jun 2022 17:59:52 +0000 (13:59 -0400)]
add news item for git-annex 10.20220624

4 years agoremove
Joey Hess [Thu, 23 Jun 2022 17:58:42 +0000 (13:58 -0400)]
remove

4 years agoThe 23 never happened release.
Joey Hess [Thu, 23 Jun 2022 17:55:54 +0000 (13:55 -0400)]
The 23 never happened release.

It's 24 somewhere..

4 years agofix typo
Joey Hess [Thu, 23 Jun 2022 17:54:34 +0000 (13:54 -0400)]
fix typo

Recent commit got amended accidentially to include this typo. Argh. It
was fine, then I tweakd the commit message and accidentially staged this
breakage.

4 years agoadd news item for git-annex 10.20220623
Joey Hess [Thu, 23 Jun 2022 17:36:06 +0000 (13:36 -0400)]
add news item for git-annex 10.20220623

4 years agofix release version
Joey Hess [Thu, 23 Jun 2022 17:35:14 +0000 (13:35 -0400)]
fix release version

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 23 Jun 2022 17:31:50 +0000 (13:31 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoadd news item for git-annex 10.20220526
Joey Hess [Thu, 23 Jun 2022 17:31:44 +0000 (13:31 -0400)]
add news item for git-annex 10.20220526

4 years agoreleasing package git-annex version 10.20220526
Joey Hess [Thu, 23 Jun 2022 17:31:36 +0000 (13:31 -0400)]
releasing package git-annex version 10.20220526

4 years agoadd rent optimisation inhibitor
Joey Hess [Thu, 23 Jun 2022 16:51:50 +0000 (12:51 -0400)]
add rent optimisation inhibitor

As outlined in my blog post, I object to Microsoft training their Copilot
model on my code, and believe it likely violates my copyright.
https://joeyh.name/blog/entry/a_bitter_pill_for_Microsoft_Copilot/

While I never push git-annex to Github, other users choose to. And since
Microsoft is now selling access to Copilot to anyone, this situation is
escalating.

4 years agoadd rent optimisation inhibitor
Joey Hess [Thu, 23 Jun 2022 16:51:50 +0000 (12:51 -0400)]
add rent optimisation inhibitor

As outlined in my blog post, I object to Microsoft training their Copilot
model on my code, and believe it likely violates my copyright.
https://joeyh.name/blog/entry/a_bitter_pill_for_Microsoft_Copilot/

While I never push git-annex to Github, other users choose to. And since
Microsoft is now selling access to Copilot to anyone, this situation is
escalating.

4 years agoremove vendored library no longer used
Joey Hess [Thu, 23 Jun 2022 16:35:26 +0000 (12:35 -0400)]
remove vendored library no longer used

http-manager-restricted is used for a while, but I forgot to delete this
file when making that change.

4 years agouse RawFilePath version of rename
Joey Hess [Wed, 22 Jun 2022 20:47:34 +0000 (16:47 -0400)]
use RawFilePath version of rename

Some small wins, almost certianly swamped by the system calls, but still
worthwhile progress on the RawFilePath conversion.

Sponsored-by: Erik Bjäreholt on Patreon
4 years agoRawFilePath optimisations
Joey Hess [Wed, 22 Jun 2022 20:20:08 +0000 (16:20 -0400)]
RawFilePath optimisations

4 years agoRawFilePath optimisation
Joey Hess [Wed, 22 Jun 2022 20:11:03 +0000 (16:11 -0400)]
RawFilePath optimisation

4 years agoremove objectDir'
Joey Hess [Wed, 22 Jun 2022 20:08:49 +0000 (16:08 -0400)]
remove objectDir'

4 years agoRawFilePath optimisation
Joey Hess [Wed, 22 Jun 2022 20:08:26 +0000 (16:08 -0400)]
RawFilePath optimisation

4 years agoconvert bug to todo
Joey Hess [Wed, 22 Jun 2022 18:23:46 +0000 (14:23 -0400)]
convert bug to todo

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 22 Jun 2022 17:54:57 +0000 (13:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agouse replaceWorkTreeFile when fixing an annex symlink
Joey Hess [Wed, 22 Jun 2022 17:40:14 +0000 (13:40 -0400)]
use replaceWorkTreeFile when fixing an annex symlink

This does not change any behavior, but it's useful for all worktree
changes to be made using this.

Sponsored-by: Graham Spencer on Patreon
4 years agofollowup
Joey Hess [Wed, 22 Jun 2022 17:19:35 +0000 (13:19 -0400)]
followup

4 years agoAdded a comment
Atemu [Wed, 22 Jun 2022 12:34:45 +0000 (12:34 +0000)]
Added a comment

4 years agoAdded a comment
Atemu [Wed, 22 Jun 2022 12:24:22 +0000 (12:24 +0000)]
Added a comment

4 years ago(no commit message)
Ryan [Tue, 21 Jun 2022 18:28:09 +0000 (18:28 +0000)]

4 years agoremoved
arshitha [Fri, 17 Jun 2022 11:13:27 +0000 (11:13 +0000)]
removed

4 years agoAdded a comment
arshitha [Fri, 17 Jun 2022 09:44:28 +0000 (09:44 +0000)]
Added a comment

4 years agodecided this is not a problem
Joey Hess [Wed, 15 Jun 2022 18:00:56 +0000 (14:00 -0400)]
decided this is not a problem

4 years agofix overwrite race with small file that got large
Joey Hess [Tue, 14 Jun 2022 20:38:34 +0000 (16:38 -0400)]
fix overwrite race with small file that got large

When adding a small file, it does not get locked down, so can be modified
after git-annex checks that it's small. The use of queued git add made the
race window nice and wide too.

Fixed by checking if the file has changed, and by not using git add.
Instead, have to recapitulate git add's handling of things like symlinks
and executable files.

Sponsored-by: Jochen Bartl on Patreon
4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 14 Jun 2022 18:56:16 +0000 (14:56 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoAdded a comment: hold it... ;)
yarikoptic [Tue, 14 Jun 2022 18:47:25 +0000 (18:47 +0000)]
Added a comment: hold it... ;)

4 years agoget rid of racy addLink
Joey Hess [Tue, 14 Jun 2022 18:40:55 +0000 (14:40 -0400)]
get rid of racy addLink

The remaining callers all did not rely on it checking gitignore, so were
easy to convert.

They were susceptable to the same overwrite race as add and fix,
although less likely to have it and a narrower window than add's race.

Command.Rekey in passing got an unncessary call to removeFile deleted.
addSymlink handles deleting any existing worktree file.

4 years agoavoid writing same symlink twice in a row
Joey Hess [Tue, 14 Jun 2022 18:30:12 +0000 (14:30 -0400)]
avoid writing same symlink twice in a row

Oddly, the second write did not cause it to lose the mtime inherited
from the file being added, although the mtime was not provided to that
write but only to the first. I don't quite know why that worked before!

4 years agofixed overwrite race with git-annex fix
Joey Hess [Tue, 14 Jun 2022 18:19:58 +0000 (14:19 -0400)]
fixed overwrite race with git-annex fix

Similar to git-annex add, git-annex fix queued git add, so if a file
got modified before git add ran, the wrong content would be staged,
perhaps a large file content.

Sponsored-by: Brock Spratlen on Patreon
4 years agobug report
Joey Hess [Tue, 14 Jun 2022 18:13:48 +0000 (14:13 -0400)]
bug report

4 years agofix overwrite race with git-annex add of annex symlink
Joey Hess [Tue, 14 Jun 2022 17:56:17 +0000 (13:56 -0400)]
fix overwrite race with git-annex add of annex symlink

In the unlikely case where git-annex add is run on an annex symlink that
is not already added, and while it's processing it, the annex symlink is
overwritten with something else, avoid git-annex overwriting that with
the symlink again.

Sponsored-by: Jack Hill on Patreon
4 years agofix add overwrite race with git-annex add to annex
Joey Hess [Tue, 14 Jun 2022 17:20:42 +0000 (13:20 -0400)]
fix add overwrite race with git-annex add to annex

This is not a complete fix for all such races, only the one where a
large file gets changed while adding and gets added to git rather than
to the annex.

addLink needs to go away, any caller of it is probably subject to the
same kind of race. (Also, addLink itself fails to check gitignore when
symlinks are not supported.)

ingestAdd no longer checks gitignore. (It didn't check it consistently
before either, since there were cases where it did not run git add!)
When git-annex import calls it, it's already checked gitignore itself
earlier. When git-annex add calls it, it's usually on files found
by withFilesNotInGit, which handles checking ignores.

There was one other case, when git-annex add --batch calls it. In that
case, old git-annex behaved rather badly, it would seem to add the file,
but git add would later fail, leaving the file as an unstaged annex symlink.
That behavior has also been fixed.

Sponsored-by: Brett Eisenberg on Patreon
4 years agobug report
Joey Hess [Tue, 14 Jun 2022 16:51:04 +0000 (12:51 -0400)]
bug report

Sponsored-by: Luke Shumaker on Patreon