-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
octant: add service and use free_port in test #106816
Conversation
It's not too happy with our version of We can also do this: diff --git a/Formula/octant.rb b/Formula/octant.rb
index 48e30ff31c5..65267e81ff3 100644
--- a/Formula/octant.rb
+++ b/Formula/octant.rb
@@ -40,7 +40,7 @@ class Octant < Formula
ldflags = ["-X main.version=#{version}",
"-X main.gitCommit=#{Utils.git_head}",
- "-X main.buildTime=#{time.iso8601}"].join(" ")
+ "-X main.buildTime=#{time.iso8601}"]
tags = "embedded exclude_graphdriver_devicemapper exclude_graphdriver_btrfs containers_image_openpgp"
Surprise browsers seem fun though.
👍 |
I dug into the failure a bit, the error message is emitted from Full log:
|
Looks like resolutions are a non-native-to-npm feature supported by using |
I've tried both of the workarounds originally mentioned in the linked issue there but unfortunately those don't seem to fix it (the particular version string that it's failing on does change, though). |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?We pass
--disable-open-browser
in the service since it will be running in the background and we probably don't want the user's web browser to pop open on every login/boot for this (or possibly just randomly if the application crashes and is restarted).Use
free_port
to avoid potential port conflicts in the test.Added
CI-no-bottles
because my understanding is that the service + test block are contained within the formula itself and should work fine with existing bottle.