mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
df805d6ed0
Support legacy _links LFS batch response. Fixes #31512. This is backwards-compatible change to the LFS client so that, upon mirroring from an upstream which has a batch api, it can download objects whether the responses contain the `_links` field or its successor the `actions` field. When Gitea must fallback to the legacy `_links` field a logline is emitted at INFO level which looks like this: ``` ...s/lfs/http_client.go:188:performOperation() [I] <LFSPointer ee95d0a27ccdfc7c12516d4f80dcf144a5eaf10d0461d282a7206390635cdbee:160> is using a deprecated batch schema response! ``` I've only run `test-backend` with this code, but added a new test to cover this case. Additionally I have a fork with this change deployed which I've confirmed syncs LFS from Gitea<-Artifactory (which has legacy `_links`) as well as from Gitea<-Gitea (which has the modern `actions`). Signed-off-by: Royce Remer <royceremer@gmail.com> |
7 months ago | |
---|---|---|
.. | ||
actions | 9 months ago | |
activitypub | 1 year ago | |
analyze | 2 years ago | |
assetfs | 1 year ago | |
auth | 8 months ago | |
avatar | 11 months ago | |
badge | 11 months ago | |
base | 8 months ago | |
cache | 8 months ago | |
charset | 10 months ago | |
container | 10 months ago | |
csv | 10 months ago | |
dump | 10 months ago | |
emoji | 2 years ago | |
eventsource | 1 year ago | |
generate | 12 months ago | |
git | 9 months ago | |
gitgraph | 1 year ago | |
gitrepo | 8 months ago | |
graceful | 11 months ago | |
hcaptcha | 2 years ago | |
highlight | 1 year ago | |
hostmatcher | 1 year ago | |
html | 2 years ago | |
httpcache | 1 year ago | |
httplib | 8 months ago | |
indexer | 8 months ago | |
issue/template | 8 months ago | |
json | 2 years ago | |
label | 2 years ago | |
lfs | 7 months ago | |
log | 9 months ago | |
markup | 7 months ago | |
mcaptcha | 2 years ago | |
metrics | 8 months ago | |
migration | 12 months ago | |
nosql | 2 years ago | |
optional | 9 months ago | |
options | 2 years ago | |
packages | 8 months ago | |
paginator | 2 years ago | |
pprof | 2 years ago | |
private | 9 months ago | |
process | 9 months ago | |
proxy | 2 years ago | |
proxyprotocol | 2 years ago | |
public | 1 year ago | |
queue | 9 months ago | |
recaptcha | 2 years ago | |
references | 8 months ago | |
regexplru | 2 years ago | |
repository | 8 months ago | |
secret | 11 months ago | |
session | 9 months ago | |
setting | 8 months ago | |
sitemap | 2 years ago | |
ssh | 1 year ago | |
storage | 8 months ago | |
structs | 8 months ago | |
svg | 10 months ago | |
sync | 2 years ago | |
system | 8 months ago | |
templates | 8 months ago | |
test | 8 months ago | |
testlogger | 2 years ago | |
timeutil | 10 months ago | |
translation | 10 months ago | |
turnstile | 2 years ago | |
typesniffer | 1 year ago | |
updatechecker | 1 year ago | |
uri | 2 years ago | |
user | 2 years ago | |
util | 8 months ago | |
validation | 1 year ago | |
web | 8 months ago | |
webhook | 1 year ago |