Skip to content

validate: give hint on how to regenerate outdated REFERENCE.md #388

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

kenyon
Copy link
Contributor

@kenyon kenyon commented Feb 27, 2024

This is the command we use with @voxpupuli modules (ref), not sure what the correct way is for PDK modules.

@kenyon kenyon requested review from bastelfreak and a team as code owners February 27, 2024 18:11
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 70.91%. Comparing base (5a8acde) to head (d750e54).

Files Patch % Lines
lib/puppet-strings/tasks/validate.rb 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #388   +/-   ##
=======================================
  Coverage   70.91%   70.91%           
=======================================
  Files          78       78           
  Lines        2486     2486           
=======================================
  Hits         1763     1763           
  Misses        723      723           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -34,7 +34,7 @@
existing = File.read(filename)

if generated != existing
warn "#{filename} is outdated"
warn "#{filename} is outdated; to regenerate: bundle exec rake strings:generate:reference"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am wondering how many people might call puppet strings not via bundler 🤔 but I am +1 for the change

Copy link
Contributor

@jordanbreen28 jordanbreen28 left a comment

Choose a reason for hiding this comment

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

Thanks @kenyon !

@jordanbreen28 jordanbreen28 merged commit 1db2678 into puppetlabs:main Feb 28, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants