Skip to content

Add Dev Container for local development#39

Open
ruffsl wants to merge 8 commits intomasterfrom
devcontainer
Open

Add Dev Container for local development#39
ruffsl wants to merge 8 commits intomasterfrom
devcontainer

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