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

Change how platform packages without a mapping in rosdep/*.yaml are handled for OpenEmbedded #223

Closed
herb-kuta-lge opened this issue Aug 15, 2019 · 3 comments
Assignees
Milestone

Comments

@herb-kuta-lge
Copy link
Contributor

Change how platform packages without a mapping in rosdep/*.yaml are handled for OpenEmbedded so that it's possible to specify all of the mappings that bitbake requires in order to parse the metadata for a particular recipe without having to rerun superflore multiple times.

@herb-kuta-lge herb-kuta-lge self-assigned this Aug 15, 2019
@herb-kuta-lge
Copy link
Contributor Author

Do this by having superflore use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value and adding assignments of the form ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>" to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc. These assignments are then overridden in conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc until the rosdep/*.yaml are updated and superflore rerun.

superflore will no longer use the OpenEmbedded Layer Index to guess mappings.

@herb-kuta-lge
Copy link
Contributor Author

This change has been incorporated into revision 40 of the Superflore OE Recipe Generation Scheme wiki page.

herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Sep 4, 2019
…s-infrastructure#223)

- Add -native to ROS_SUPERFLORE_GENERATED_PLATFORM_PACKAGE_DEPENDENCIES.

- yoctoRecipe.rosdep_cache is now only used to generate rosdep-resolved.yaml .

- Also rename generate_rosdistro_conf() -> generate_ros_distro_inc()
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 13, 2019
…s-infrastructure#223)

- Add -native to ROS_SUPERFLORE_GENERATED_PLATFORM_PACKAGE_DEPENDENCIES.

- yoctoRecipe.rosdep_cache is now only used to generate rosdep-resolved.yaml .

- Also rename generate_rosdistro_conf() -> generate_ros_distro_inc()
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that yoctoRecipe.rosdep_cache
  is now only used to generate rosdep-resolved.yaml .

- Also rename generate_rosdistro_conf() -> generate_ros_distro_inc()
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 15, 2019
…nfrastructure#223)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 19, 2019
- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.

- This commit resolves issue ros-infrastructure#223.
herb-kuta-lge added a commit to herb-kuta-lge/superflore that referenced this issue Nov 19, 2019
- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.

- This commit resolves issue ros-infrastructure#223.
shr-project pushed a commit to shr-project/superflore that referenced this issue Dec 3, 2019
- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.

- This commit resolves issue ros-infrastructure#223.

Signed-off-by: Martin Jansa <[email protected]>
shr-project pushed a commit to shr-project/superflore that referenced this issue Dec 3, 2019
- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.

- This commit resolves issue ros-infrastructure#223.

Signed-off-by: Martin Jansa <[email protected]>
@allenh1 allenh1 added this to the Version 0.3.1 milestone Dec 3, 2019
allenh1 pushed a commit that referenced this issue Dec 3, 2019
- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.

- This commit resolves issue #223.

Signed-off-by: Martin Jansa <[email protected]>
@shr-project
Copy link
Contributor

Fixed by #232

@allenh1 allenh1 closed this as completed Dec 5, 2019
zffgithub pushed a commit to zffgithub/superflore that referenced this issue Apr 11, 2023
…nfrastructure#232)

- Use ${ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG>} as the mapped value
  when <PLATFORM_PKG> isn't resolved by entries in rosdep/*.yaml and add
  assignments of the form

    ROS_UNRESOLVED_PLATFORM_PKG_<PLATFORM_PKG> = "UNRESOLVED-<PLATFORM_PKG>"

  to conf/ros-distro/include/<ROS_DISTRO>/generated-ros-distro.inc .
  These assignments are then manually overridden in
  conf/ros-distro/include/<ROS_DISTRO>/ros-distro.inc as the mappings
  are determined. This make possible rapid iteration because superflore
  need not be rerun until rosdep/*.yaml are updated with all of the new
  mappings.

- Drop using the OpenEmbedded Layer Index to guess the mapping of an
  unresolved platform package. It would often guess wrong, requiring a
  rerun of superflore. This change means that there is no longer a
  dependency on "bs4" and that yoctoRecipe.rosdep_cache is now only
  used to generate rosdep-resolved.yaml .

- Also, rename generate_rosdistro_conf() to generate_ros_distro_inc() so
  that it corresponds to the name of the file it generates.

- This commit resolves issue ros-infrastructure#223.

Signed-off-by: Martin Jansa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants