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 read methods to yaml #58

Merged
merged 14 commits into from
Oct 23, 2024
Merged

Change read methods to yaml #58

merged 14 commits into from
Oct 23, 2024

Conversation

khalford
Copy link
Member

@khalford khalford commented Oct 17, 2024

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.

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 99.13043% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.68%. Comparing base (9e6bbae) to head (27e1eb6).
Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
cloud-chatops/src/read_data.py 94.73% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

cloud-chatops/version.txt Outdated Show resolved Hide resolved
if not repos:
raise RepositoriesNotGiven("repos.csv does not contain any repositories.")
raise RepositoriesNotGiven("config.yml does not contain any repositories.")
Copy link
Collaborator

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

Copy link
Member Author

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
DavidFair
DavidFair previously approved these changes Oct 21, 2024
@khalford khalford merged commit eb9d469 into master Oct 23, 2024
8 checks passed
@khalford khalford deleted the yml_config branch October 23, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants