Commit graph

2957 commits

Author SHA1 Message Date
Joey Hess
0d0c891ff9
add headers for tocs 2024-05-01 12:18:14 -04:00
Joey Hess
4cd2c980d2
toc 2024-05-01 12:14:59 -04:00
Joey Hess
901e02ccc3
design work on proxies for exporttree=yes
Sponsored-by: Dartmouth College's OpenNeuro project
2024-05-01 12:07:57 -04:00
Joey Hess
9cdbcedc37
additional design work on proxies
Sponsored-by: Dartmouth College's OpenNeuro project
2024-05-01 11:08:10 -04:00
psxvoid
633a1b01a9 Added a comment: support for bulk write/read/test remote 2024-04-02 06:41:25 +00:00
Joey Hess
f001ae7c09
update 2024-03-15 10:21:21 -04:00
Joey Hess
7d407516c4
update 2024-03-13 11:21:05 -04:00
Joey Hess
e7bd6b8e6e
update 2024-03-13 11:19:04 -04:00
Joey Hess
ff05c00924
link 2024-03-13 11:06:59 -04:00
Joey Hess
406b5c6c10
fix spelling 2024-03-13 11:05:41 -04:00
Joey Hess
e6fb0cdaad
update 2024-03-13 10:32:03 -04:00
Joey Hess
3877be35bd
update 2024-03-13 10:29:48 -04:00
Joey Hess
259061c444
todo 2024-03-13 10:19:10 -04:00
Joey Hess
eaf451c129
thoughts 2024-03-12 16:41:25 -04:00
Joey Hess
ad966e5e7b
update 2024-03-08 13:43:31 -04:00
Joey Hess
3874b7364f
add todo for tracking free space in repos via git-annex branch
For balanced preferred content perhaps, or just for git-annex info
display.

Sponsored-by: unqueued on Patreon
2024-03-05 13:16:42 -04:00
Joey Hess
6292d772ad
thoughts 2024-03-04 17:04:59 -04:00
matrss
89f30fd213 Added a comment: Multi-line string in WHEREIS-SUCCESS? 2024-02-21 12:29:14 +00:00
NewUser
f8f1670005 2023-11-20 02:09:42 +00:00
Joey Hess
8bde6101e3
sqlite datbase for importfeed
importfeed: Use caching database to avoid needing to list urls on every
run, and avoid using too much memory.

Benchmarking in my podcasts repo, importfeed got 1.42 seconds faster,
and memory use dropped from 203000k to 59408k.

Database.ImportFeed is Database.ContentIdentifier with the serial number
filed off. There is a bit of code duplication I would like to avoid,
particularly recordAnnexBranchTree, and getAnnexBranchTree. But these use
the persistent sqlite tables, so despite the code being the same, they
cannot be factored out.

Since this database includes the contentidentifier metadata, it will be
slightly redundant if a sqlite database is ever added for metadata. I
did consider making such a generic database and using it for this. But,
that would then need importfeed to update both the url database and the
metadata database, which is twice as much work diffing the git-annex
branch trees. Or would entagle updating two databases in a complex way.
So instead it seems better to optimise the database that
importfeed needs, and if the metadata database is used by another command,
use a little more disk space and do a little bit of redundant work to
update it.

Sponsored-by: unqueued on Patreon
2023-10-23 16:46:22 -04:00
Joey Hess
df4a60e28d
update 2023-10-23 14:18:49 -04:00
Joey Hess
9286769d2c
let Remote.availability return Unavilable
This is groundwork for making special remotes like borg be skipped by
sync when on an offline drive.

Added AVAILABILITY UNAVAILABLE reponse and the UNAVAILABLERESPONSE extension
to the external special remote protocol. The extension is needed because
old git-annex, if it sees that response, will display a warning
message. (It does continue as if the remote is globally available, which
is acceptable, and the warning is only displayed at initremote due to
remote.name.annex-availability caching, but still it seemed best to make
this a protocol extension.)

The remote.name.annex-availability git config is no longer used any
more, and is documented as such. It was only used by external special
remotes to cache the availability, to avoid needing to start the
external process every time. Now that availability is queried as an
Annex action, the external is only started by sync (and the assistant),
when they actually check availability.

Sponsored-by: Nicholas Golder-Manning on Patreon
2023-08-16 14:31:31 -04:00
hurlebouc
8438ca47a0 Added a comment 2023-07-24 13:10:09 +00:00
Joey Hess
df3197e631
avoid truncating the list of confirmed items 2023-06-23 16:20:00 -04:00
Joey Hess
8d09207a2d
comment and update todo 2023-06-23 12:25:08 -04:00
Joey Hess
e6a4782b0c
response 2023-04-07 13:00:56 -04:00
mih
c83a783f45 Added a comment: Status of the import/export protocol implementation 2023-04-07 09:17:22 +00:00
Joey Hess
992a65bd4d
fix whitespace 2023-03-28 17:13:04 -04:00
Joey Hess
18d326cb6f
external protocol VERSION 2
Support VERSION 2 in the external special remote protocol, which is
identical to VERSION 1, but avoids external remote programs neededing to
work around the above bug. External remote program that support
exporttree=yes are recommended to be updated to send VERSION 2.

Sponsored-by: Kevin Mueller on Patreon
2023-03-28 17:00:08 -04:00
Joey Hess
390ed554e8
clarify EXPORT 2023-03-28 15:18:05 -04:00
Yaroslav Halchenko
0ae5ff797f
Typo: sansative -> sensitive 2023-03-17 15:14:50 -04:00
Daniel Höxtermann
231761146e Fix typos "=yet" -> "=yes" 2023-03-10 18:07:20 +01:00
Daniel Höxtermann
474ea248e0 Fix typo "intiremote" 2023-02-14 21:21:46 +01:00
ah.nikfal@ad3e37b2c18d5aea546f662a0ba95796d0ef33ed
4c291fafb4 Added a comment: xxHash as the backend 2022-12-12 08:21:35 +00:00
Ilya_Shlyakhter
c52a87858b Added a comment: installing custom backend scripts 2022-12-11 19:22:17 +00:00
ah.nikfal@ad3e37b2c18d5aea546f662a0ba95796d0ef33ed
921447a8ed Added a comment: How to use git-annex-backend-XFOO 2022-12-09 12:58:57 +00:00
Joey Hess
c2ad84b423
all keys are still present on versioned remote after import of a tree
When importing from versioned remotes, fix tracking of the content of
deleted files.

Only S3 supports versioning so far, so only it was affected.

But, the draft import/export interface for external remotes also seemed to
need a change, so that versionedExport could be set.
2022-10-11 13:05:40 -04:00
Joey Hess
9e847d4786
update in response to comment 2022-09-30 13:33:59 -04:00
jeroen
43a1df8d5d Added a comment: DIRHASH ending in slash? 2022-09-28 11:58:57 +00:00
Joey Hess
9edaac65c9
belated response 2022-09-15 12:54:52 -04:00
Yaroslav Halchenko
0151976676
Typo fix unncessary -> unnecessary.
Detected while reading recent CHANGELOG entry but then decided to apply
to entire codebase and docs since why not?
2022-08-20 09:40:19 -04:00
Joey Hess
37dea232a4
comment 2022-05-02 14:45:45 -04:00
Joey Hess
8deef700d5
document how to resume downloads 2021-10-11 12:40:16 -04:00
alex@f04d0d3c452a2a99b27ccc93c1543bee4a1bf5be
c5dd89f8de Added a comment: Re: Resuming an interrupted download 2021-10-08 03:06:57 +00:00
Joey Hess
9a742f6e42
response 2021-10-05 12:16:18 -04:00
alex@f04d0d3c452a2a99b27ccc93c1543bee4a1bf5be
d26edf91a4 Added a comment: Resuming an interrupted download 2021-10-01 23:27:31 +00:00
alex@f04d0d3c452a2a99b27ccc93c1543bee4a1bf5be
f808f035bd removed 2021-10-01 23:22:19 +00:00
alex@f04d0d3c452a2a99b27ccc93c1543bee4a1bf5be
3a86a15e47 Added a comment: Resuming an interrupted download 2021-10-01 23:18:33 +00:00
2003:e4:1f1d:ac00:e7e9:509d:6f4a:34a4
3bb9795c07 poll vote (OpenStack SWIFT) 2021-08-24 15:49:53 +00:00
Joey Hess
56fbf57e5f
typo 2021-08-09 12:44:20 -04:00