-
Notifications
You must be signed in to change notification settings - Fork 207
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
Are all these environment variables called for? well documented? #3581
Comments
|
|
anylogger -
|
cosmic-swingset:
|
dapp-svelte: rollupIt doesn't seem cost-effective to go to any heroics to avoid |
install-ses:
|
swingset, xsnap: XS transition, debugging
|
|
swingset-runner scripts
|
xsnap build script
|
scripts vs. modules@erights and I agreed that using To use environment variables in modules, exceptions for
|
I would like to change this to a range of Inlining a JSON file into an environment file is strictly worse than referring to a JSON file by path, capturing by path, or selecting a path based on another environment variable. I fully expect we will one day use an environment variable to set up daemons with a shared causal graph inspection server in development or production modes, and we wouldn’t use a config file for those. |
I’d like to float the idea of consolidating |
|
Ah yes, |
As long as the syntax is discoverable. I've lost count of of the number of times I've been thwarted by some all-singing-all-dancing debug-level-specifying DSL keyed by such a short string (and encapsulated in an equally-sonorous logging management library) that I couldn't grep or google for the specification/docs, and whose syntax was dense and clever and elegant and completely impossible to experiment your way into learning. And my workaround is always to ignore it and just add more console.logs. q.v. #1318 . |
@michaelfig you offered to make some proposal about what to do here, right? |
My only suggestions were to change |
#3525 locally introduces a library abstraction, environment-options, for managing static configuration parameters through apparent environment variables. In #3525 this applied only to a first pressing use case, ALLOW_IMPLICIT_REMOTABLES. But if we're happy with it, I intend to migrate it to Endo for more general reuse. Just saying. |
Unfortunately yes. |
Open!
On Sun, Nov 13, 2022 at 12:45 AM abebeos ***@***.***> wrote:
Ok, @erights <https://github.com/erights> , I believe I can help you to
"unblock" some issues (this one and others) simply by altering a little bit
the way you process issues (both, as individuals and as a team).
In the end, it's just a few suggestions, immediately actionable.
Will not take many time on your side, I just need to know if you're open
to it.
—
Reply to this email directly, view it on GitHub
<#3581 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACC3TBJOMC7FYWSKI7ZUSTWICTDLANCNFSM5BNVGZBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Cheers,
--MarkM
|
See endojs/endo#1266 See #7410 (review) |
The usual
process.env
idiom uses ambient authority while our style is to pass all authority around explicitly; that is: to use OCap Discipline.Searching just agoric-sdk for "env." I get 52 hits! Across 26 files! The unique names seem to be
PORT DEBUG AGORIC_INSTALL FAKE_CHAIN_DELAY HOST_PORT CHAIN_PORT HOME (ok at least that's an existing one) NO_FAKE_CURRENCIES SLOGFILE OTEL_EXPORTER_PROMETHEUS_HOST ROLLUP_WATCH DO_API_TOKEN DOCKER_VOLUMES NETWORK_NAME ANSIBLE_TRANSFORM_INVALID_GROUP_CHARS AG_SETUP_COSMOS_NAME AG_SETUP_COSMOS_HOME SWINGSET_WORKER_TYPE AG_SOLO_BASEDIR SOLO_PORT NOISY AUTOBENCH_METRICS_URL MODDABLE_COMMIT_HASH MODDABLE_URL
And my own sin: LOCKDOWN_OPTIONS
We need a principled way to pass around configuration settings. This ain't it.
The text was updated successfully, but these errors were encountered: