-
Notifications
You must be signed in to change notification settings - Fork 5
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 read methods to yaml #58
Conversation
The main config file uses yaml and contains all config from the previous 4 files.
This will allow the application to run on a local machine with production credentials. Acts as an alternative to using docker
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #58 +/- ##
==========================================
+ Coverage 96.32% 98.68% +2.36%
==========================================
Files 12 12
Lines 571 608 +37
==========================================
+ Hits 550 600 +50
+ Misses 21 8 -13 ☔ View full report in Codecov by Sentry. |
if not repos: | ||
raise RepositoriesNotGiven("repos.csv does not contain any repositories.") | ||
raise RepositoriesNotGiven("config.yml does not contain any repositories.") |
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.
We don't have any docs for how the config.yml should look in this PR? It requires someone to effectively dig the source code
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.
Those changes are in #57 once it is merged and this one rebased then it will make sense.
Since the config files have changed this version is no longer compatible with previous deployments
These changes are in accordance with the proposal from #57
Moving the application config to a yaml file means less configuration files overall and they are all in the same file type (not csv and json and txt).
Yaml is also more readable.