Skip to content

perform environment calculation in Python#209

Merged
dirk-thomas merged 5 commits intomasterfrom
dirk-thomas/setup-performance
Aug 26, 2019
Merged

perform environment calculation in Python#209
dirk-thomas merged 5 commits intomasterfrom
dirk-thomas/setup-performance

Conversation

@dirk-thomas
Copy link
Copy Markdown
Member

@dirk-thomas dirk-thomas commented Aug 20, 2019

  • The first commit adds .dsv files describing the intended environment change in a machine readable form (similar to generate .dsv files beside known environment hooks ament/ament_cmake#187).
  • The second commit duplicate the file prefix_util.py into prefix_util.py.em before changing its content.
  • The third commit extends the shell extension point to generate a shell-specific version of the prefix_util.py module. The module will utilize the information from .dsv files to compute the desired environment changes within Python.
  • The fourth commit updates the sh shell extension to use the .dsv files

Other shell extensions still need to be updated...

Related to ros2/ros2#764.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Aug 23, 2019

Codecov Report

Merging #209 into master will decrease coverage by 0.43%.
The diff coverage is 51.11%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #209      +/-   ##
==========================================
- Coverage   77.85%   77.42%   -0.44%     
==========================================
  Files          53       54       +1     
  Lines        3071     3109      +38     
  Branches      512      512              
==========================================
+ Hits         2391     2407      +16     
- Misses        652      675      +23     
+ Partials       28       27       -1
Impacted Files Coverage Δ
colcon_core/shell/dsv.py 0% <0%> (ø)
colcon_core/shell/sh.py 100% <100%> (ø) ⬆️
colcon_core/shell/bat.py 100% <100%> (ø) ⬆️
colcon_core/shell/__init__.py 98.37% <87.5%> (-1.06%) ⬇️
colcon_core/shell/template/__init__.py 100% <0%> (+2.43%) ⬆️

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 8aa8127...b33a08d. Read the comment docs.

@dirk-thomas dirk-thomas force-pushed the dirk-thomas/setup-performance branch 2 times, most recently from adfd058 to b33a08d Compare August 23, 2019 17:00
@dirk-thomas dirk-thomas added review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Aug 23, 2019
Copy link
Copy Markdown
Contributor

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

A few minor comments.

@dirk-thomas dirk-thomas force-pushed the dirk-thomas/setup-performance branch from cb53896 to 8fc78e3 Compare August 26, 2019 21:31
@dirk-thomas dirk-thomas merged commit d60bebc into master Aug 26, 2019
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/setup-performance branch August 26, 2019 21:38
@dirk-thomas dirk-thomas added this to the 0.3.24 milestone Aug 26, 2019
seanyen added a commit to seanyen/colcon-core that referenced this pull request Sep 6, 2019
It seems to be a regression after colcon#209, where it removed enabledelayedexpansion but forget to change the delay expansion usage back.
dirk-thomas pushed a commit that referenced this pull request Sep 6, 2019
It seems to be a regression after #209, where it removed enabledelayedexpansion but forget to change the delay expansion usage back.
jacobperron added a commit to jacobperron/ament_java that referenced this pull request Oct 17, 2019
For more information about the introduction of .dsv files, see

- colcon/colcon-core#209
- ament/ament_package#89

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request review Waiting for review (Kanban column)

Development

Successfully merging this pull request may close these issues.

3 participants