Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(platform/gitea): autodiscover repos by namespace #26821

Merged
merged 8 commits into from Mar 19, 2024

Conversation

rvanbutselaar
Copy link
Contributor

@rvanbutselaar rvanbutselaar commented Jan 23, 2024

Changes

Adds Gitea support for the configuration option autodiscoverNamespaces to run Renovate against all repositories in a namespace (Gitea organization).

Context

Closes #26792

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@rvanbutselaar rvanbutselaar changed the title feat: autodiscover Gitea repositories by namespace feat(platform/gitea): autodiscover repos by namespace Jan 23, 2024
@rvanbutselaar rvanbutselaar marked this pull request as ready for review January 23, 2024 14:18
lib/modules/platform/gitea/index.ts Outdated Show resolved Hide resolved
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a note for Gitea/ Forgejo that topics can't be used with namespace filter and that topics are preferred and namespace filter ignored.

@CLAassistant
Copy link

CLAassistant commented Feb 2, 2024

CLA assistant check
All committers have signed the CLA.

@rvanbutselaar rvanbutselaar reopened this Feb 2, 2024
@rvanbutselaar
Copy link
Contributor Author

Added a note to: docs/usage/self-hosted-configuration.md

Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Align logging to github

lib/modules/platform/gitea/index.ts Outdated Show resolved Hide resolved
lib/modules/platform/gitea/index.ts Outdated Show resolved Hide resolved
rvanbutselaar and others added 2 commits March 4, 2024 21:40
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
viceice
viceice previously approved these changes Mar 4, 2024
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should refactor in a follow up PR to do the mirror, archive and deduplicate as a single last step, so we can deduplicate some more code.

viceice
viceice previously approved these changes Mar 5, 2024
@rvanbutselaar
Copy link
Contributor Author

I was wondering if we can merge this change. We would like to use this functionality to reduce the load on Gitea.

@rarkins rarkins enabled auto-merge March 19, 2024 17:09
@rarkins
Copy link
Collaborator

rarkins commented Mar 19, 2024

Conflicts need resolving first

auto-merge was automatically disabled March 19, 2024 17:22

Head branch was pushed to by a user without write access

@viceice viceice added this pull request to the merge queue Mar 19, 2024
Merged via the queue into renovatebot:main with commit 0dfea67 Mar 19, 2024
39 of 54 checks passed
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 37.259.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants