-
Notifications
You must be signed in to change notification settings - Fork 55
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
Reading from arbitrary refs through proxy #1154
Comments
This is a pretty common, already covered use case: The resulting repo will have |
Thanks, that seems to work fine with the Gerrit change refs (which are the most important!). I'll see if I can come up with a docs change to make that easier to find. However, I can't get that to work with our Will spend more time investigating that later, for now I'm focusing on a different issue. |
I ran into not finding documentation on this, though I eventually found this issue. |
It would be quite useful to be able to read and filter arbitrary refs through
josh-proxy
. For example, Gerrit changes become available with refs likerefs/changes/96/8096/21
and at TVL we have revision numbers at refs likerefs/r/1337
.This would make it possible to expand ref-based versioning schemes (in our case, monotonically increasing integers) to filtered views and workspaces, or filter in-progress changes for test flows.
If this is in fact already possible, then consider the issue to be about documenting what syntax allows it :)
I've looked into this a little bit but am not familiar enough with the codebase to find the right spot to look. f1c8188 pointed me towards the
apply_view_to_branch
function, but that has since been refactored to elsewhere and I haven't found it yetThe text was updated successfully, but these errors were encountered: