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

Fix agent_changelog command #2808

Merged
merged 5 commits into from
Dec 21, 2018
Merged

Fix agent_changelog command #2808

merged 5 commits into from
Dec 21, 2018

Conversation

masci
Copy link
Contributor

@masci masci commented Dec 21, 2018

What does this PR do?

The requirements-agent-release.txt file we parse to generate the changelog has a weird git history and the generation command wasn't working correctly. This PR fixes the logic and adds a fair bunch of comments/docstrings so the process is better documented now.

Review checklist

  • PR has a meaningful title or PR has the no-changelog label attached
  • Feature or bugfix has tests
  • Git history is clean
  • If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo
  • If PR adds a configuration option, it has been added to the configuration file.

Copy link
Contributor

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit. Also we still have the go-metro special case.

given file contents. We can assume lines are in the form:

active_directory==1.1.1; sys_platform == 'win32'
active-directory==1.1.1; sys_platform == 'win32'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

datadog-active-directory

@codecov-io
Copy link

Codecov Report

Merging #2808 into master will decrease coverage by 6.27%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #2808      +/-   ##
=========================================
- Coverage   84.88%   78.6%   -6.28%     
=========================================
  Files         660      23     -637     
  Lines       37572     776   -36796     
  Branches     4504      80    -4424     
=========================================
- Hits        31894     610   -31284     
+ Misses       4363     138    -4225     
+ Partials     1315      28    -1287

@masci masci merged commit 5f2bdef into master Dec 21, 2018
@masci masci deleted the massi/fix-agent-changelog branch December 21, 2018 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants