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

Fix caching in case multiple Repository resources point to the same git repo #68

Merged
merged 6 commits into from
Jun 13, 2024

Conversation

kispaljr
Copy link
Collaborator

@kispaljr kispaljr commented Jun 12, 2024

Fixes nephio-project/nephio#725

This is a quick-fix for the bug, but has suboptimal performance.
Solving the problem in a performant way would require a much deeper redesign of the code. The Porch re-architecture process is on-going, and the proper solution is expected to stem from it.

pkg/cache/cache.go Outdated Show resolved Hide resolved
pkg/cache/cache.go Show resolved Hide resolved
pkg/cache/cache.go Outdated Show resolved Hide resolved
pkg/cache/cache.go Show resolved Hide resolved
test/e2e/e2e_test.go Show resolved Hide resolved
@efiacor
Copy link
Collaborator

efiacor commented Jun 13, 2024

/approve
/lgtm

Copy link
Contributor

nephio-prow bot commented Jun 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: efiacor, kispaljr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nephio-prow nephio-prow bot added the approved label Jun 13, 2024
@nephio-prow nephio-prow bot merged commit adfa8d0 into nephio-project:main Jun 13, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wrong repository name is shown in packagerevision list when same repository is registered in 2 namespaces
2 participants