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

cli: reserve the --debug option for snapcraft projects #2185

Merged
merged 1 commit into from Jul 31, 2018

Conversation

sergiusens
Copy link
Collaborator

@sergiusens sergiusens commented Jul 30, 2018

--debug has been conflated to debug snapcraft as a project itself and
snapcraft projects users of snapcraft work on. For the former we
introduce an environment variable to enable the existing debug logs
statements in the snapcraft code base.

LP: #1782772

Signed-off-by: Sergio Schvezov sergio.schvezov@canonical.com

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on bug reports?
  • If this is a new feature. Have you discussed the design on the forum?
  • Have you successfully run ./runtests.sh static?
  • Have you successfully run ./runtests.sh unit?

@sergiusens sergiusens force-pushed the debug-concerns branch 2 times, most recently from 976f523 to f169259 Compare July 31, 2018 02:51
@codecov-io
Copy link

codecov-io commented Jul 31, 2018

Codecov Report

Merging #2185 into master will decrease coverage by 0.01%.
The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2185      +/-   ##
==========================================
- Coverage   91.22%   91.21%   -0.02%     
==========================================
  Files         202      202              
  Lines       12861    12865       +4     
  Branches     1907     1907              
==========================================
+ Hits        11733    11735       +2     
- Misses        766      768       +2     
  Partials      362      362
Impacted Files Coverage Δ
snapcraft/cli/snapcraftctl/_runner.py 89.13% <100%> (ø) ⬆️
snapcraft/cli/_runner.py 95.23% <71.42%> (-4.77%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eadd867...9c210f2. Read the comment docs.

--debug has been conflated to debug snapcraft as a project itself and
snapcraft projects users of snapcraft work on. For the former we
introduce an environment variable to enable the existing debug logs
statements in the snapcraft code base.

LP: #1782772

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Copy link
Contributor

@kyrofa kyrofa left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@sergiusens sergiusens merged commit 49cf505 into canonical:master Jul 31, 2018
@sergiusens sergiusens deleted the debug-concerns branch July 31, 2018 20:04
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.

None yet

3 participants