Skip to content

(PDOC-70) Always generate the JSON doc when running the rake task #72

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

Merged
merged 1 commit into from
Mar 25, 2016

Conversation

garethr
Copy link
Contributor

@garethr garethr commented Feb 3, 2016

I'm super enthusiastic about the potential for folks to build things on
top of the JSON output, we've had several related conversations at
Config Management Camp and on puppet-dev recently. I think this is a
sane default, and calling the file strings.json seems a nice
reinforcement.

@vStone
Copy link
Contributor

vStone commented Feb 3, 2016

Maybe we need to parse command line arguments in the rake task so we can control this easily when running from a CI (jenkins) server.

@garethr
Copy link
Contributor Author

garethr commented Feb 3, 2016

@vStone I think this being configurable is a good idea, but I also think this is a better default until such a time as things are configurable. I don't at least see a downside of also outputting this file (locally or in a CI system) that can't be avoided by .gitignore or similar, but might be missing something.

@hlindberg
Copy link
Contributor

I missed this - is there a ticket for this?

@garethr
Copy link
Contributor Author

garethr commented Feb 20, 2016

@hlindberg not that I created or am aware of. Happy to open one to discuss there if preferable.

@hlindberg
Copy link
Contributor

@garethr Please do file a ticket. Tickets and discussions there are far more visible and helps with priorities.

@garethr
Copy link
Contributor Author

garethr commented Feb 21, 2016

@hlindberg hlindberg changed the title Always generate the JSON doc when running the rake task (PDOC-70) Always generate the JSON doc when running the rake task Feb 21, 2016
@hlindberg
Copy link
Contributor

thanks @garethr

@HAIL9000
Copy link
Contributor

HAIL9000 commented Mar 9, 2016

@garethr Sorry to be pedantic, but could you also update the commit to reference the ticket? :)

I'm super enthusiastic about the potential for folks to build things on
top of the JSON output, we've had several related conversations at
Config Management Camp and on puppet-dev recently. I think this is a
sane default, and calling the file strings.json seems a nice
reinforcement.
@garethr garethr force-pushed the output-json-from-rake-task branch from 82c1807 to 9160e6f Compare March 13, 2016 12:15
@garethr
Copy link
Contributor Author

garethr commented Mar 13, 2016

@HAIL9000 no problem. Done.

@HAIL9000
Copy link
Contributor

@garethr As per the discussion on the Jira ticket, could you quickly add a few sentences in the Rake Tasks section of the README explaining that a .json file will be generated?

@HAIL9000
Copy link
Contributor

I'm gonna go ahead and merge this one, then I'll open another pull request to update the README before we release 0.4.0

@HAIL9000 HAIL9000 merged commit 80e05bf into puppetlabs:master Mar 25, 2016
@chelnak chelnak added the bugfix label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants