forgejo-aneksajo/modules
Matthias Riße 99eead584a
Some checks failed
/ build-oci-image (rootful) (push) Failing after 1m39s
/ build-oci-image (rootless) (push) Failing after 1m11s
testing / backend-checks (push) Successful in 14m34s
testing / frontend-checks (push) Successful in 3m12s
testing / test-unit (push) Has been skipped
testing / test-e2e (push) Has been skipped
testing / test-mysql (push) Successful in 44m46s
testing / test-pgsql (push) Successful in 56m27s
testing / test-sqlite (push) Successful in 58m43s
testing / test-remote-cacher (redis) (push) Has been skipped
testing / test-remote-cacher (valkey) (push) Has been skipped
testing / test-remote-cacher (garnet) (push) Has been skipped
testing / test-remote-cacher (redict) (push) Has been skipped
testing / security-check (push) Successful in 5m30s
/ release (push) Has been cancelled
fix: do not propagate errors from validity check (#89)
The `checkValidity` function returns `false, err` if its `git config`
call returns an error. For renamed repositories the cached path no
longer exists, which makes `git config` return an error. When
`checkValidity` returns an error value it short-circuited the cache
lookup, instead of deleting the stale entry and retrying. This made the
`AnnexP2PHTTP` route 404.

This is fixed by ignoring the error from `checkValidity` entirely.

Fixes #88.

Reviewed-on: https://codeberg.org/forgejo-aneksajo/forgejo-aneksajo/pulls/89
Co-authored-by: Matthias Riße <m.risse@fz-juelich.de>
Co-committed-by: Matthias Riße <m.risse@fz-juelich.de>
2025-06-27 17:32:27 +02:00
..
actions [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
activitypub [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
analyze Rename code_langauge.go to code_language.go (#26377) 2023-08-07 15:00:53 -04:00
annex fix: do not propagate errors from validity check (#89) 2025-06-27 17:32:27 +02:00
assetfs [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
auth [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
avatar [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
base Change the icon for annexed files to file-binary (#29) 2025-06-18 12:01:08 +02:00
cache [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
card [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
charset [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
container chore: teach set module about iter.Seq (#6676) 2025-01-24 16:45:46 +00:00
csv [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
emoji Update emoji set to Unicode 15 (#25595) 2023-06-29 16:29:48 +00:00
eventsource [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
forgefed [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
generate [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
git feat: copy annexed files on pull request merge (#62) 2025-06-18 12:01:09 +02:00
gitrepo [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
graceful [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
hcaptcha [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
highlight [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
hostmatcher Support allowed hosts for migrations to work with proxy (#32025) 2024-09-14 17:52:54 +02:00
html Refactor backend SVG package and add tests (#26335) 2023-08-05 04:34:59 +00:00
httpcache [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
httplib [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
indexer [v11.0/forgejo] Update bleve to v2.5.2 with changes made in backport of 2.5.0 (#8110) 2025-06-09 00:40:57 +02:00
issue/template [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
json Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
keying [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
label [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
lfs [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
locale feat(build): linter for missing msgid definitions (#7109) 2025-03-14 15:50:30 +00:00
log [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
markup Elevate external markup renderer interface for annexed file content (#36) 2025-06-18 12:01:08 +02:00
mcaptcha [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
metrics [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
migration [v11.0/forgejo] fix(migrations): transfer PR flow information (#7437) 2025-04-03 07:35:20 +00:00
nosql [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
optional [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
options [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
packages [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
paginator Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
pprof [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
private git-annex support 2025-06-18 12:01:07 +02:00
process Drop SSPI auth support and more Windows files (#7148) 2025-03-08 00:43:41 +00:00
proxy [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
proxyprotocol [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
public [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
queue [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
recaptcha [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
references [v11.0/forgejo] fix: pull request cross references (#7983) 2025-05-28 18:25:40 +02:00
regexplru [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
repository [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
secret Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v1.64.6 (forgejo) (#7118) 2025-03-04 21:38:35 +00:00
session [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
setting Add git-annex p2phttp support (#42) 2025-06-18 12:01:09 +02:00
sitemap Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
ssh [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
storage [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
structs [v11.0/forgejo] fix(api): document is_system_webhook field (#7786) 2025-05-05 15:25:50 +00:00
svg [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
sync [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
system [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
templates [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
test [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
testlogger [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
timeutil [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
translation [v11.0/forgejo] fix(i18n): prevent incorrect logging on strings missing in JSON locales (#7599) 2025-04-23 13:44:16 +00:00
turnstile [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
typesniffer [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
updatechecker [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
uri Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
user Drop SSPI auth support and more Windows files (#7148) 2025-03-08 00:43:41 +00:00
util Git-annex web uploads (#21) 2025-06-18 12:01:08 +02:00
validation [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
web [v11.0/forgejo] feat: make Forgejo Actions server logs less noisy (#7991) 2025-05-29 17:24:15 +02:00
webhook Add support for workflow_dispatch (#3334) 2024-06-28 05:17:11 +00:00
zstd Cache generated binary across jobs 2024-08-26 23:43:09 +02:00