-
Notifications
You must be signed in to change notification settings - Fork 323
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
Add support for .pgpass
to PostgreSQL
#3593
Conversation
9fd1abc
to
a491c04
Compare
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.
lgtm
- default: The default fallback value. | ||
|
||
> Example | ||
Look up the value of the `FOOBAR` environment variable. |
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.
Let's maybe use something more common in stdlib documentation like HOME
;)
|
||
/** | ||
* Overrides the System environment variable with a new value. The override is only visible from | ||
* within Enso. |
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.
Maybe mention that it is not persisted?
The environment variable override is only visible to the Enso | ||
`Environment.get` method, the environment as seen from a direct | ||
`System.getenv` Java call remains unchanged. | ||
unsafe_with_environment_override : Text -> Text -> Any -> Any |
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.
Maybe this should be an extension method in Test?
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.
Definitely! That sounds like a much better place for it, as I was quite hesitant putting it in Base
.
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 moved it, does it look good now?
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.
Generally looks good - one suggestion (how we represent Posix permissions) and one change please.
engine/runtime/src/main/java/org/enso/interpreter/runtime/system/System.java
Show resolved
Hide resolved
distribution/lib/Standard/Base/0.0.0-dev/src/System/File/Posix_File_Permission.enso
Outdated
Show resolved
Hide resolved
eb238f0
to
4688314
Compare
WIP - some minor fixes still pending
1a15676
to
a4b57b2
Compare
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'd suggest to use Array
instead of java.util.Set
guest wrapper. Otherwise OK, I think.
Pull Request Description
Implements https://www.pivotaltracker.com/story/show/182582924
Important Notes
Checklist
Please include the following checklist in your PR:
Scala,
Java,
and
Rust
style guides.
./run ide dist
and./run ide watch
.