]> dgit.raspbian.org Git - git-annex.git/log
git-annex.git
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

2 years agoupdate
Joey Hess [Tue, 28 May 2024 16:50:54 +0000 (12:50 -0400)]
update

2 years agoupdate
Joey Hess [Tue, 28 May 2024 16:46:56 +0000 (12:46 -0400)]
update

2 years agoadjust unlocked execute bit handling
Joey Hess [Tue, 28 May 2024 16:39:42 +0000 (12:39 -0400)]
adjust unlocked execute bit handling

When building an adjusted unlocked branch, make pointer files executable
when the annex object file is executable.

This slows down git-annex adjust --unlock/--unlock-present by needing to
stat all annex object files in the tree. Probably not a significant
slowdown compared to other work they do, but I have not benchmarked.

I chose to leave git-annex adjust --unlock marked as stable, even though
get or drop of an object file can change whether it would make the pointer
file executable. Partly because making it unstable would slow down
re-adjustment, and partly for symmetry with the handling of an unlocked
pointer file that is executable when the content is dropped, which does not
remove its execute bit.

2 years agoretitle and comment
Joey Hess [Tue, 28 May 2024 16:07:58 +0000 (12:07 -0400)]
retitle and comment

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

2 years agoavoid using dropWhileEnd
Joey Hess [Tue, 28 May 2024 14:27:36 +0000 (10:27 -0400)]
avoid using dropWhileEnd

That needs bytestring-0.11.1.0 and several builds don't have that.

2 years agoupdate
Joey Hess [Tue, 28 May 2024 13:19:00 +0000 (09:19 -0400)]
update

2 years agoAdded a comment: Yep, would be nice!
nobodyinperson [Tue, 28 May 2024 12:18:59 +0000 (12:18 +0000)]
Added a comment: Yep, would be nice!

2 years agoAdded a comment: Re: worktree provisioning
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92 [Tue, 28 May 2024 12:06:39 +0000 (12:06 +0000)]
Added a comment: Re: worktree provisioning

2 years agoupdate
Joey Hess [Tue, 28 May 2024 02:44:35 +0000 (22:44 -0400)]
update

2 years ago(no commit message)
derphysiker [Mon, 27 May 2024 18:33:44 +0000 (18:33 +0000)]

2 years agogit-remote-annex: Fix error display on clone
Joey Hess [Mon, 27 May 2024 17:28:05 +0000 (13:28 -0400)]
git-remote-annex: Fix error display on clone

cleanupInitialization gets run when an exception is thrown, so needs to
avoid throwing exceptions itself, as that would hide the error message
that the user needs to see.

2 years agosplit out a todo
Joey Hess [Mon, 27 May 2024 16:50:46 +0000 (12:50 -0400)]
split out a todo

2 years agogit-remote-annex: support importrree=yes remotes
Joey Hess [Mon, 27 May 2024 16:35:42 +0000 (12:35 -0400)]
git-remote-annex: support importrree=yes remotes

When exporttree=yes is also set. Probably it would also be possible to
support ones with only importtree=yes, by enabling exporttree=yes for
the remote only when using git-remote-annex, but let's keep this
simple... I'm not sure what gets recorded in .git/annex/ state
differently in the two cases that might cause a problem when doing that.

Note that the full annex:: urls generated and displayed for such a
remote omit the importree=yes. Which is ok, cloning from such an url
uses an exporttree=remote, but the git-annex branch doesn't get written
by this program, so once the real config is available from the git-annex
branch, it will still function as an importree=yes remote.

2 years agoreorg
Joey Hess [Mon, 27 May 2024 15:58:21 +0000 (11:58 -0400)]
reorg

2 years agoremove redundant call to checkSpecialRemoteProblems
Joey Hess [Mon, 27 May 2024 15:57:36 +0000 (11:57 -0400)]
remove redundant call to checkSpecialRemoteProblems

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 27 May 2024 15:16:25 +0000 (11:16 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agocomment
Joey Hess [Mon, 27 May 2024 15:16:21 +0000 (11:16 -0400)]
comment

2 years agoAdded a comment
derphysiker [Sat, 25 May 2024 13:00:08 +0000 (13:00 +0000)]
Added a comment

2 years agocomment
Joey Hess [Fri, 24 May 2024 21:32:50 +0000 (17:32 -0400)]
comment

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 24 May 2024 21:16:39 +0000 (17:16 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agogit-remote-annex: Display full url when using remote with the shorthand url
Joey Hess [Fri, 24 May 2024 21:15:31 +0000 (17:15 -0400)]
git-remote-annex: Display full url when using remote with the shorthand url

2 years agoAdded a comment
derphysiker [Fri, 24 May 2024 20:32:15 +0000 (20:32 +0000)]
Added a comment

2 years agowork around git "defense in depth" breakage with git clone checking for hooks
Joey Hess [Fri, 24 May 2024 19:49:53 +0000 (15:49 -0400)]
work around git "defense in depth" breakage with git clone checking for hooks

This git bug also broke git-lfs, and I am confident it will be reverted
in the next release.

For now, cloning from an annex:: url wastes some bandwidth on the next
pull by not caching bundles locally.

If git doesn't fix this in the next version, I'd be tempted to rethink
whether bundle objects need to be cached locally. It would be possible to
instead remember which bundles have been seen and their heads, and
respond to the list command with the heads, and avoid unbundling them
agian in fetch. This might even be a useful performance improvement in
the latter case. It would be quite a complication to a currently simple
implementation though.

2 years agoconvert srcref to a sha
Joey Hess [Fri, 24 May 2024 19:33:35 +0000 (15:33 -0400)]
convert srcref to a sha

This fixes pushing a new ref that is the same as something already
pushed. In findotherprereq, it compares two shas, which didn't work when
one is actually not a sha but a ref.

This is one of those cases where Sha being an alias for Ref makes it
hard to catch mistakes. One of these days those need to be
differentiated at the type level, but not today..

2 years agobug
Joey Hess [Fri, 24 May 2024 19:15:42 +0000 (15:15 -0400)]
bug

2 years agoavoid duplicates building up in outManifest
Joey Hess [Fri, 24 May 2024 19:10:56 +0000 (15:10 -0400)]
avoid duplicates building up in outManifest

Happened exponentially since commit 1a3c60cc8e6f3903ff6ae0a4a136d194576ee8ee

2 years agosync with special remotes with an annex:: url
Joey Hess [Fri, 24 May 2024 18:52:22 +0000 (14:52 -0400)]
sync with special remotes with an annex:: url

Check explicitly for an annex:: url, not just any url. While no built-in
special remotes set an url, except ones that can be synced with, it
seems possible that some external special remote sets an url for its own
use, but did not expect it to be used by git-annex sync et al.

The assistant also syncs with them.

2 years agoinitremote, enableremote: Added --with-url to enable using git-remote-annex
Joey Hess [Fri, 24 May 2024 18:29:36 +0000 (14:29 -0400)]
initremote, enableremote: Added --with-url to enable using git-remote-annex

Also sets remote.name.fetch to a typical value, same as git remote add does.

2 years agotodo
Joey Hess [Fri, 24 May 2024 17:57:33 +0000 (13:57 -0400)]
todo