Joey Hess [Thu, 8 Feb 2024 14:25:48 +0000 (10:25 -0400)]
update
Joey Hess [Wed, 7 Feb 2024 20:24:39 +0000 (16:24 -0400)]
close
Joey Hess [Wed, 7 Feb 2024 20:21:31 +0000 (16:21 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 7 Feb 2024 20:19:28 +0000 (16:19 -0400)]
move commitStaged out of Command.Sync which no longer uses it
It's trivial enough that it it's not worth factoring it out to somewhere
in common with Command.Undo and the assistant.
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
Joey Hess [Wed, 7 Feb 2024 20:15:35 +0000 (16:15 -0400)]
assistant, undo: When committing, let the usual git commit hooks run
Was doing a Git.Branch.commit for historical reasons to do with direct
mode, which no longer apply.
Note that the preCommitAnnexHook is no longer called in commitStaged
because git-annex installs a pre-commit hook that runs the pre-commit-annex
hook. And git commit will run the pre-commit hook.
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
yarikoptic [Wed, 7 Feb 2024 18:47:19 +0000 (18:47 +0000)]
Added a comment
jstritch [Wed, 7 Feb 2024 15:52:18 +0000 (15:52 +0000)]
Added a comment
jstritch [Tue, 6 Feb 2024 19:54:40 +0000 (19:54 +0000)]
Added a comment
jstritch [Tue, 6 Feb 2024 18:27:33 +0000 (18:27 +0000)]
Added a comment
jstritch [Tue, 6 Feb 2024 16:10:56 +0000 (16:10 +0000)]
Added a comment
Joey Hess [Tue, 6 Feb 2024 15:24:10 +0000 (11:24 -0400)]
Revert "try aws-0.23 again with i386ancient"
This reverts commit
43d182a9554c3cd4e2d2433ba0216d2254aeda17.
In the dependencies for aws-0.23:
aeson-1.3.1.1 from stack configuration does not match >=2.0.0.0 (latest matching version
is 2.1.2.1)
So this will never be able to be updated to aws-0.23 probably.
Joey Hess [Tue, 6 Feb 2024 15:22:01 +0000 (11:22 -0400)]
try aws-0.23 again with i386ancient
Joey Hess [Tue, 6 Feb 2024 15:08:12 +0000 (11:08 -0400)]
stack.yaml: Update to lts-22.9 and use crypton.
Joey Hess [Tue, 6 Feb 2024 14:53:13 +0000 (10:53 -0400)]
remove support for directory < 1.2.7
The build depends already require 1.2.7, so these old ifdefs must be
unnecessary.
Added a comment: centralized repository workflow
jasonb@ab4484d9961a46440958fa1a528e0fc435599057 [Mon, 5 Feb 2024 20:40:01 +0000 (20:40 +0000)]
Joey Hess [Mon, 5 Feb 2024 19:50:41 +0000 (15:50 -0400)]
wording
Joey Hess [Mon, 5 Feb 2024 19:49:32 +0000 (15:49 -0400)]
forgot to add this comment earlier
Joey Hess [Mon, 5 Feb 2024 19:48:15 +0000 (15:48 -0400)]
improve special remote docs
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Mon, 5 Feb 2024 19:20:40 +0000 (15:20 -0400)]
really close
Joey Hess [Mon, 5 Feb 2024 19:16:25 +0000 (15:16 -0400)]
addurl, importfeed: Added --raw-except option
--raw-except=web allows using yt-dlp but not any other special remotes.
Currently this option can only be used once, trying to use it repeatedly
will make option parsing fail. Perhaps it ought to support being used more
than once, but it seemed like an unlikely use case to need that.
Note that getParsed is called repeatedly when the option is used with
several urls. While implementing DeferredParseClass would avoid that
innefficiency, it didn't seem worth the added boilerplate since
getParsed only calls byNameWithUUID which does minimal work.
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Mon, 5 Feb 2024 18:11:47 +0000 (14:11 -0400)]
comment and close
Joey Hess [Mon, 5 Feb 2024 18:06:03 +0000 (14:06 -0400)]
comment
Joey Hess [Mon, 5 Feb 2024 17:48:29 +0000 (13:48 -0400)]
comment
Joey Hess [Mon, 5 Feb 2024 17:29:10 +0000 (13:29 -0400)]
comment
felix@996ab1030f55d480e424a17116e03a48bd984549 [Mon, 5 Feb 2024 14:58:33 +0000 (14:58 +0000)]
Added a comment: Same issue after kernel oops
update for rename of forum/assistant.mdwn to forum/__96__git_annex_assistant__96___command_replace_all_files_with_pointer_file..mdwn
update for rename of forum/assistant.mdwn to forum/__96__git_annex_assistant__96___command_replace_all_files_with_pointer_file..mdwn
rename forum/assistant.mdwn to forum/__96__git_annex_assistant__96___command_replace_all_files_with_pointer_file..mdwn
jstritch [Sat, 3 Feb 2024 18:48:36 +0000 (18:48 +0000)]
jstritch [Sat, 3 Feb 2024 18:46:58 +0000 (18:46 +0000)]
yarikoptic [Sat, 3 Feb 2024 01:17:39 +0000 (01:17 +0000)]
Added a comment
Joey Hess [Fri, 2 Feb 2024 19:57:07 +0000 (15:57 -0400)]
fix importfeed --force skip behavior reversion
importfeed --force: Don't treat it as a failure when an already downloaded
file exists. (Fixes a behavior change introduced in 10.
20230626.)
04ee6c4c6b2 caused the reversion. Inside a CommandPerform, stop causes it
to fail. Before that commit, it was inside a CommandStart, where stop
causes it to skip.
Joey Hess [Fri, 2 Feb 2024 19:50:41 +0000 (15:50 -0400)]
compare urls irrespective of downloader
importfeed --force: Avoid creating duplicates of existing already
downloaded files when yt-dlp or a special remote was used.
Joey Hess [Fri, 2 Feb 2024 19:26:27 +0000 (15:26 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 2 Feb 2024 19:25:27 +0000 (15:25 -0400)]
comment
yarikoptic [Fri, 2 Feb 2024 19:08:38 +0000 (19:08 +0000)]
Added a comment
Joey Hess [Fri, 2 Feb 2024 18:43:19 +0000 (14:43 -0400)]
oddly groundhog's day thematic response
Joey Hess [Fri, 2 Feb 2024 18:32:12 +0000 (14:32 -0400)]
followup
yarikoptic [Fri, 2 Feb 2024 17:07:52 +0000 (17:07 +0000)]
the plea to respect prepare-commit-msg hook
yarikoptic [Fri, 2 Feb 2024 16:27:20 +0000 (16:27 +0000)]
todo for support of pushinsteadof
jstritch [Thu, 1 Feb 2024 20:49:12 +0000 (20:49 +0000)]
Added a comment
jstritch [Thu, 1 Feb 2024 17:40:27 +0000 (17:40 +0000)]
Added a comment: combine worm with partial hash
jstritch [Wed, 31 Jan 2024 22:12:47 +0000 (22:12 +0000)]
Added a comment
yarikoptic [Wed, 31 Jan 2024 20:40:44 +0000 (20:40 +0000)]
question about migrating URLs between remotes
yarikoptic [Wed, 31 Jan 2024 20:35:03 +0000 (20:35 +0000)]
Initial desire for `addurl --raw-except`
yarikoptic [Wed, 31 Jan 2024 19:23:23 +0000 (19:23 +0000)]
Added a comment
yarikoptic [Wed, 31 Jan 2024 19:19:31 +0000 (19:19 +0000)]
question about importfeed.
Joey Hess [Tue, 30 Jan 2024 20:12:33 +0000 (16:12 -0400)]
update docs for --scrape
Joey Hess [Tue, 30 Jan 2024 19:51:33 +0000 (15:51 -0400)]
followup and close
Joey Hess [Tue, 30 Jan 2024 19:41:28 +0000 (15:41 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 30 Jan 2024 19:37:29 +0000 (15:37 -0400)]
importfeed: Added --scrape option
Which uses yt-dlp to screen scrape the equivilant of an RSS feed.
Note that youtubedlscraped is a speed optimisation. Since yt-dlp found
the urls, we know it can download them. That avoids calling
youtubeDlSupported on each url, which makes --fast a lot faster.
Almost all the same metadata fields and file formatting fields are
populated, when yt-dlp is able to get the data. Note that yt-dlp has some
additional useful metadata that could be exposed. But, much of it is
specific to particular websites, and it would be hard to document on the
git-annex importfeed man page.
Sponsored-by: unqueued on Patreon
Joey Hess [Tue, 30 Jan 2024 18:00:56 +0000 (14:00 -0400)]
move Feed and Item out of ToDownload
This is groundwork for producing ToDownload in other ways, that may not
be entirely isomorphic with feeds. Eg by using yt-dlp.
jstritch [Tue, 30 Jan 2024 16:41:57 +0000 (16:41 +0000)]
yarikoptic [Tue, 30 Jan 2024 16:20:45 +0000 (16:20 +0000)]
ask for better documentation.
yarikoptic [Mon, 29 Jan 2024 22:03:47 +0000 (22:03 +0000)]
error out if yt-dlp sees that video is/was there but not available
Joey Hess [Mon, 29 Jan 2024 18:12:20 +0000 (14:12 -0400)]
add news item for git-annex 10.
20240129
Joey Hess [Mon, 29 Jan 2024 18:12:12 +0000 (14:12 -0400)]
releasing package git-annex version 10.
20240129
Joey Hess [Thu, 25 Jan 2024 18:28:19 +0000 (14:28 -0400)]
improve changelog
Joey Hess [Thu, 25 Jan 2024 18:11:20 +0000 (14:11 -0400)]
comment
Joey Hess [Thu, 25 Jan 2024 18:08:36 +0000 (14:08 -0400)]
webapp: Added --port option, and annex.port config
The getSocket comment that mentioned using ":port"
in the hostname seems to have been incorrect or be out of date.
After all, the bug report came when the user first tried doing that,
and it didn't work.
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
Joey Hess [Thu, 25 Jan 2024 17:28:23 +0000 (13:28 -0400)]
close
Joey Hess [Thu, 25 Jan 2024 17:25:15 +0000 (13:25 -0400)]
confirm this todo
Joey Hess [Thu, 25 Jan 2024 17:16:25 +0000 (13:16 -0400)]
close
Joey Hess [Thu, 25 Jan 2024 17:15:13 +0000 (13:15 -0400)]
update
Joey Hess [Thu, 25 Jan 2024 17:10:45 +0000 (13:10 -0400)]
nack
Joey Hess [Thu, 25 Jan 2024 17:05:52 +0000 (13:05 -0400)]
nack
Joey Hess [Thu, 25 Jan 2024 17:04:35 +0000 (13:04 -0400)]
nack
Joey Hess [Thu, 25 Jan 2024 16:58:16 +0000 (12:58 -0400)]
close
Joey Hess [Thu, 25 Jan 2024 16:56:41 +0000 (12:56 -0400)]
Added --expected-present file matching option
Joey Hess [Thu, 25 Jan 2024 15:53:57 +0000 (11:53 -0400)]
comment
Joey Hess [Tue, 23 Jan 2024 16:55:44 +0000 (12:55 -0400)]
comment
Joey Hess [Sat, 20 Jan 2024 15:25:22 +0000 (11:25 -0400)]
update comment
The segfault seems to be fixed with git 2.43, I'm not sure what the
affected range was.
Joey Hess [Sat, 20 Jan 2024 00:41:55 +0000 (20:41 -0400)]
fix example that combined encryption=shared with keyid=
Joey Hess [Fri, 19 Jan 2024 19:31:13 +0000 (15:31 -0400)]
close since bug submittor is happy with new option
Joey Hess [Fri, 19 Jan 2024 19:29:59 +0000 (15:29 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 19 Jan 2024 19:14:26 +0000 (15:14 -0400)]
add directional stalldetection and bwlimit configs
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Fri, 19 Jan 2024 18:31:54 +0000 (14:31 -0400)]
use watchFileSize in Remote.External.retrieveKeyFile
external: Monitor file size when getting content from external special
remotes and use that to update the progress meter, in case the external
special remote program does not report progress.
This relies on
703a70cafa79eb0cf9f3ae676763e1798cb77292 to prevent ever
running the meter backwards.
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Fri, 19 Jan 2024 18:26:21 +0000 (14:26 -0400)]
RawFilePath conversion
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Fri, 19 Jan 2024 18:11:27 +0000 (14:11 -0400)]
avoid watchFileSize running backward
This is groundwork for using watchFileSize for downloads from external
special remotes.
In Annex.Content.downloadUrl, this potentially avoids jitter in the
progress meter. When downloading with conduit, the meter gets updated based
on both the size of the file, and on the data flowing through conduit.
If that has not yet been flushed to the file, it seems possible for the
meter to run backwards when meter is updated with the file size.
It's probably only a few kb of jitter, so may not be visible.
Sponsored-by: Dartmouth College's DANDI project
jstritch [Fri, 19 Jan 2024 17:44:39 +0000 (17:44 +0000)]
Added a comment
Joey Hess [Fri, 19 Jan 2024 17:01:05 +0000 (13:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 19 Jan 2024 16:46:36 +0000 (12:46 -0400)]
tweak stall detection scaling
Refactored to allow offline experimentation, and ended up changing the
allowedvariation (aka fudge factor) to 3. 10 seems too high, and 1.5 too low.
Scale earlier, so even if the first chunk takes less than the configured
time period, allowance is made that later chunks might transfer slower.
Decided to use the same allowedvariation to decide when to start
scaling.
Smoothed the scaling out.
Some examples:
ghci> upscale (BwRate 10 (Duration 60)) 25
BwRate 13 (Duration {durationSeconds = 75})
-- A small scaling upwards after 1/3rd the time. Not noticable.
ghci> upscale (BwRate 10 (Duration 60)) 60
BwRate 30 (Duration {durationSeconds = 180})
-- At the configured time, 3x scaling.
ghci> upscale (BwRate 10 (Duration 60)) 120
BwRate 60 (Duration {durationSeconds = 360})
-- A typical upscaling, here a 1 minute duration became 6 minutes
-- due to the first chunk taking 2 minutes to transfer.
ghci> upscale (BwRate 10 (Duration 60)) 600
BwRate 300 (Duration {durationSeconds = 1800})
-- Here the first chunk took 10 minutes to transfer, so it will
-- take 30 minutes to detect a stall.
Sponsored-by: Dartmouth College's DANDI project
imlew [Thu, 18 Jan 2024 23:09:21 +0000 (23:09 +0000)]
Added a comment
yarikoptic [Thu, 18 Jan 2024 21:32:30 +0000 (21:32 +0000)]
Added a comment
Joey Hess [Thu, 18 Jan 2024 21:18:19 +0000 (17:18 -0400)]
comment
Joey Hess [Thu, 18 Jan 2024 21:16:18 +0000 (17:16 -0400)]
comment
Joey Hess [Thu, 18 Jan 2024 21:13:05 +0000 (17:13 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 18 Jan 2024 21:11:56 +0000 (17:11 -0400)]
automatically adjust stall detection period
Improve annex.stalldetection to handle remotes that update progress less
frequently than the configured time period.
In particular, this makes remotes that don't report progress but are
chunked work when transferring a single chunk takes longer than the
specified time period.
Any remotes that just have very low update granulatity would also be
handled by this.
The change to Remote.Helper.Chunked avoids an extra progress update when
resuming an interrupted upload. In that case, the code saw first Nothing
and then Just the already transferred number of bytes, which defeated this
new heuristic. This change will mean that, when resuming an interrupted
upload to a chunked remote that does not do its own progress reporting, the
progress display does not start out displaying the amount sent so far,
until after the first chunk is sent. This behavior change does not seem
like a major problem.
About the scalefudgefactor, it seems reasonable to expect subsequent chunks
to take no more than 1.5 times as long as the first chunk to transfer.
Could set it to 1, but then any chunk taking a little longer would be
treated as a stall. 2 also seems a likely value. Even 10 might be fine?
Sponsored-by: Dartmouth College's DANDI project
yarikoptic [Thu, 18 Jan 2024 19:00:51 +0000 (19:00 +0000)]
Added a comment
Joey Hess [Thu, 18 Jan 2024 18:38:16 +0000 (14:38 -0400)]
improve annex.stalldetection documentation
imlew [Thu, 18 Jan 2024 18:25:48 +0000 (18:25 +0000)]
Joey Hess [Thu, 18 Jan 2024 17:14:17 +0000 (13:14 -0400)]
comment
Joey Hess [Thu, 18 Jan 2024 17:11:28 +0000 (13:11 -0400)]
open todo
Joey Hess [Thu, 18 Jan 2024 17:01:04 +0000 (13:01 -0400)]
comment