-
Notifications
You must be signed in to change notification settings - Fork 61
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
Consolidate configuration to a single file #62
Comments
I've created a branch which implements the above proposal, but it does so at the cost of trampling over other contributors' code. A more community-friendly approach should be taken before creating a pull request. I'll leave a link as a resource for future work on this issue. https://github.com/pricebenjamin/fresh_script/tree/consolidate-config |
Maybe there's something that can be used from my Spotify project? I've made a PR on this project in regards to the config, but since then it's been improved:
Maybe these features can be added to the project? |
@dtcrout, your project is a great reference. Thank you for the input! Having a tool, like a We would still need to address the problem of consolidating all configuration parameters into one file. |
Currently,
fresh.py
reads from three separate configuration files:.config.ini
,credentials.json
, andpraw.ini
.To make initialization easier for new users, I propose we expect a single configuration file,
config.ini
(no longer hidden), with the following structure:Note that we request the reddit username as well. This allows us to create a user-agent string that better follows the reddit API rules. (Better user-agent strings will be requested in a separate issue.)
The text was updated successfully, but these errors were encountered: