Skip to content
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

Change "dev.kord.rest.version" to be retrieved via getProperty, not getenv #575

Closed
wants to merge 1 commit into from

Conversation

MrPowerGamerBR
Copy link
Contributor

dev.kord.rest.version looks and sounds like a Java System Property... but it is retrieved via getenv.

However environment variables use UPPERCASED_VARIABLES as the convention, so I don't think this was meant to be retrieved via getenv.

@lukellmann
Copy link
Member

lukellmann commented Mar 26, 2022

I'm not sure whether we should change this now, as I plan to bring a replacement in the form of more publicly available configuration options (this is internal anyways).

@HopeBaron HopeBaron added the on hold Something is preventing this issue from being resolved label Apr 9, 2022
@DRSchlaubi
Copy link
Member

Considering #69 I don't think it's a good idea to add more dependencies to the JVM stdlib because getProperty is not available on other platforms.

I think we should wait for @lukellmann's replacement

@MrPowerGamerBR
Copy link
Contributor Author

Superseded by #601

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on hold Something is preventing this issue from being resolved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants