CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
Joey Hess 4d2f95853d
closing in on finishing live reposizes
Fixed successfullyFinishedLiveSizeChange to not update the rolling total
when a redundant change is in RecentChanges.

Made setRepoSizes clear RecentChanges that are no longer needed.
It might be possible to clear those earlier, this is only a convenient
point to do it.

The reason it's safe to clear RecentChanges here is that, in order for a
live update to call successfullyFinishedLiveSizeChange, a change must be
made to a location log. If a RecentChange gets cleared, and just after
that a new live update is started, making the same change, the location
log has already been changed (since the RecentChange exists), and
so when the live update succeeds, it won't call
successfullyFinishedLiveSizeChange. The reason it doesn't
clear RecentChanges when there is a reduntant live update is because
I didn't want to think through whether or not all races are avoided in
that case.

The rolling total in SizeChanges is never cleared. Instead,
calcJournalledRepoSizes gets the initial value of it, and then
getLiveRepoSizes subtracts that initial value from the current value.
Since the rolling total can only be updated by updateRepoSize,
which is called with the journal locked, locking the journal in
calcJournalledRepoSizes ensures that the database does not change while
reading the journal.
2024-08-27 12:54:46 -04:00
Annex closing in on finishing live reposizes 2024-08-27 12:54:46 -04:00
Assistant punt on LiveUpdate plumbing through assistant for now 2024-08-24 09:37:24 -04:00
Backend avoid using dropWhileEnd 2024-05-28 10:27:36 -04:00
Build Merge branch 'master' into git-remote-annex 2024-05-10 14:20:36 -04:00
CmdLine consistently omit clusters when calculating RepoSizes 2024-08-17 11:24:14 -04:00
Command use live reposizes in balanced preferred content 2024-08-27 10:17:43 -04:00
Config use status --ignore-submodules in configureSmudgeFilter 2022-12-20 16:02:42 -04:00
Database closing in on finishing live reposizes 2024-08-27 12:54:46 -04:00
debian Refresh standlone patch to avoid fuzz and offsets 2024-08-06 16:39:48 -04:00
doc closing in on finishing live reposizes 2024-08-27 12:54:46 -04:00
Git improve haddocks 2024-08-13 15:05:49 -04:00
Limit plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
Logs partially fix concurrency issue in updating the rollingtotal 2024-08-26 09:43:32 -04:00
Messages RawFilePath conversion 2024-01-19 14:26:21 -04:00
P2P LiveUpdate for clusters 2024-08-24 10:20:12 -04:00
Remote plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
RemoteDaemon support a P2PConnection that uses TMVars rather than Handles 2024-06-28 11:22:29 -04:00
standalone disable servant build flag for i386ancient 2024-07-30 10:01:56 -04:00
static
templates assistant: When generating a gpg secret key, avoid hardcoding the key algorithm and size 2024-01-09 15:31:53 -04:00
Test remove support for directory < 1.2.7 2024-02-06 10:53:13 -04:00
Types closing in on finishing live reposizes 2024-08-27 12:54:46 -04:00
Upgrade plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
Utility add preciseSize 2024-08-11 15:40:21 -04:00
.appveyor.yml update stack.yaml to nightly-2024-07-29 and remove stack-lts-18.13.yaml 2024-07-29 20:09:37 -04:00
.codespellrc A few more of typo fixes/skip as detected with bleeding edge codespell 2024-05-01 20:06:08 -04:00
.ghci turn of PackageImports in cabal file 2022-02-25 13:16:36 -04:00
.gitattributes
.gitignore ignore git-remote-annex 2024-05-06 13:13:39 -04:00
.mailmap ENH: add one more mailmap for yarikoptic 2024-06-03 13:00:45 -04:00
Annex.hs closing in on finishing live reposizes 2024-08-27 12:54:46 -04:00
Assistant.hs webapp: Added --port option, and annex.port config 2024-01-25 14:08:36 -04:00
Author.hs improve attribution armoring 2023-11-21 11:34:21 -04:00
Backend.hs implement URL to VURL migration 2024-03-01 16:42:02 -04:00
bash-completion.bash
Benchmark.hs
BuildFlags.hs update servant build flag 2024-07-23 08:53:56 -04:00
BuildInfo.hs
CHANGELOG Added the annex.fullybalancedthreshhold git config. 2024-08-22 07:15:55 -04:00
CmdLine.hs LiveUpdate db updates working 2024-08-24 11:49:58 -04:00
Command.hs plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
Common.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Config.hs proxying to exporttree=yes annexobjects=yes basically working 2024-08-06 14:21:23 -04:00
COPYRIGHT Added dependency on unbounded-delays 2024-02-27 13:11:59 -04:00
Creds.hs simplify base64 to only use ByteString 2023-10-26 13:10:05 -04:00
Crypto.hs use hmac in balanced preferred content 2024-08-10 16:32:54 -04:00
git-annex.cabal plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
git-annex.hs add git-remote-annex stub and build machinery 2024-05-06 13:05:58 -04:00
git-union-merge.hs
Git.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
Key.hs
Limit.hs use live reposizes in balanced preferred content 2024-08-27 10:17:43 -04:00
Logs.hs update RepoSize database from git-annex branch incrementally 2024-08-17 13:35:00 -04:00
Makefile use cabal list-bin 2024-05-31 10:28:56 -04:00
Messages.hs maxsize overview display and --json support 2024-08-18 12:08:13 -04:00
NEWS prep release 2023-06-26 10:41:36 -04:00
README
Remote.hs plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
Setup.hs Setup.hs: Stop installing man pages, desktop files, and the git-annex-shell and git-remote-tor-annex symlinks 2023-08-01 15:08:56 -04:00
stack-lts-18.13.yaml very temporarily copy stack.yaml to stack-lts-18.13.yaml 2024-07-31 10:09:47 -04:00
stack.yaml deindent 2024-07-30 10:34:18 -04:00
Test.hs use hmac in balanced preferred content 2024-08-10 16:32:54 -04:00
Types.hs
Upgrade.hs don't say a supported version is unsupported 2023-10-09 14:26:24 -04:00

git-annex allows managing large files with git, without storing the file
contents in git. It can sync, backup, and archive your data, offline
and online. Checksums and encryption keep your data safe and secure. Bring
the power and distributed nature of git to bear on your large files with
git-annex.

For documentation, see doc/ or <https://git-annex.branchable.com/>