feat:connect frontend with actual backend endpoints + delete:unused f… - #153
Open
kazuhidelee wants to merge 7 commits into
Open
feat:connect frontend with actual backend endpoints + delete:unused f…#153kazuhidelee wants to merge 7 commits into
kazuhidelee wants to merge 7 commits into
Conversation
…iles from previous frontend version Signed-off-by: Tony Lee <tonyklee@umich.edu>
kazuhidelee
force-pushed
the
tonylee/connecting_backend_with_updated_frontend
branch
from
July 21, 2026 02:58
bdb21da to
3ce0518
Compare
Signed-off-by: Tony Lee <tonyklee@umich.edu>
Signed-off-by: Tony Lee <tonyklee@umich.edu>
Signed-off-by: Tony Lee <tonyklee@umich.edu>
kazuhidelee
force-pushed
the
tonylee/connecting_backend_with_updated_frontend
branch
from
August 12, 2026 23:19
1d8220e to
b3431d2
Compare
kazuhidelee
marked this pull request as ready for review
August 14, 2026 20:43
Signed-off-by: Tony Lee <tonyklee@umich.edu>
Collaborator
There was a problem hiding this comment.
This implementation of policy methods looks a bit worse than the previous one? Is it possible to either use gittuf to extract the needed data or use less arbitrary interfaces?
| remoteRepoCache.paths[url] = tempDir | ||
| remoteRepoCache.Unlock() | ||
|
|
||
| // ponytail: cached remote repos live for the backend process lifetime; add TTL cleanup only if temp dirs pile up. |
Collaborator
There was a problem hiding this comment.
We should define what behavior to use here, is there a threshold for cleaning up temp dirs?
| } | ||
|
|
||
| ref, err := repo.Reference(refName, true) | ||
| ref, err := getPolicyRef(repo, "refs/remotes/origin/gittuf/policy", "refs/gittuf/policy") |
Collaborator
There was a problem hiding this comment.
Is there a reason we can't just use the regular ref (refs/gittuf/policy) here and have Git fetch that for us?
Collaborator
|
Please also clean up the merge commits on the branch, thanks! |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
…iles from previous frontend version
Description
This is a draft for now
For testing:
github.com/gittuf/gittufto test the visualizer (can also use the local path to your local gittuf repo) or any other repo that contains gittuf metadata(for now settings page is frontend only, and the graph is using both root.json +targets.json)
AI Usage
request.
pull request. I have described my use of AI below.
Contributor Checklist
request.
applicable.
Signoff.
Conduct.