-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
oil 0.7.0 (new formula) #51962
oil 0.7.0 (new formula) #51962
Conversation
@andychu, for the formula's test block I used the "smoke test" section of https://www.oilshell.org/release/latest/doc/INSTALL.html for inspiration, but at some point during local testing, the produced AST for the demo script I was using changed as follows: - spids: [5 18]
+ spids: [4 17] Any insights as to what could explain this change? I don't want to introduce a test that isn't deterministic. |
Also despite the versioning, the later releases are almost certainly strictly better than earlier ones, so https://www.oilshell.org/release/0.8.pre2/ is worth packaging. Thanks for packaging Oil! Please update the wiki when it's merged and let me know if you have more questions. |
Oh also eventually Oil will be distributed with tests you can run. That's this issue: If you want to help let me know :) There's been some big progress recently at http://travis-ci.oilshell.org/jobs/ (details on Zulip) |
@andychu just curious why this oilshell depends on Python 2, not Python 3. Also, depends on python 2.7.13 (not 2.7.16) |
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.
Thanks for bring this shell into my attention, good to know there is always another one exist. :)
The goal is to remove the CPython dependency altogether. Some details: http://www.oilshell.org/blog/2020/01/parser-benchmarks.html http://www.oilshell.org/blog/2019/06/17.html#why-is-it-written-in-python |
If it depends on Python it should define |
It doesn't require Python to be installed: From the packager's perspective it looks like a C program. |
Does it require python to run? |
What would you suggest instead, then? Perhaps one of the spec tests?
Sure, I can do that. @SMillerDev, @chenrui333, is that OK from your side as well? |
I would just remove it -- @SMillerDev It doesn't require Python to run |
No problem, and will do 👍 |
Nope, only stable releases are allowed.
Okay. |
Another question: is there any way to link to the source code repository of the formula when it has a dedicated website? I know I could use
|
You can use head for that. While it allows people to try and build the software, that configuration means that you're on your own if it breaks. |
I've added the |
Formula/gobby.rb
Outdated
@@ -4,7 +4,7 @@ class Gobby < Formula | |||
url "http://releases.0x539.de/gobby/gobby-0.5.0.tar.gz" | |||
sha256 "8ceb3598d27cfccdf9c9889b781c4c5c8e1731ca6beb183f5d4555644c06bd98" | |||
revision 7 | |||
head "https://github.com/gobby/gobby" | |||
head "https://github.com/gobby/gobby.git" |
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.
Please make this a separate PR
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.
Will do 👍
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.
@SMillerDev I suspect I'll need to also fix this if I am to submit that change, but I'm not sure exactly how to do that.
Can you clarify what adjustment I would need to do to gobby/0.5.0.patch, and whether that would need to be done before or after the PR in this repo?
Fixed the audit error and removed the change to an unrelated formula. |
If you can just squash the commits into one |
Sure, I wasn't sure if force-pushing was OK. Will squash now. |
@waldyrious Thanks for your contribution to Homebrew! 🎉 🥇 Without awesome contributors like you, it would be impossible to maintain Homebrew to the high level of quality users have come to expect. Thank you!!!! |
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 <formula>
)?