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

Feature request: Log the options cpanminus is run with #495

Open
ureesoriano opened this issue Apr 23, 2016 · 2 comments · May be fixed by #497
Open

Feature request: Log the options cpanminus is run with #495

ureesoriano opened this issue Apr 23, 2016 · 2 comments · May be fixed by #497

Comments

@ureesoriano
Copy link

Would it be possible to make cpanminus log the options it is run with?

The purpose of this would be to, before sending CPAN Testers a report, enable the cpanm reporter to check if cpanminus was run with '--notest'.

@garu
Copy link
Contributor

garu commented Apr 24, 2016

To me the real reason behind this is that it will help a human make a bit more sense of the build.log output (see #253). For example: when cpanm is ran with --verbose, we have almost no output on build.log to debug in case of something going wrong. Also, @ureesoriano found out that carton runs cpanm with --notest only by analyzing Carton::Build's source. This would have easily been spotted if he saw all flags near the top of the resulting build.log file.

The fact that it helps external tools is actually just a side-effect, I think :)

@garu
Copy link
Contributor

garu commented Apr 24, 2016

Sorry! I screwed up on #496, but #497 should DTRT :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants