]> dgit.raspbian.org Git - git-annex.git/log
git-annex.git
2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 20 Jun 2024 15:03:30 +0000 (11:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agoadd my distribits talk
Joey Hess [Thu, 20 Jun 2024 15:03:19 +0000 (11:03 -0400)]
add my distribits talk

2 years agoAdded a comment
joris [Thu, 20 Jun 2024 09:58:05 +0000 (09:58 +0000)]
Added a comment

2 years ago(no commit message)
jochen.keil@38b1f86ab65128dab3e62e726403ceee4f5141bf [Wed, 19 Jun 2024 15:46:26 +0000 (15:46 +0000)]

2 years agooriginal report / question
yarikoptic [Tue, 18 Jun 2024 13:57:23 +0000 (13:57 +0000)]
original report / question

2 years agotab complete special remotes
Joey Hess [Mon, 17 Jun 2024 13:26:03 +0000 (09:26 -0400)]
tab complete special remotes

An oversight..

And with the work in progress proxy and cluster, there
can be additional remotes that are not listed in .git/config, but are
available. Making those more discoverable is another big benefit of
this.

2 years agoAdded a comment
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Sat, 15 Jun 2024 07:37:07 +0000 (07:37 +0000)]
Added a comment

2 years agoAdded a comment: Grafting? a special remote for tuned migration
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Sat, 15 Jun 2024 00:57:27 +0000 (00:57 +0000)]
Added a comment: Grafting? a special remote for tuned migration

2 years agoupdate
Joey Hess [Thu, 13 Jun 2024 23:08:04 +0000 (19:08 -0400)]
update

2 years agocomment
Joey Hess [Thu, 13 Jun 2024 18:30:32 +0000 (14:30 -0400)]
comment

2 years agocomment
Joey Hess [Thu, 13 Jun 2024 17:40:04 +0000 (13:40 -0400)]
comment

2 years agopartial reproducer
Joey Hess [Thu, 13 Jun 2024 17:03:38 +0000 (13:03 -0400)]
partial reproducer

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 13 Jun 2024 10:44:22 +0000 (06:44 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agocopied over some changes from proxy branch
Joey Hess [Thu, 13 Jun 2024 10:43:59 +0000 (06:43 -0400)]
copied over some changes from proxy branch

2 years ago(no commit message)
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92 [Wed, 12 Jun 2024 15:42:42 +0000 (15:42 +0000)]

2 years agoexpanding on the exporttree=yes design
Joey Hess [Wed, 12 Jun 2024 13:43:59 +0000 (09:43 -0400)]
expanding on the exporttree=yes design

2 years agoTODO for log --key
yarikoptic [Wed, 12 Jun 2024 13:20:29 +0000 (13:20 +0000)]
TODO for log --key

2 years agoAdded a comment
yarikoptic [Tue, 11 Jun 2024 17:36:51 +0000 (17:36 +0000)]
Added a comment

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 11 Jun 2024 17:08:45 +0000 (13:08 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agoupdate
Joey Hess [Tue, 11 Jun 2024 17:07:53 +0000 (13:07 -0400)]
update

2 years ago(no commit message)
NewUser [Tue, 11 Jun 2024 13:31:01 +0000 (13:31 +0000)]

2 years agogit-annex-shell: block relay requests
Joey Hess [Mon, 10 Jun 2024 17:53:28 +0000 (13:53 -0400)]
git-annex-shell: block relay requests

connRepo is only used when relaying git upload-pack and receive-pack.
That's only supposed to be used when git-annex-remotedaemon is serving
git-remote-tor-annex connections over tor. But, it was always set, and
so could be used in other places possibly.

Fixed by making connRepo optional in the P2P protocol interface.

In Command.EnableTor, it's not needed, because it only speaks the
protocol in order to check that it's able to connect back to itself via
the hidden service. So changed that to pass Nothing rather than the git
repo.

In Remote.Helper.Ssh, it's connecting to git-annex-shell p2pstdio,
so is making the requests, so will never need connRepo.

In git-annex-shell p2pstdio, it was accepting git upload-pack and
receive-pack requests over the P2P protocol, even though nothing sent
them. This is arguably a security hole, particularly if the user has
set environment variables like GIT_ANNEX_SHELL_LIMITED to prevent
git push/pull via git-annex-shell.

2 years agonotes on behavior
Joey Hess [Mon, 10 Jun 2024 15:07:04 +0000 (11:07 -0400)]
notes on behavior

2 years ago(no commit message)
jlueters@79a910340cdff27611c6a650c108afbe2f61c5f6 [Mon, 10 Jun 2024 14:24:34 +0000 (14:24 +0000)]

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 7 Jun 2024 20:52:04 +0000 (16:52 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agoAvoid grafting in export tree objects that are missing
Joey Hess [Fri, 7 Jun 2024 20:50:05 +0000 (16:50 -0400)]
Avoid grafting in export tree objects that are missing

They could be missing due to an interrupted git-annex at just the wrong
time during a prior graft, after which the tree objects got garbage
collected.

Or they could be missing because of manual messing with the git-annex
branch, eg resetting it to back before the graft commit.

Sponsored-by: Dartmouth College's OpenNeuro project
2 years agoremoved
emilymaers [Fri, 7 Jun 2024 20:46:34 +0000 (20:46 +0000)]
removed

2 years agoAdded a comment: blockchain
emilymaers [Fri, 7 Jun 2024 20:46:20 +0000 (20:46 +0000)]
Added a comment: blockchain

2 years agoatomic git-annex branch update when regrafting in transition
Joey Hess [Fri, 7 Jun 2024 19:59:54 +0000 (15:59 -0400)]
atomic git-annex branch update when regrafting in transition

Fix a bug where interrupting git-annex while it is updating the git-annex
branch could lead to git fsck complaining about missing tree objects.

Interrupting git-annex while regraftexports is running in a transition
that is forgetting git-annex branch history would leave the
repository with a git-annex branch that did not contain the tree shas
listed in export.log. That lets those trees be garbage collected.

A subsequent run of the same transition then regrafts the trees listed
in export.log into the git-annex branch. But those trees have been lost.

Note that both sides of `if neednewlocalbranch` are atomic now. I had
thought only the True side needed to be, but I do think there may be
cases where the False side needs to be as well.

Sponsored-by: Dartmouth College's OpenNeuro project
2 years agograft in exported tree before updating the export log
Joey Hess [Fri, 7 Jun 2024 18:56:44 +0000 (14:56 -0400)]
graft in exported tree before updating the export log

It was possible for the export.log to get written and then git-annex was
interrupted, before it could graft in the exported tree. Which could
result in export.log referencing a tree that got garbage collected.

2 years agoupdate status and design work on proxy encryption and chunking
Joey Hess [Fri, 7 Jun 2024 16:35:04 +0000 (12:35 -0400)]
update status and design work on proxy encryption and chunking

2 years agocomment
Joey Hess [Fri, 7 Jun 2024 16:35:00 +0000 (12:35 -0400)]
comment

2 years agonext step identified
Joey Hess [Thu, 6 Jun 2024 22:06:45 +0000 (18:06 -0400)]
next step identified

2 years agoupdate
Joey Hess [Thu, 6 Jun 2024 21:23:51 +0000 (17:23 -0400)]
update

2 years agoremoved
ruslan@302cb7f8d398fcce72f88b26b0c2f3a53aaf0bcd [Thu, 6 Jun 2024 13:40:26 +0000 (13:40 +0000)]
removed

2 years agoAdded a comment
ruslan@302cb7f8d398fcce72f88b26b0c2f3a53aaf0bcd [Thu, 6 Jun 2024 11:23:55 +0000 (11:23 +0000)]
Added a comment

2 years agoAdded a comment
ruslan@302cb7f8d398fcce72f88b26b0c2f3a53aaf0bcd [Thu, 6 Jun 2024 11:23:34 +0000 (11:23 +0000)]
Added a comment

2 years ago(no commit message)
ruslan@302cb7f8d398fcce72f88b26b0c2f3a53aaf0bcd [Thu, 6 Jun 2024 10:29:21 +0000 (10:29 +0000)]

2 years agoAdded a comment
nobodyinperson [Thu, 6 Jun 2024 09:09:03 +0000 (09:09 +0000)]
Added a comment

2 years ago(no commit message)
ruslan@302cb7f8d398fcce72f88b26b0c2f3a53aaf0bcd [Wed, 5 Jun 2024 17:45:49 +0000 (17:45 +0000)]

2 years agoAdded a comment
ruslan@302cb7f8d398fcce72f88b26b0c2f3a53aaf0bcd [Wed, 5 Jun 2024 17:34:32 +0000 (17:34 +0000)]
Added a comment

2 years ago(no commit message)
ruslan@302cb7f8d398fcce72f88b26b0c2f3a53aaf0bcd [Wed, 5 Jun 2024 17:22:04 +0000 (17:22 +0000)]

2 years agoAdded a comment
ruslan@302cb7f8d398fcce72f88b26b0c2f3a53aaf0bcd [Wed, 5 Jun 2024 16:53:51 +0000 (16:53 +0000)]
Added a comment

2 years agostatus update after day 1 of new project
Joey Hess [Tue, 4 Jun 2024 18:55:54 +0000 (14:55 -0400)]
status update after day 1 of new project

2 years agoimplementation plan
Joey Hess [Tue, 4 Jun 2024 11:51:33 +0000 (07:51 -0400)]
implementation plan

2 years agorecieved funding to work on this, which comes with a schedule
Joey Hess [Tue, 4 Jun 2024 10:53:59 +0000 (06:53 -0400)]
recieved funding to work on this, which comes with a schedule

2 years agocomment
Joey Hess [Tue, 4 Jun 2024 10:41:14 +0000 (06:41 -0400)]
comment

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 4 Jun 2024 10:40:08 +0000 (06:40 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agoupdate
Joey Hess [Tue, 4 Jun 2024 10:40:04 +0000 (06:40 -0400)]
update

2 years agofixed by git release
Joey Hess [Tue, 4 Jun 2024 10:39:08 +0000 (06:39 -0400)]
fixed by git release

2 years agoAdded a comment: Yes, GitLab fixed!
nobodyinperson [Tue, 4 Jun 2024 07:38:47 +0000 (07:38 +0000)]
Added a comment: Yes, GitLab fixed!

2 years agoAdded a comment: GitLab fixed?
datamanager [Tue, 4 Jun 2024 01:18:25 +0000 (01:18 +0000)]
Added a comment: GitLab fixed?

2 years agoroot cause analysis
Joey Hess [Mon, 3 Jun 2024 17:56:43 +0000 (13:56 -0400)]
root cause analysis

2 years agoAdded a comment
yarikoptic [Mon, 3 Jun 2024 17:54:43 +0000 (17:54 +0000)]
Added a comment

2 years agoFix Windows build with Win32 2.13.4+
Joey Hess [Mon, 3 Jun 2024 17:04:15 +0000 (13:04 -0400)]
Fix Windows build with Win32 2.13.4+

Thanks, Oleg Tolmatcev

2 years agoENH: add one more mailmap for yarikoptic
Yaroslav Halchenko [Fri, 31 May 2024 19:49:13 +0000 (15:49 -0400)]
ENH: add one more mailmap for yarikoptic

2 years agocomment
Joey Hess [Mon, 3 Jun 2024 16:31:55 +0000 (12:31 -0400)]
comment

2 years agoa small clarification
jkniiv [Sat, 1 Jun 2024 22:11:32 +0000 (22:11 +0000)]
a small clarification

2 years agoreport on git-remote-annex on Windows not quite working
jkniiv [Sat, 1 Jun 2024 21:59:27 +0000 (21:59 +0000)]
report on git-remote-annex on Windows not quite working

2 years agoadd news item for git-annex 10.20240531
Joey Hess [Fri, 31 May 2024 16:32:42 +0000 (12:32 -0400)]
add news item for git-annex 10.20240531

2 years agoreleasing package git-annex version 10.20240531
Joey Hess [Fri, 31 May 2024 16:32:34 +0000 (12:32 -0400)]
releasing package git-annex version 10.20240531

2 years agosome analysis
Joey Hess [Fri, 31 May 2024 15:47:59 +0000 (11:47 -0400)]
some analysis

2 years agoreport on git repo getting broken
yarikoptic [Fri, 31 May 2024 14:38:58 +0000 (14:38 +0000)]
report on git repo getting broken

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 31 May 2024 14:32:12 +0000 (10:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agouse cabal list-bin
Joey Hess [Fri, 31 May 2024 14:28:56 +0000 (10:28 -0400)]
use cabal list-bin

cabal exec will sometimes output other messages to stdout, which
broke the build. It used to be intermittent in CI, now seems to always
happen. Messages are eg "Resolving dependencies..."

It seems that cabal list-bin never does this. I hope.

cabal list-bin is fairly new, needing cabal 3.8, which is only in Debian
testing/unstable. So fall back to cabal exec if it fails.

2 years agoreporting that annex merge should not merge into main branch
yarikoptic [Fri, 31 May 2024 13:49:17 +0000 (13:49 +0000)]
reporting that annex merge should not merge into main branch

2 years agoprep release
Joey Hess [Thu, 30 May 2024 21:53:33 +0000 (17:53 -0400)]
prep release

2 years agotweak
Joey Hess [Thu, 30 May 2024 17:31:49 +0000 (13:31 -0400)]
tweak

2 years agotweak
Joey Hess [Thu, 30 May 2024 17:30:57 +0000 (13:30 -0400)]
tweak

2 years agotweak
Joey Hess [Thu, 30 May 2024 17:30:33 +0000 (13:30 -0400)]
tweak

2 years agotweaks
Joey Hess [Thu, 30 May 2024 17:30:10 +0000 (13:30 -0400)]
tweaks

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 30 May 2024 17:26:44 +0000 (13:26 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agotip
Joey Hess [Thu, 30 May 2024 17:26:34 +0000 (13:26 -0400)]
tip

2 years agogit-remote-annex: Support urls like annex::https://example.com/foo-repo
Joey Hess [Thu, 30 May 2024 16:19:46 +0000 (12:19 -0400)]
git-remote-annex: Support urls like annex::https://example.com/foo-repo

Using the usual url download machinery even allows these urls to need
http basic auth, which is prompted for with git-credential. Which opens
the possibility for urls that contain a secret to be used, eg the cipher
for encryption=shared. Although the user is currently on their own
constructing such an url, I do think it would work.

Limited to httpalso for now, for security reasons. Since both httpalso
(and retrieving this very url) is limited by the usual
annex.security.allowed-ip-addresses configs, it's not possible for an
attacker to make one of these urls that sets up a httpalso url that
opens the garage door. Which is one class of attacks to keep in mind
with this thing.

It seems that there could be either a git-config that allows other types
of special remotes to be set up this way, or special remotes could
indicate when they are safe. I do worry that the git-config would
encourage users to set it without thinking through the security
implications. One remote config might be safe to access this way, but
another config, for one with the same type, might not be. This will need
further thought, and real-world examples to decide what to do.

2 years agoAdded a comment
yarikoptic [Thu, 30 May 2024 14:34:32 +0000 (14:34 +0000)]
Added a comment

2 years agoAdded a comment
yarikoptic [Thu, 30 May 2024 14:29:43 +0000 (14:29 +0000)]
Added a comment

2 years agosecurity
Joey Hess [Thu, 30 May 2024 02:55:06 +0000 (22:55 -0400)]
security

2 years agotodo
Joey Hess [Wed, 29 May 2024 22:21:17 +0000 (18:21 -0400)]
todo

2 years agoAdded a comment
yarikoptic [Wed, 29 May 2024 18:31:16 +0000 (18:31 +0000)]
Added a comment

2 years agoAdded a comment: odd odd odd
yarikoptic [Wed, 29 May 2024 18:25:23 +0000 (18:25 +0000)]
Added a comment: odd odd odd

2 years agoAdded a comment: odd odd odd
yarikoptic [Wed, 29 May 2024 18:25:11 +0000 (18:25 +0000)]
Added a comment: odd odd odd

2 years agoget is silently stuck.
yarikoptic [Wed, 29 May 2024 18:14:44 +0000 (18:14 +0000)]
get is silently stuck.

2 years agogroup: Added --list option
Joey Hess [Wed, 29 May 2024 17:37:30 +0000 (13:37 -0400)]
group: Added --list option

Seemed to make sense to exclude groups used only by dead repositories.

2 years agosplit off todo, comment
Joey Hess [Wed, 29 May 2024 17:16:36 +0000 (13:16 -0400)]
split off todo, comment

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 29 May 2024 17:00:34 +0000 (13:00 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agorun cleanupInitialization in all code paths
Joey Hess [Wed, 29 May 2024 16:57:10 +0000 (12:57 -0400)]
run cleanupInitialization in all code paths

This is just a good idea, I think. But it fixes this specific bug:

With buggy git version 2.45.1, git clone from an annex:: url, which has
a git-annex branch in it. Then in the repository, git fetch. That
left .git/annex/objects/ populated with bundles, since it did not clean
up. So later using git-annex failed to autoinit.

2 years agoadd config-uuid to annex:: url for --sameas remotes
Joey Hess [Wed, 29 May 2024 16:07:41 +0000 (12:07 -0400)]
add config-uuid to annex:: url for --sameas remotes

And use it to set annex-config-uuid in git config. This makes
using the origin special remote work after cloning.

Without the added Logs.Remote.configSet, instantiating the remote will
look at the annex-config-uuid's config in the remote log, which will be
empty, and so it will fail to find a special remote.

The added deletion of files in the alternatejournaldir is just to make
100% sure they don't get committed to the git-annex branch. Now that
they contain things that definitely should not be committed.

2 years agoAdded a comment
derphysiker [Wed, 29 May 2024 06:58:16 +0000 (06:58 +0000)]
Added a comment

2 years agoclarify which rclone special remote
Joey Hess [Tue, 28 May 2024 20:56:27 +0000 (16:56 -0400)]
clarify which rclone special remote

Now that there are several.

2 years agodocument using git-remote-annex with httpalso
Joey Hess [Tue, 28 May 2024 20:52:36 +0000 (16:52 -0400)]
document using git-remote-annex with httpalso

2 years agohttpalso just worked, with one small issue to fix
Joey Hess [Tue, 28 May 2024 20:26:16 +0000 (16:26 -0400)]
httpalso just worked, with one small issue to fix

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 28 May 2024 20:10:13 +0000 (16:10 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agofix perms of manifest object
Joey Hess [Tue, 28 May 2024 20:00:55 +0000 (16:00 -0400)]
fix perms of manifest object

With the directory special remote, manifest objects uploaded by
git-remote-annex were mode 600. This prevented accessing them
from a httpalso special remote, for example.

The directory special remote just copies the file perms. Which is fine
except in this case the file perms were wrong.

2 years agoclean up man page
Joey Hess [Tue, 28 May 2024 19:29:38 +0000 (15:29 -0400)]
clean up man page

2 years agoenable debug output
Joey Hess [Tue, 28 May 2024 19:20:22 +0000 (15:20 -0400)]
enable debug output

When annex.debug is set, since --debug is not implemented for
git-remote-annex.

2 years agoAdded a comment
yarikoptic [Tue, 28 May 2024 17:51:02 +0000 (17:51 +0000)]
Added a comment

2 years agoupdate
Joey Hess [Tue, 28 May 2024 17:36:27 +0000 (13:36 -0400)]
update

2 years agogit-remote-annex: brought back max-git-bundles config
Joey Hess [Tue, 28 May 2024 17:26:21 +0000 (13:26 -0400)]
git-remote-annex: brought back max-git-bundles config

An incremental push that gets converted to a full push due to this
config results in the inManifest having just one bundle in it, and the
outManifest listing every other bundle. So it actually takes up more
space on the special remote. But, it speeds up clone and fetch to not
have to download a long series of bundles for incremental pushes.

2 years agoadd git-remote-annex to standalone builds
Joey Hess [Tue, 28 May 2024 17:12:51 +0000 (13:12 -0400)]
add git-remote-annex to standalone builds

Didn't add to windows installer because I don't currently have a Windows
system to test.

2 years agocomment
Joey Hess [Tue, 28 May 2024 17:00:54 +0000 (13:00 -0400)]
comment