-
Notifications
You must be signed in to change notification settings - Fork 3
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
reflect url prefix fix #322
base: main
Are you sure you want to change the base?
Conversation
I had deferred to the implementation on main here in place of my conflicting update, but it seems like that didn't work. Reusing the function from `handle` is what I had been using on the branch and seemed to work.
✅ Deploy Preview for projectsubstrate canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can try to find the error again, but realized that bridge was failing to start after the merge, which I realized had fixed before on my dev branch, but then deferred back to the main
version when I saw the conflict.
@@ -327,7 +327,7 @@ systemd_reload() { | |||
dst=$2 | |||
|
|||
echo >&2 "staging ${SUBSTRATEOS_OVERLAY_IMAGE_DIR}$src" | |||
(cd ${SUBSTRATEOS_OVERLAY_IMAGE_DIR}$src; find .) | |||
(sudo cd ${SUBSTRATEOS_OVERLAY_IMAGE_DIR}$src; find .) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was to fix a permission error on this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does sudo cd work? that seems like it would have no effect in a shell
if err != nil { | ||
return name, def | ||
} | ||
if !strings.HasPrefix(u, "//") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajbouh not sure if you're relying on the //
prefix here for other stuff. I think I had started with a similar implementation, but then found that the existing handle.EnsureRunHTTPRequestURLIncludesPrefix
implementation already worked better here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use it in aliases.go. I'm not sure if this has the right semantics for these other situations. Do you need this alternative?
I had deferred to the implementation on main here
in place of my conflicting update, but it seems
like that didn't work. Reusing the function from
handle
is what I had been using on the branchand seemed to work.