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

Rqt dotgraph #40169

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Rqt dotgraph #40169

merged 3 commits into from
Mar 26, 2024

Conversation

tdenewiler
Copy link
Contributor

Please Add This Package to be indexed in the rosdistro.

  • rolling
  • humble
  • iron

The source is here:

https://github.com/niwcpac/rqt_dotgraph

Checks

  • All packages have a declared license in the package.xml
  • This repository has a LICENSE file
  • This package is expected to build on the submitted rosdistro

@github-actions github-actions bot added humble Issue/PR is for the ROS 2 Humble distribution iron Issue/PR is for the ROS 2 Iron distribution rolling Issue/PR is for the ROS 2 Rolling distribution labels Mar 10, 2024
@quarkytale
Copy link
Contributor

New package review checklist

  • At least one of the following must be present
    • Top level license file:
    • Per package license files:
  • License is OSI-approved:
  • License correctly listed in package.xmls
  • Public source repo:
  • Source repository contains ROS packages
  • Each package meets REP-144 naming conventions

@tdenewiler The CC0 license is not OSI approved, please check the list and consider changing the license for the package to be indexed.

@quarkytale quarkytale added held for sync Issue/PR has been held because the distribution is in a sync hold changes requested Maintainers have asked for changes to the pull request labels Mar 11, 2024
@tdenewiler
Copy link
Contributor Author

We developed the code as part of official duties working for the US Government. We are not allowed to copyright that work. The best we can do is dedicate the work to the public domain. That is why we use the CC0 license.

@quarkytale
Copy link
Contributor

@clalancette please advise!

@clalancette
Copy link
Contributor

So I took a look at the package in detail.

First of all, we can accept a CC0 license. However, it appears that not all of the code in the package is CC0. In particular, there is this line in the README: To visualize the DOT graphs, this module includes a version of [xdot_qt.py](https://github.com/jrfonseca/xdot.py) forked from [ROSPlan](https://github.com/KCL-Planning/ROSPlan/blob/master/rosplan_rqt/src/rosplan_rqt/xdot_qt.py) and released under [LGPLv3](https://www.gnu.org/licenses/lgpl-3.0.html). The forked version in this package has been modified and the changes to it are released under the LGPLv3..

The best way to handle this would be to submit the modifications to upstream rosplan_rqt, and then take a dependency on rosplan_rqt. With that in place, the question of license in this repository would be restricted to CC0, which we can accept.

If that is not possible, then at the very least the package.xml here needs to add in a second <license> tag for LGPLv3, reflecting the fact that there are multiple licenses for this repository. It would also be best to add a comment next to the license tag saying which files are covered by which license (for CC0 you can just say "all other files" or something like that).

@tdenewiler
Copy link
Contributor Author

I went with the second license approach with comments. PRs in progress for rqt_dotgraph repo.

I really like your idea of adding a dependency on rosplan_rqt, but that package is not released. A request was made in 2019 but no action was taken: KCL-Planning/ROSPlan#201.

@audrow audrow removed the held for sync Issue/PR has been held because the distribution is in a sync hold label Mar 14, 2024
@tdenewiler
Copy link
Contributor Author

I see there is still a "changes requested" label. I have made requested changes to the license in package.xml upstream. Are there any other desired changes?

@sloretz sloretz removed the changes requested Maintainers have asked for changes to the pull request label Mar 26, 2024
Copy link
Contributor

@sloretz sloretz left a comment

Choose a reason for hiding this comment

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

  • At least one of the following must be present
    • Top level license file:
    • Per package license files
  • License is OSI-approved: acceptable Rqt dotgraph #40169 (comment)
  • License correctly listed in package.xmls
  • Public source repo:
  • Source repository contains ROS packages
  • Each package meets REP-144 naming conventions
Package name details
$ find . -name "package.xml" -exec grep --color=auto -e "<name>" "{}" ";"
  <name>rqt_dotgraph</name>
License details
$ find . -name "package.xml" -exec grep --color=auto -e "<license[^>]*>" "{}" "+"
  <license>LGPLv3</license> <!-- For rqt_dotgraph/xdot_qt.py only. -->
  <license>CC0</license> <!-- For all other files. -->

@sloretz sloretz merged commit 0fe7a7f into ros:master Mar 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
humble Issue/PR is for the ROS 2 Humble distribution iron Issue/PR is for the ROS 2 Iron distribution rolling Issue/PR is for the ROS 2 Rolling distribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants