woodpecker-bot
2b35996f62
[Renovate] Update all dependencies
2026-04-18 11:59:05 +00:00
Catherine
cf050f505b
Improve performance of -trace-garbage.
2026-04-14 05:01:37 +00:00
Catherine
6097a9abb8
Add a Server: header unconditionally.
...
Previously we wouldn't do it if hostname could not be determined, which
would break git-pages-cli based uploads on those machines.
2026-04-14 03:39:52 +00:00
Catherine
fe329d748d
[breaking-change] Drop Fly.io-specific behavior.
...
Fly.io is led by AI boosterism, and we don't want to encourage that
kind of behavior.
2026-04-14 03:39:52 +00:00
miyuko
bbdaae7280
Add a domain cache to quickly reject non-existent domains.
2026-04-13 13:45:16 +00:00
miyuko
f400f8d246
Enable all S3 features when initializing the store.
2026-04-13 13:13:14 +00:00
bin
86259acf9c
nix: fix building on non-linux platforms
2026-04-12 10:56:44 +00:00
woodpecker-bot
af7657a787
[Renovate] Update all dependencies
2026-04-12 01:06:02 +00:00
miyuko
ed24f08d5f
Constrain the parallelism of fetching audit log records.
2026-04-11 19:43:13 +00:00
Catherine
d7651941c0
Fetch manifests from S3 in parallel for histogram and tracing.
...
This is mainly done to speed up histogram collection, as waiting some
minutes defeats the purpose of having a quick overview function.
This commit does speed up GC tracing as well, but not as much because
audit records are still retrieved one at a time. A similar mechanism
could be added in the future there.
Filesystem logic is functionally identical since it was fine already.
2026-04-04 21:10:05 +00:00
Catherine
bcd628fa6b
Allow Chmod() in PutBlob() to fail with -EPERM.
...
This can happen on an NFSv4 filesystem with POSIX permissions disabled.
Fixes #131 .
2026-04-04 01:17:32 +00:00
woodpecker-bot
6a3372a36a
[Renovate] Update all dependencies
2026-04-04 00:13:10 +00:00
miyuko
8d4ea36dec
Re-throw http.ErrAbortHandler from our panic handler.
...
This aborts the response to the client and doesn't log an error.
httputil.ReverseProxy commonly panics with this error.
This results in different behavior from simply swallowing the panic.
Panicking prevents flushing the response to the client, and in the case
of a panic from httputil.ReverseProxy it results in clients potentially
receiving an empty response instead of what was already written to
http.ResponseWriter. This behavior is the same as if the panic handler
hadn't been installed.
2026-04-03 00:29:45 +00:00
Catherine
6509a8e1d2
Add -size-histogram option for summarizing resource use.
...
Useful to evaluate who consumes the most storage (or the most size
quota) visually at a glance.
2026-04-01 23:52:24 +00:00
Catherine
6775f4aab5
Fix incorrect frozen domain check for S3 backend.
2026-04-01 22:50:40 +00:00
Catherine
1df1402f6b
CI: fetch tags when building release artifacts.
2026-03-31 09:22:03 +00:00
Catherine
8dffd9cf11
CI: fix embedding of version information.
2026-03-31 09:05:37 +00:00
Catherine
5258bf756b
Add support for Netlify Basic-Auth: mechanism.
2026-03-29 12:11:56 +00:00
woodpecker-bot
38eb8afd0e
[Renovate] Update all dependencies
2026-03-29 12:06:56 +00:00
Catherine
2fdf0b805d
Add hardlink support for tar archive upload.
...
"Why the fuck would anybody want that", you could reasonably ask.
Well, most wouldn't want this. However, if you wanted to use git-pages
to deduplicate your backups, you might find it that some backups
include hardlinks.
"Why the fuck would anybody put their backups in git-pages", you could
even more reasonably ask. Well, almost nobody would! However, tarsnap
doesn't let you download deduplicated data (even though it deduplicates
data in storage), restic can't ingest tarballs, I didn't have
a partition I could format for btrfs, and git-pages performed much
better than alternatives like juicefs.
In the end this is correct and not expensive to do, just very niche.
2026-03-28 17:04:12 +00:00
Catherine
e28d8cf0f2
Fix statistical accounting for incremental uploads.
2026-03-28 16:49:14 +00:00
miyuko
ccabfc22a6
Remove README text about the now-removed Sentry support.
2026-03-28 04:36:06 +00:00
miyuko
005e0fefed
Remove the unused sensitiveHTTPHeaders variable.
2026-03-28 04:36:06 +00:00
Catherine
2267ab929c
Update go-toml to v2.3.0 and freeze it.
...
The upstream added AGENTS.md and removed all unsafe code in the same
release. I've manually reviewed the entire v2.2.4..v2.3.0 diff and
found no issues except for one potential problem with
`go-toml/errors.subsliceOffset` that would only appear with a moving
GC. This seems like a strict improvement but we don't want any more
updates.
2026-03-28 00:35:01 +00:00
Catherine
338487c048
[breaking-change] Drop Sentry support.
...
The upstream added AGENTS.md and I have no time to review what they're
doing with that.
2026-03-28 00:34:57 +00:00
Catherine
b84a533be7
Add version override in Nix flake.
v0.7.0
2026-03-27 23:13:42 +00:00
Catherine
678868f7e6
Add a -version flag.
2026-03-27 22:50:55 +00:00
Catherine
1ca67f0590
Add a configurable limit on concurrent blob uploads.
...
Otherwise uploading a site with over 50,000 files will fail with
the default Go runtime configuration.
2026-03-26 14:52:11 +00:00
Maxim Slipenko
c74ec4ad23
Add configuration file example with default values only.
...
Reviewed-on: https://codeberg.org/git-pages/git-pages/pulls/127
Co-authored-by: Maxim Slipenko <maxim@slipenko.com >
Co-committed-by: Maxim Slipenko <maxim@slipenko.com >
2026-03-26 12:19:34 +01:00
Catherine
b37ca8cd14
Fix combined partial and incremental updates.
...
It seems that I forgot to implement incremental update support for
partial updates entirely.
v0.6.2
2026-03-25 05:08:42 +00:00
Catherine
310cc7d438
Fix incorrect explanation in README.
2026-03-25 04:59:25 +00:00
Catherine
ad327b0382
Fix collection of symlinks in tar archives.
2026-03-25 04:55:34 +00:00
Catherine
b737e1bb9b
Add rationale for not supporting git-lfs.
2026-03-21 02:30:36 +00:00
woodpecker-bot
8711e35c8e
[Renovate] Update all dependencies
2026-03-21 02:28:56 +00:00
miyuko
d2b5144182
Warn when a Git repository is uploaded with Git LFS-tracked files.
2026-03-21 02:27:19 +00:00
woodpecker-bot
34985c89bf
[Renovate] Update all dependencies
2026-03-14 00:11:19 +00:00
woodpecker-bot
050a002ddc
[Renovate] Update https://code.forgejo.org/actions/forgejo-release action to v2.11.3
2026-03-08 00:22:30 +00:00
Catherine
559f0c6ae8
Use right URL when fetching Forgejo user data for audit.
v0.6.1
2026-03-08 00:16:13 +00:00
Catherine
52fa8d1462
Separate principals with a comma in audit log.
2026-03-08 00:15:36 +00:00
woodpecker-bot
3830af5392
[Renovate] Update all dependencies
v0.6.0
2026-03-07 03:32:16 +00:00
miyuko
9e9664013b
Record the authorized forge user's name in the audit log.
2026-03-03 03:21:40 +00:00
miyuko
3e377986bc
Accept forge authorization for deleting a site.
2026-03-03 01:29:27 +00:00
miyuko
c85c7327bf
Reword the code comment regarding the webhook delivery timer.
2026-03-03 01:29:03 +00:00
woodpecker-bot
886ee2ddae
[Renovate] Update all dependencies
v0.5.0
2026-02-28 00:29:38 +00:00
woodpecker-bot
ac751e23b5
[Renovate] Update module golang.org/x/net to v0.51.0 [SECURITY]
2026-02-28 00:29:01 +00:00
woodpecker-bot
ebe7d07b3b
[Renovate] Update all dependencies
2026-02-21 23:56:24 +00:00
woodpecker-bot
4f14c345a6
[Renovate] Update all dependencies
2026-02-14 00:15:28 +00:00
miyuko
7e293d6ef9
Normalize archive member names.
2026-02-10 15:34:13 +00:00
woodpecker-bot
f7067b939b
[Renovate] Update module github.com/go-git/go-billy/v6 to v6.0.0-20260207062542-7cf3dc9049c3
2026-02-08 00:35:21 +00:00
woodpecker-bot
6bf4200f26
[Renovate] Update all dependencies
2026-02-07 00:15:58 +00:00