]> dgit.raspbian.org Git - git-annex.git/log
git-annex.git
4 years agoAdded a comment
amerlyq [Sat, 8 Jan 2022 14:32:12 +0000 (14:32 +0000)]
Added a comment

4 years agoAdded a comment
amerlyq [Sat, 8 Jan 2022 14:15:55 +0000 (14:15 +0000)]
Added a comment

4 years agoUpdate standalone patch for changes in debian/control text description
Yaroslav Halchenko [Fri, 7 Jan 2022 20:51:26 +0000 (15:51 -0500)]
Update standalone patch for changes in debian/control text description

4 years agofix handling of corrupted data received from git remote
Joey Hess [Fri, 7 Jan 2022 17:17:43 +0000 (13:17 -0400)]
fix handling of corrupted data received from git remote

Recover from corrupted content being received from a git remote due eg to a
wire error, by deleting the temporary file when it fails to verify. This
prevents a retry from failing again.

Reversion introduced in version 8.20210903, when incremental verification
was added.

Only the git remote seems to be affected, although it is certianly
possible that other remotes could later have the same issue. This only
affects things passed to getViaTmp that return (False, UnVerified) due to
verification failing. As far as getViaTmp can tell, that could just as well
mean that the transfer failed in a way that would resume, so it cannot
delete the temp file itself. Remote.Git and P2P.Annex use getViaTmp internally,
while other remotes do not, which is why only it seems affected.

A better fix perhaps would be to improve the types of the callback
passed to getViaTmp, so that some other value could be used to indicate
the state where the transfer succeeded but verification failed.

Sponsored-by: Boyd Stephen Smith Jr.
4 years agocomment
Joey Hess [Fri, 7 Jan 2022 16:19:43 +0000 (12:19 -0400)]
comment

4 years agocomment
Joey Hess [Fri, 7 Jan 2022 16:08:19 +0000 (12:08 -0400)]
comment

4 years agocomment
Joey Hess [Fri, 7 Jan 2022 16:05:48 +0000 (12:05 -0400)]
comment

4 years agoAdded a comment
amerlyq [Fri, 7 Jan 2022 12:52:35 +0000 (12:52 +0000)]
Added a comment

4 years agoAdded a comment: Propagation is different between "annex adjust" and "annex sync"
lell [Fri, 7 Jan 2022 10:21:46 +0000 (10:21 +0000)]
Added a comment: Propagation is different between "annex adjust" and "annex sync"

4 years agocomment
Joey Hess [Thu, 6 Jan 2022 16:25:00 +0000 (12:25 -0400)]
comment

4 years agoimprove description
Joey Hess [Thu, 6 Jan 2022 16:24:27 +0000 (12:24 -0400)]
improve description

Sponsored-by: Jack Hill on Patreon
4 years agoAdded a comment: reply
arekmenner@f0f5403c5cbc803fedaf860e3a6f839a41075e3b [Thu, 6 Jan 2022 15:13:15 +0000 (15:13 +0000)]
Added a comment: reply

4 years agocomment
Joey Hess [Wed, 5 Jan 2022 19:56:14 +0000 (15:56 -0400)]
comment

4 years agoremove incorrect speculation
Joey Hess [Wed, 5 Jan 2022 19:42:46 +0000 (15:42 -0400)]
remove incorrect speculation

4 years agodescription of another noob question
arekmenner@f0f5403c5cbc803fedaf860e3a6f839a41075e3b [Wed, 5 Jan 2022 19:30:14 +0000 (19:30 +0000)]
description of another noob question

4 years agocomment
Joey Hess [Wed, 5 Jan 2022 19:26:34 +0000 (15:26 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 5 Jan 2022 19:24:32 +0000 (15:24 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agorenameremote: Better handling of case where there are multiple special remotes with...
Joey Hess [Wed, 5 Jan 2022 19:24:02 +0000 (15:24 -0400)]
renameremote: Better handling of case where there are multiple special remotes with a name

Instead of renaming one at random, error out and ask that a uuid be
specified.

Sponsored-by: Brett Eisenberg on Patreon
4 years agoAdded a comment: response
arekmenner@f0f5403c5cbc803fedaf860e3a6f839a41075e3b [Wed, 5 Jan 2022 19:18:09 +0000 (19:18 +0000)]
Added a comment: response

4 years agoenableremote: Better handling of the unusual case where multiple special remotes...
Joey Hess [Wed, 5 Jan 2022 19:12:01 +0000 (15:12 -0400)]
enableremote: Better handling of the unusual case where multiple special remotes have been initialized with the same name

Before it would pick one at random, though preferring ones that were not
dead over dead ones.

Now, if one is dead and the other not, it will use the non-dead one. But if
both are not dead, or both dead, it will error out, suggesting the user
clarify what they want to enable.

Sponsored-by: Luke Shumaker on Patreon
4 years agocomment
Joey Hess [Wed, 5 Jan 2022 18:04:32 +0000 (14:04 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 5 Jan 2022 17:10:03 +0000 (13:10 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Wed, 5 Jan 2022 17:09:18 +0000 (13:09 -0400)]
comment

4 years agocomment
Joey Hess [Wed, 5 Jan 2022 16:58:19 +0000 (12:58 -0400)]
comment

4 years agocomment
Joey Hess [Wed, 5 Jan 2022 16:31:37 +0000 (12:31 -0400)]
comment

4 years agocomment
Joey Hess [Wed, 5 Jan 2022 16:18:18 +0000 (12:18 -0400)]
comment

4 years agoretrospectively add from NEWS
Joey Hess [Wed, 5 Jan 2022 15:56:22 +0000 (11:56 -0400)]
retrospectively add from NEWS

4 years agoAdded a comment
amerlyq [Wed, 5 Jan 2022 15:46:07 +0000 (15:46 +0000)]
Added a comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 5 Jan 2022 14:11:29 +0000 (10:11 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoadd news item about dropped support for git-annex-shell not supporting p2p protocol
Joey Hess [Wed, 5 Jan 2022 14:10:22 +0000 (10:10 -0400)]
add news item about dropped support for git-annex-shell not supporting p2p protocol

4 years agoupdate
Joey Hess [Wed, 5 Jan 2022 10:44:16 +0000 (06:44 -0400)]
update

4 years agoadding a noob question
arekmenner@f0f5403c5cbc803fedaf860e3a6f839a41075e3b [Tue, 4 Jan 2022 19:12:44 +0000 (19:12 +0000)]
adding a noob question

4 years agofix close link
Joey Hess [Tue, 4 Jan 2022 18:16:57 +0000 (14:16 -0400)]
fix close link

4 years agocomment
Joey Hess [Tue, 4 Jan 2022 15:38:01 +0000 (11:38 -0400)]
comment

4 years agoclose
Joey Hess [Tue, 4 Jan 2022 15:32:29 +0000 (11:32 -0400)]
close

4 years agocomment
Joey Hess [Tue, 4 Jan 2022 15:28:33 +0000 (11:28 -0400)]
comment

4 years agocomment
Joey Hess [Tue, 4 Jan 2022 15:23:25 +0000 (11:23 -0400)]
comment

4 years agoAdded a comment
amerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1 [Tue, 4 Jan 2022 13:41:03 +0000 (13:41 +0000)]
Added a comment

4 years agoAdded a comment
amerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1 [Tue, 4 Jan 2022 13:10:13 +0000 (13:10 +0000)]
Added a comment

4 years agoAdded a comment
amerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1 [Tue, 4 Jan 2022 12:55:14 +0000 (12:55 +0000)]
Added a comment

4 years agoAdded a comment: well, yes
tim@5431dd39464df207b7d46d3cf1bc74c82123ac68 [Tue, 4 Jan 2022 11:28:33 +0000 (11:28 +0000)]
Added a comment: well, yes

4 years agoAdded a comment
yarikoptic [Mon, 3 Jan 2022 20:03:38 +0000 (20:03 +0000)]
Added a comment

4 years agoinitial report on slow drop
yarikoptic [Mon, 3 Jan 2022 19:59:08 +0000 (19:59 +0000)]
initial report on slow drop

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 3 Jan 2022 19:06:24 +0000 (15:06 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoAdded a comment
falsifian [Mon, 3 Jan 2022 19:06:11 +0000 (19:06 +0000)]
Added a comment

4 years agoassume @RPATH libs are present
Joey Hess [Mon, 3 Jan 2022 19:05:15 +0000 (15:05 -0400)]
assume @RPATH libs are present

Previous change caused them to be skipped. Probably when @RPATH is
included in the path, it's a path to a file that actually exists.

Sponsored-by: Dartmouth College's Datalad project
4 years agoavoid exporting non-annexed symlinks
Joey Hess [Mon, 3 Jan 2022 18:21:50 +0000 (14:21 -0400)]
avoid exporting non-annexed symlinks

So that importing does not replace them with plain files.

This works similarly to how the previous handling of submodules and
matchers did, except that annexed symlinks still get exported as plain
files of course, it's only non-annexed symlinks that it does not make sense
to export.

When symlinks have previously been exported, updating the export will
unexport them after upgrading to this commit.

Sponsored-by: Kevin Mueller on Patreon
4 years agocomment
Joey Hess [Mon, 3 Jan 2022 17:53:34 +0000 (13:53 -0400)]
comment

4 years agocomment and retitle
Joey Hess [Mon, 3 Jan 2022 17:48:19 +0000 (13:48 -0400)]
comment and retitle

4 years agocomment and retitle
Joey Hess [Mon, 3 Jan 2022 17:31:09 +0000 (13:31 -0400)]
comment and retitle

4 years agocomment
Joey Hess [Mon, 3 Jan 2022 17:26:33 +0000 (13:26 -0400)]
comment

4 years agoskip OSX libraries that do not exist in disk due to new cache
Joey Hess [Mon, 3 Jan 2022 17:19:33 +0000 (13:19 -0400)]
skip OSX libraries that do not exist in disk due to new cache

Addresses the build problem discussed here:
https://github.com/datalad/git-annex/issues/95

Sponsored-by: Dartmouth College's Datalad project
4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 3 Jan 2022 16:58:23 +0000 (12:58 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Mon, 3 Jan 2022 16:58:12 +0000 (12:58 -0400)]
comment

4 years agoavoid no longer necessary piping of ssh stderr for p2pstdio
Joey Hess [Mon, 3 Jan 2022 16:54:40 +0000 (12:54 -0400)]
avoid no longer necessary piping of ssh stderr for p2pstdio

This was needed when supporting old git-annex-shell that do not support
p2pstdio yet, in order to cleanly fall back to the old interface without
error messages being displayed. That is no longer supported, so simplify
to not intercept error messages.

Sponsored-by: Dartmouth College's DANDI project
4 years agoupdate copyright year
Joey Hess [Mon, 3 Jan 2022 16:46:04 +0000 (12:46 -0400)]
update copyright year

4 years agoremove obsolete comment
Joey Hess [Mon, 3 Jan 2022 16:38:29 +0000 (12:38 -0400)]
remove obsolete comment

4 years agoAdded a comment: Found the issue
tim@5431dd39464df207b7d46d3cf1bc74c82123ac68 [Mon, 3 Jan 2022 08:25:05 +0000 (08:25 +0000)]
Added a comment: Found the issue

4 years ago(no commit message)
amerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1 [Sat, 1 Jan 2022 20:59:29 +0000 (20:59 +0000)]

4 years ago(no commit message)
amerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1 [Sat, 1 Jan 2022 20:39:32 +0000 (20:39 +0000)]

4 years ago(no commit message)
amerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1 [Sat, 1 Jan 2022 20:06:22 +0000 (20:06 +0000)]

4 years agoadd news item for git-annex 8.20211231
Joey Hess [Fri, 31 Dec 2021 19:12:18 +0000 (15:12 -0400)]
add news item for git-annex 8.20211231

4 years agoreleasing package git-annex version 8.20211231
Joey Hess [Fri, 31 Dec 2021 19:11:50 +0000 (15:11 -0400)]
releasing package git-annex version 8.20211231

4 years agocomment
Joey Hess [Fri, 31 Dec 2021 19:01:12 +0000 (15:01 -0400)]
comment

4 years agoAdded a comment
falsifian [Fri, 31 Dec 2021 16:03:33 +0000 (16:03 +0000)]
Added a comment

4 years agocomment
Joey Hess [Fri, 31 Dec 2021 15:57:52 +0000 (11:57 -0400)]
comment

4 years agocomment
Joey Hess [Fri, 31 Dec 2021 15:17:26 +0000 (11:17 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 31 Dec 2021 15:04:52 +0000 (11:04 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years ago(no commit message)
falsifian [Thu, 30 Dec 2021 19:01:54 +0000 (19:01 +0000)]

4 years agoalso run query tests in a readonly repo
Joey Hess [Thu, 30 Dec 2021 17:16:57 +0000 (13:16 -0400)]
also run query tests in a readonly repo

Sponsored-by: Dartmouth College's Datalad project
4 years agocomments
Joey Hess [Thu, 30 Dec 2021 16:45:00 +0000 (12:45 -0400)]
comments

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 30 Dec 2021 16:33:50 +0000 (12:33 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomplete the magic wormhole pairin appid transition
Joey Hess [Thu, 30 Dec 2021 16:16:22 +0000 (12:16 -0400)]
complete the magic wormhole pairin appid transition

Started in 2017 in commit 3fe9d99f24f2ae980efa4d5d023d8bbd55db98a8.
Starting tomorrow, all versions of git-annex since then will provide
an appid, and so it will no longer be necessary to check the date.

Sponsored-by: Nicholas Golder-Manning on Patreon
4 years agoAdded a comment: very much appreciated
jkniiv [Wed, 29 Dec 2021 17:20:30 +0000 (17:20 +0000)]
Added a comment: very much appreciated

4 years agoAdded a comment: thank you!
yarikoptic [Wed, 29 Dec 2021 02:00:48 +0000 (02:00 +0000)]
Added a comment: thank you!

4 years agoclose
Joey Hess [Tue, 28 Dec 2021 17:40:35 +0000 (13:40 -0400)]
close

4 years agohandle transitions with read-only unmerged git-annex branches
Joey Hess [Tue, 28 Dec 2021 17:23:32 +0000 (13:23 -0400)]
handle transitions with read-only unmerged git-annex branches

Capstone to this feature. Any transitions that have been performed on an
unmerged remote ref but not on the local git-annex branch, or vice-versa
have to be applied on the fly when reading files.

Sponsored-by: Dartmouth College's Datalad project
4 years agoMerge branch 'master' into readonly-annex-merge
Joey Hess [Tue, 28 Dec 2021 17:03:27 +0000 (13:03 -0400)]
Merge branch 'master' into readonly-annex-merge

4 years agorefactoring
Joey Hess [Tue, 28 Dec 2021 16:15:51 +0000 (12:15 -0400)]
refactoring

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 27 Dec 2021 19:46:01 +0000 (15:46 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoupdate on status
Joey Hess [Mon, 27 Dec 2021 19:45:22 +0000 (15:45 -0400)]
update on status

4 years agoprevent git-annex log with read-only unmerged git-annex branches
Joey Hess [Mon, 27 Dec 2021 19:44:15 +0000 (15:44 -0400)]
prevent git-annex log with read-only unmerged git-annex branches

It would display incomplete information, which would differ from the
information displayed with write access. So refuse to display anything.

Sponsored-by: Dartmouth College's Datalad project
4 years agohandle Annex.Branch.files with read-only unmerged git-annex branches
Joey Hess [Mon, 27 Dec 2021 19:28:31 +0000 (15:28 -0400)]
handle Annex.Branch.files with read-only unmerged git-annex branches

It would be difficult to make Annex.Branch.files query the unmerged
git-annex branches. Might be possible, similar to what was discussed in
7f6b2ca49cd6f6b6dd6cc9e96d0232a213a82e63 but again I decided to make it
not do anything in that situation to start with before adding such a
complicated thing.

git-annex info uses it when getting info about a repostory. The choices
were to make that fail with an error, or display the info it can, and
change the output slightly for the bits of info it cannot access. While
that is a behavior change, and I want to avoid any behavior changes due
to unmerged git-annex branches in a read-only repo, displaying a message
that is not a number seems unlikely to break anything that was consuming
a number, any worse than throwing an exception would. Probably.

Also git-annex unused --from origin is made to throw an error, but
it would fail later anyway when trying to write to the unused log files.

Sponsored-by: Dartmouth College's Datalad project
4 years agoAdded a comment
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Mon, 27 Dec 2021 18:51:14 +0000 (18:51 +0000)]
Added a comment

4 years agohandle overBranchFileContents with read-only unmerged git-annex branches
Joey Hess [Mon, 27 Dec 2021 18:30:51 +0000 (14:30 -0400)]
handle overBranchFileContents with read-only unmerged git-annex branches

This makes --all error out in that situation. Which is better than
ignoring information from the branches.

To really handle the branches right, overBranchFileContents would need
to both query all the branches and union merge file contents
(or perhaps not provide any file content), as well as diffing between
branches to find files that are only present in the unmerged branches.
And also, it would need to handle transitions..

Sponsored-by: Dartmouth College's Datalad project
4 years agodisable precaching git-annex branch when there are unmerged branches in a read-only...
Joey Hess [Mon, 27 Dec 2021 18:08:50 +0000 (14:08 -0400)]
disable precaching git-annex branch when there are unmerged branches in a read-only repo

The way precaching works, it can't merge in information from those
branches efficiently, so just disable it and fall back to
Annex.Branch.get in order to get the correct information.

Sponsored-by: Dartmouth College's Datalad project
4 years agoMerge branch 'master' into readonly-annex-merge
Joey Hess [Mon, 27 Dec 2021 17:46:03 +0000 (13:46 -0400)]
Merge branch 'master' into readonly-annex-merge

4 years agoMerge remote-tracking branch 'origin/master'
Joey Hess [Mon, 27 Dec 2021 17:45:21 +0000 (13:45 -0400)]
Merge remote-tracking branch 'origin/master'

4 years agocomment
Joey Hess [Mon, 27 Dec 2021 17:44:49 +0000 (13:44 -0400)]
comment

4 years agoremove git-annex branch ref from unmerged refs list
Joey Hess [Mon, 27 Dec 2021 17:33:27 +0000 (13:33 -0400)]
remove git-annex branch ref from unmerged refs list

It's queried separately so it was causing extra work to include it.

4 years agomerge git-annex branch in memory in read-only repository
Joey Hess [Sun, 26 Dec 2021 18:28:42 +0000 (14:28 -0400)]
merge git-annex branch in memory in read-only repository

Improved support for using git-annex in a read-only repository, git-annex
branch information from remotes that cannot be merged into the git-annex
branch will now not crash it, but will be merged in memory.

To avoid this making git-annex behave one way in a read-only repository,
and another way when it can write, it's important that Annex.Branch.get
return the same thing (modulo log file compaction) in both cases.

This manages that mostly. There are some exceptions:

- When there is a transition in one of the remote git-annex branches
  that has not yet been applied to the local or other git-annex branches.
  Transitions are not handled.
- `git-annex log` runs git log on the git-annex branch, and so
  it will not be able to show information coming from the other, not yet
  merged branches.
- Annex.Branch.files only looks at files in the git-annex branch and not
  unmerged branches. This affects git-annex info output.
- Annex.Branch.hs.overBranchFileContents ditto. Affects --all and
  also importfeed (but importfeed cannot work in a read-only repo
  anyway).
- CmdLine.Seek.seekFilteredKeys when precaching location logs.
  Note use of Annex.Branch.fullname
- Database.ContentIdentifier.needsUpdateFromLog and updateFromLog

These warts make this not suitable to be merged yet.

This readonly code path is more expensive, since it has to query several
branches. The value does get cached, but still large queries will be
slower in a read-only repository when there are unmerged git-annex
branches.

When annex.merge-annex-branches=false, updateTo skips doing anything,
and so the read-only repository code does not get triggered. So a user who
is bothered by the extra work can set that.

Other writes to the repository can still result in permissions errors.
This includes the initial creation of the git-annex branch, and of course
any writes to the git-annex branch.

Sponsored-by: Dartmouth College's Datalad project
4 years agostatus
Joey Hess [Sun, 26 Dec 2021 18:33:32 +0000 (14:33 -0400)]
status

4 years agostatus
Joey Hess [Sun, 26 Dec 2021 18:33:32 +0000 (14:33 -0400)]
status

4 years agoretitle
Joey Hess [Sun, 26 Dec 2021 16:33:34 +0000 (12:33 -0400)]
retitle

4 years agocomment
Joey Hess [Sun, 26 Dec 2021 16:31:17 +0000 (12:31 -0400)]
comment

4 years agoimprove sync message in export edge case
Joey Hess [Thu, 23 Dec 2021 18:44:03 +0000 (14:44 -0400)]
improve sync message in export edge case

sync: Better error message when unable to export to a remote because
remote.name.annex-tracking-branch is configured to a ref that does not
exist.

It does not suggest how to fix the problem because there are several
possible solutions: Change the git config to point to something that does
exist, git add some files, or put files on the special remote that will be
imported and so populate the ref.

I considered just silently not doing anything, which is what it does
when annex-tracking-branch = master and nothing has been committed to
master yet. But it seems better to be explicit about it, since this is a
fairly confusing situation to find yourself in.

Sponsored-By: Max Thoursie on Patreon
4 years agocomment
Joey Hess [Thu, 23 Dec 2021 18:03:04 +0000 (14:03 -0400)]
comment

4 years agoresponse
Joey Hess [Wed, 22 Dec 2021 17:02:12 +0000 (13:02 -0400)]
response

4 years ago(no commit message)
tim@5431dd39464df207b7d46d3cf1bc74c82123ac68 [Sun, 19 Dec 2021 16:30:18 +0000 (16:30 +0000)]

4 years ago(no commit message)
jenkin.schibel@286264d9ceb79998aecff0d5d1a4ffe34f8b8421 [Fri, 17 Dec 2021 17:45:38 +0000 (17:45 +0000)]