Navigation Menu

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

colcon plugin: add ability to ignore packages #2687

Merged
merged 4 commits into from Sep 4, 2019

Conversation

kyrofa
Copy link
Contributor

@kyrofa kyrofa commented Aug 26, 2019

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run ./runtests.sh static?
  • Have you successfully run ./runtests.sh tests/unit?

Currently the colcon plugin has the ability to build only a few packages in a given workspace, or build the entire workspace. However, it's not unusual to have only a few packages that don't build properly in the snap. Add the ability to specify packages that should be ignored in the workspace.

Currently the colcon plugin has the ability to build only a few packages
in a given workspace, or build the entire workspace. However, it's not
unusual to have only a few packages that don't build properly in the
snap. Add the ability to specify packages that should be ignored in the
workspace.

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
Copy link
Contributor

@cjp256 cjp256 left a comment

Choose a reason for hiding this comment

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

lgtm, but static tests fail;
./tests/unit/plugins/test_colcon.py:1027:5: C901 'BuildTestCase.test_build' is too complex (11)

@kyrofa
Copy link
Contributor Author

kyrofa commented Aug 30, 2019

Fixed static.

@codecov-io
Copy link

codecov-io commented Sep 3, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@dce92d9). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2687   +/-   ##
=========================================
  Coverage          ?   88.76%           
=========================================
  Files             ?      211           
  Lines             ?    14453           
  Branches          ?     2188           
=========================================
  Hits              ?    12829           
  Misses            ?     1170           
  Partials          ?      454
Impacted Files Coverage Δ
snapcraft/plugins/colcon.py 100% <100%> (ø)

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 dce92d9...457c201. Read the comment docs.

@sergiusens sergiusens merged commit bdc2150 into canonical:master Sep 4, 2019
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

4 participants