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

Add Dev Container for local development #39

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

ruffsl
Copy link
Member

@ruffsl ruffsl commented Nov 4, 2023

This approximates colcon's CI while still streamlining development over the previous Dockerfile build setup. Also, the Dockerfile build setup (using colcon itself as the build tool) was failing to pass tests due to some file hierarchy assumptions with copyright checks using pytest, such as auto generated site files missing copyright headers.

@codecov-commenter
Copy link

codecov-commenter commented Nov 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (c7ff24c) to head (e6eb357).
Report is 11 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #39   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          268       268           
  Branches        40        40           
=========================================
  Hits           268       268           

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

This reverts commit ac3319d.
@ruffsl ruffsl marked this pull request as ready for review November 4, 2023 22:35
@ruffsl ruffsl requested a review from cottsay November 4, 2023 22:35
Copy link
Member

@cottsay cottsay left a comment

Choose a reason for hiding this comment

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

I don't have much context on dev containers, but I don't see anything alarming here either.

# Download constraints
curl -sSLo $CONSTRAINTS_FILE $CONSTRAINTS_URL
# Remove this package from constraints
sed -i "/^$(python setup.py --name)@/d" $CONSTRAINTS_FILE
Copy link
Member

Choose a reason for hiding this comment

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

I changed this line in colcon/ci#14 to support extensions that don't have a setup.py. You could copy the new logic here, or just drop in colcon-clean if you like.

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

Successfully merging this pull request may close these issues.

3 participants