Commit graph

5050 commits

Author SHA1 Message Date
Joey Hess
0924a45cc4
info: Added --show option
To pick which parts of the info to calculate and display.

Sponsored-by: Dartmouth College's DANDI project
2025-08-13 16:49:21 -04:00
Joey Hess
bcc86c92e2
comment 2025-08-13 16:04:46 -04:00
yarikoptic
ee7e1450b1 wishlist of faster/specific info for a remote 2025-08-13 17:49:20 +00:00
Joey Hess
786fa037c8
comment 2025-08-01 13:57:50 -04:00
Joey Hess
3b6b3416d9
add example git-annex-p2p-unix-sockets program and end-user docs 2025-08-01 13:44:00 -04:00
Joey Hess
59bcfc838e
update design doc with changes from genericp2p branch
That branch is basically ready to merge, but needs more testing in a
chicken and egg situation.
2025-07-31 15:20:28 -04:00
Joey Hess
05c016084d
design for p2p socket transport 2025-07-29 14:00:21 -04:00
nobodyinperson
5a5332faab Added a comment: Workaround for default wanted content? 2025-07-21 18:12:59 +00:00
Joey Hess
d364e434c8
Add --url option and url= preferred content expression
To match content that is recorded as present in an url.

Note that, this cannot ask remotes to provide an url using whereisKey, like
whereis does. Because preferred content expressions need to match the same
from multiple perspectives, and the remote would not always be available.

That's why the docs say "recorded as present", but still this may be
surprising to some who see an url in whereis output and are surprised they
cannot match on it.

The use of getDownloader is to strip the downloader prefix from urls like
"yt:". Note that, when OtherDownloader is used, this strips the ":" prefix,
and allows matching on those urls too.
2025-07-21 12:13:40 -04:00
Joey Hess
ac25e5a6e7
todo 2025-07-19 16:45:51 -04:00
Joey Hess
70da89d5b8
todo 2025-07-18 09:49:21 -04:00
Spencer
954ff63d86 Added a comment: We'll call this solved... 2025-07-08 07:01:21 +00:00
Joey Hess
492c484a82
p2phttp: Added --socket option
Used protectedOutput to set up a umask that makes the socket only
accessible by the current user.

Authentication is still needed when using this option unless it is combined
with --wideopen. It was just simpler to keep authentication separate from
this.
2025-07-07 16:40:02 -04:00
Joey Hess
0ad937f230
Merge branch 'master' of ssh://git-annex.branchable.com 2025-07-07 15:23:59 -04:00
Joey Hess
bbaaab40c1
comment 2025-07-07 15:23:53 -04:00
Joey Hess
2de27751d6
design 2025-07-07 14:26:02 -04:00
Joey Hess
78e9d62c65
correction 2025-07-07 13:22:08 -04:00
matrss
c4e10593e3 Added a comment 2025-07-03 11:07:06 +00:00
Joey Hess
bb7c1b0cd0
response 2025-06-24 11:11:16 -04:00
Spencer
de905c7f7b FR for gx-import 2025-06-20 21:31:23 +00:00
Spencer
ba561159e1 Added a comment: A (Mildly) Compelling Reason 2025-06-19 01:34:17 +00:00
Spencer
c8324ab8e1 Added a comment: Solutions 2025-06-16 20:33:03 +00:00
nobodyinperson
f361e0ef4b Added a comment: Now the current branch is pushed first! 🥳 2025-06-07 09:39:28 +00:00
Joey Hess
fb9ebd12ea
tag as INM7 because it involves git-annex integration with forgejo 2025-06-04 12:31:22 -04:00
Joey Hess
9f4e956346
sync: push current branch first
sync: Push the current branch first, rather than a synced branch, to better
support git forges (gitlab, gitea, forgejo, etc.) which use push-to-create
with the first pushed branch becoming the default branch.

With considerable complication to filter out warning message about
receive.denyCurrentBranch when pushing to a non-bare repository. Localization
may break it in the future, but it seems like the best way to handle this. See
my comments for the gory details.
2025-06-04 12:06:00 -04:00
Joey Hess
48e7497f83
comment 2025-06-04 10:00:10 -04:00
Joey Hess
73060eea51
annex.fastcopy
Added annex.fastcopy and remote.name.annex-fastcopy config setting. When
set, this allows the copy_file_range syscall to be used, which can eg allow
for server-side copies on NFS. (For fastest copying, also disable
annex.verify or remote.name.annex-verify.)

This is a simple implementation, that does not handle resuming as well as
it possibly could.

It can be used with both local git remotes (including on NFS), and
directory special remotes. Other types of remotes could in theory also
support it, so I've left the config documented as a general thing.
2025-06-03 15:01:38 -04:00
Joey Hess
e5bcbe3f6b
comment 2025-06-03 13:43:33 -04:00
nobodyinperson
5a0a601ffc Suggest pushing current branch before the meta-branches 2025-06-01 09:42:36 +00:00
Joey Hess
0c906872c6
update 2025-05-29 13:02:22 -04:00
Joey Hess
a44638ca73
adjust json field names
Avoid using "name" for what git-annex otherwise refers to as a
description.

(For the remotes in the map, the "remote" field should be the remote
name, but there is a bug preventing it from being that.)

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
2025-05-29 12:42:53 -04:00
Joey Hess
52a8b5b117
map: Support --json option
Sponsored-by: Dartmouth College's OpenNeuro project
2025-05-28 14:17:28 -04:00
Joey Hess
bca88f07ff
dup 2025-05-24 13:22:20 -04:00
Joey Hess
53a1c9e359
close dup todo 2025-05-23 15:46:06 -04:00
Joey Hess
f118ee8b9e
correction 2025-05-23 15:37:38 -04:00
Joey Hess
42be663b9b
comment 2025-05-21 14:22:35 -04:00
nobodyinperson
3f75eec782 Added a comment: Valid reasons to retire the webapp, how about 2025-05-21 08:22:28 +00:00
Joey Hess
650d54a216
todo 2025-05-20 16:01:36 -04:00
Joey Hess
1573663663
close 2025-05-20 10:22:53 -04:00
Joey Hess
1435f6ff82
implement balanced=groupname:lackingcopies
Preferred content now supports "balanced=groupname:lackingcopies" to make
files be evenly balanced amoung as many repositories as are needed to
satisfy numcopies.

This implementation could be optimised to only call limitCheckNumCopies
once per file. Currently, it is called in two different places. Or it may
be that it would be better to add a cache to getNumMinCopiesAttr.

It might also be worth implementing :approxlackingcopies, but I'm not sure
if that has a use case. The use case for this seems to be when different
files have different numcopies values.

Sponsored-by: Brock Spratlen
2025-05-12 14:27:32 -04:00
Joey Hess
a9eca1b568
decided not to change this 2025-05-12 12:13:08 -04:00
Joey Hess
13154f5cb2
update 2025-05-06 11:54:06 -04:00
nobodyinperson
fb958b2f7e Added a comment: grepping the git-annex branch for remote activity 2025-05-06 13:06:29 +00:00
nobodyinperson
a2749664ab Thoughs on a "recent remote activity" feature 2025-05-06 12:23:22 +00:00
msz
2662d2de66 Added a comment: Thank you for implementing 2025-04-29 17:00:36 +00:00
Joey Hess
49ee0a2a06
comment 2025-04-22 13:52:29 -04:00
Joey Hess
eafb5b53f0
comment 2025-04-21 13:03:39 -04:00
Joey Hess
78684c6c2e
fix close 2025-04-21 12:10:17 -04:00
Joey Hess
fe2de5dddc
update 2025-04-21 12:08:03 -04:00
kxra@ae0f8ab3caa4ebebe6b1a121dd41b6751182360e
eaf3a55a40 https://github.com/pulsejet/ownly/issues/49 2025-04-16 13:17:06 +00:00