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

Initial OpenEmbedded support for rosdep #673

Merged

Conversation

andre-rosa
Copy link
Contributor

@andre-rosa andre-rosa commented Mar 30, 2019

andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Mar 30, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <recipe>@<meta-layer>, where <recipe> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
@andre-rosa
Copy link
Contributor Author

Looks like the CI failure relates to the required dependencies. Please advise on the best way to proceed.

src/rosdep2/platforms/oe.py Outdated Show resolved Hide resolved
src/rosdep2/platforms/oe.py Outdated Show resolved Hide resolved
andre-rosa added a commit to andre-rosa/rospkg that referenced this pull request Apr 2, 2019
@andre-rosa andre-rosa force-pushed the initial_openembedded_support branch from 8c903a8 to 7534e19 Compare April 2, 2019 01:08
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 2, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <recipe>@<meta-layer>, where <recipe> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
@andre-rosa andre-rosa force-pushed the initial_openembedded_support branch from 7534e19 to 1339d8b Compare April 2, 2019 17:13
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 3, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
@andre-rosa andre-rosa force-pushed the initial_openembedded_support branch from 1339d8b to 6bf9b03 Compare April 3, 2019 17:37
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 3, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 5, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
dirk-thomas pushed a commit to ros-infrastructure/rospkg that referenced this pull request Apr 11, 2019
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 11, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
@dirk-thomas
Copy link
Member

rospkg 1.1.8 has been released.

This needs an updated version dependency on that rospkg version (in the setup.py as well as stdeb.cfg) since it requires the new API introduced in ros-infrastructure/rospkg#166.

@andre-rosa andre-rosa force-pushed the initial_openembedded_support branch from 6bf9b03 to b4c9884 Compare April 11, 2019 16:43
@andre-rosa
Copy link
Contributor Author

rospkg 1.1.8 has been released.

This needs an updated version dependency on that rospkg version (in the setup.py as well as stdeb.cfg) since it requires the new API introduced in ros-infrastructure/rospkg#166.

Thank you, @dirk-thomas ! I updated rospkg >= 1.1.8 dependency.

@andre-rosa andre-rosa force-pushed the initial_openembedded_support branch from b4c9884 to 24c3859 Compare April 11, 2019 16:56
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 11, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
@tfoote
Copy link
Member

tfoote commented Apr 11, 2019

This is failing CI due to the yaml_load deprecation. It's fixed in a follow up commit on this PR: c7a76ef

I think that's reasonable to land soon and then this will work.

@andre-rosa andre-rosa force-pushed the initial_openembedded_support branch from 24c3859 to 54c8d70 Compare April 11, 2019 22:15
@codecov-io
Copy link

codecov-io commented Apr 11, 2019

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #673   +/-   ##
=========================================
  Coverage          ?   75.86%           
=========================================
  Files             ?       32           
  Lines             ?     3016           
  Branches          ?        0           
=========================================
  Hits              ?     2288           
  Misses            ?      728           
  Partials          ?        0
Impacted Files Coverage Δ
src/rosdep2/__init__.py 78.18% <100%> (ø)
src/rosdep2/platforms/openembedded.py 78.26% <78.26%> (ø)

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 81e72cb...b8fe763. Read the comment docs.

@andre-rosa
Copy link
Contributor Author

andre-rosa commented Apr 11, 2019

This is failing CI due to the yaml_load deprecation. It's fixed in a follow up commit on this PR: c7a76ef

I think that's reasonable to land soon and then this will work.

Cool! I rebased it on top of #675.

Copy link
Member

@tfoote tfoote left a comment

Choose a reason for hiding this comment

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

Overall it looks fine. However for future users and developers some pointers to the fact that these functions are not fully impelemented will be important to help people understand what's happening as well as let people know what needs to be implemented to reach full expected functionality.

It would probably be worth putting a comment in the doc block too about these being stubs at the moment, not full implementations.

src/rosdep2/platforms/openembedded.py Outdated Show resolved Hide resolved
src/rosdep2/platforms/openembedded.py Outdated Show resolved Hide resolved
  * Requires related changes in rospkg 1.1.8 and rosdistro
    ros/rosdistro#20763
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
@andre-rosa andre-rosa force-pushed the initial_openembedded_support branch from 54c8d70 to d66183d Compare April 14, 2019 23:24
@andre-rosa
Copy link
Contributor Author

Overall it looks fine. However, for future users and developers, some pointers to the fact that these functions are not fully implemented will be important to help people understand what's happening as well as let people know what needs to be implemented to reach full expected functionality.

It would probably be worth putting a comment in the doc block too about these being stubs at the moment, not full implementations.

Agree, thanks. I added raising NotImplementedError and left comments for the unimplemented stubs.

andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 14, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 19, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 19, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 19, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 20, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 22, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 22, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 25, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 25, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 25, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 26, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
@allenh1
Copy link
Contributor

allenh1 commented Apr 29, 2019

@tfoote Is this one ready to be merged?

@tfoote
Copy link
Member

tfoote commented Apr 30, 2019

Yes, it's waiting for @wjwwood who's top priority is the Dashing API freeze this week.

andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 30, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 30, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 30, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 30, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 30, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request Apr 30, 2019
  * Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
tfoote pushed a commit to ros/rosdistro that referenced this pull request May 2, 2019
* Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
andre-rosa added a commit to andre-rosa/rosdistro that referenced this pull request May 3, 2019
* Requires related changes in rospkg, rosdep
    ros-infrastructure/rospkg#166
    ros-infrastructure/rosdep#673
  * Let us map the generic system dependency name into a recipe name
    available from OE layer index at http://layers.openembedded.org
  * Mapping is based on PACKAGE_ARGUMENT free form format of
    <package>@<meta-layer>, where <package> resides in the OE <meta-layer>
  * Please see the proposal below:
    https://discourse.ros.org/t/a-proposal-for-a-superflore-oe-recipe-generation-scheme/8401
@tfoote tfoote merged commit 15ed091 into ros-infrastructure:master May 6, 2019
@andre-rosa andre-rosa deleted the initial_openembedded_support branch May 6, 2019 20:34
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.

5 participants