fix(gitea): use endpoint for pr cache pagination#34022
Merged
Conversation
Member
Author
|
@zharinov i think we should create / update the http class to return an async iterator when paginate is true, so we can iterate and cancel fetching. That way we don't need another pagination just for pr cache. WDYT? |
rarkins
reviewed
Feb 4, 2025
Contributor
rarkins
left a comment
There was a problem hiding this comment.
So will this always rewrite, and ignore the host in the link header?
Member
Author
yes, same behavior as we already do in renovate/lib/util/http/gitea.ts Lines 41 to 64 in df9106f |
Member
Author
|
i can also change it to simple pagination, like we do in |
rarkins
approved these changes
Feb 4, 2025
|
🎉 This PR is included in version 39.160.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
SuperSandro2000
added a commit
to SuperSandro2000/renovate
that referenced
this pull request
Feb 5, 2025
* upstream/main: (27 commits) chore(deps): update python:3.13 docker digest to 7be9b75 (renovatebot#34045) chore(deps): update ghcr.io/containerbase/devcontainer docker tag to v13.7.7 (renovatebot#34043) docs(gitea): fix `gitUrl` support (renovatebot#34038) feat(npm): Support for new option `replacementApproach` (renovatebot#34018) chore(deps): lock file maintenance (renovatebot#33998) chore(deps): update sigstore/cosign-installer action to v3.8.0 (renovatebot#34034) docs(managers/pip-compile): update list of source files and managers (renovatebot#34030) chore(deps): update linters to v8.22.0 (renovatebot#33880) fix(gitea): use endpoint for pr cache pagination (renovatebot#34022) chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.119.0 (renovatebot#34032) feat(gradle): add support for gradle repository content descriptors (renovatebot#33692) feat(manager): add elixir as a mise core tooling (renovatebot#34025) chore(deps): update python:3.13 docker digest to d59d263 (renovatebot#34026) chore(deps): update ghcr.io/containerbase/devcontainer docker tag to v13.7.6 (renovatebot#34021) fix(gitea): allow overriding platform version (renovatebot#34019) chore(deps): update dependency @types/lodash to v4.17.15 (renovatebot#34020) fix(manager/terragrunt): Update terragrunt packageName (renovatebot#33810) feat(pip-compile): support `uv pip compile` (renovatebot#33952) fix(deps): update dependency mkdocs-material to v9.6.2 (renovatebot#34010) chore(label-actions): improve logs, pr closing (renovatebot#33995) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Use configured endpoint in pr cache. The cache uses own pagination.
Context
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: