Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/debs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: debian packages (humble)
# and attaches the .debs, with the index apt reads, to that tag's GitHub
# release. The release is then an apt repository:
#
# echo "deb [trusted=yes] https://github.com/ePlanSys/eplansys/releases/download/v0.4.0 ./" |
# echo "deb [trusted=yes] https://github.com/ePlanSys/eplansys/releases/download/v0.4.1 ./" |
# sudo tee /etc/apt/sources.list.d/eplansys.list
# sudo apt update && sudo apt install ros-humble-eplansys
#
Expand All @@ -28,6 +28,9 @@ jobs:
- uses: actions/checkout@v4
with:
path: ws/src/eplansys
# The version check compares against the previous release tag, so
# the history and the tags have to be there.
fetch-depth: 0

- name: Install the packaging tools
run: |
Expand All @@ -38,6 +41,16 @@ jobs:
- name: Import the pinned sources
run: vcs import ws/src < ws/src/eplansys/dependency_repos.repos

# apt never upgrades a package to one of the same version, so a release
# that changed a package without a new version never reaches the users
# of the previous one. Refuse the tag rather than publish it.
- name: Check that every changed package has a new version
if: startsWith(github.ref, 'refs/tags/')
run: |
git config --global --add safe.directory "$PWD/ws/src/eplansys"
git config --global --add safe.directory "$PWD/ws/src/aletheia"
ws/src/eplansys/packaging/check-versions.sh "" "$PWD/ws/src"

- name: Build the packages
run: ws/src/eplansys/packaging/build-debs.sh ws debs

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Each release carries Debian packages for ROS 2 Humble on Ubuntu 22.04, and the
release itself is the apt repository:

```bash
echo "deb [trusted=yes] https://github.com/ePlanSys/eplansys/releases/download/v0.4.0 ./" |
echo "deb [trusted=yes] https://github.com/ePlanSys/eplansys/releases/download/v0.4.1 ./" |
sudo tee /etc/apt/sources.list.d/eplansys.list
sudo apt update
sudo apt install ros-humble-eplansys ros-humble-eplansys-demo
Expand All @@ -60,8 +60,8 @@ ros2 launch eplansys_demo survey_sites_launch.py
```

The PlanSys2 packages in it are this repository's fork, released under the
upstream names at 3.0.0, and replace the upstream 2.0.x packages when both are
available.
upstream names at 3.x (3.1.0 since 0.4.1), and replace the upstream 2.0.x
packages when both are available.

We want to invite you to contribute to this Open Source project!

Expand Down
2 changes: 1 addition & 1 deletion dependency_repos.repos
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repositories:
aletheia:
type: git
url: https://github.com/HanielUlises/del-planner.git
version: c349036b6998963a7a5b6a35b6096e71eeffbdea
version: 084f28067e40dc17e6da1980d84697cfc463b6b1
# The EPDDL grounder plansys2_epddl_grounder runs. It is a plain CMake
# project rather than a ROS package, so colcon builds it as one and installs
# the binary into <prefix>/bin, which puts `plank` on PATH once the workspace
Expand Down
14 changes: 14 additions & 0 deletions eplansys/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
Changelog for package eplansys
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.4.1 (2026-11-22)
------------------
* A re-release of 0.4.0 that apt can upgrade to. 0.3.0, 0.3.5 and 0.4.0 all
shipped the PlanSys2 fork at 3.0.0, eplansys_demo at 0.0.1 and del-planner
at 0.2.0, though their contents changed between them; apt never replaces a
package with one of the same version, so users of an earlier release kept
the old ones, including plansys2_msgs without the temporal fields under
epistemic packages built against them.
* The PlanSys2 fork is at 3.1.0, plansys2_tui_cli at 2.1.0, eplansys_demo at
0.4.1, and del-planner is pinned at its 0.3.0 release.
* The release workflow refuses a tag whose packages changed since the previous
release without a new version, or whose plansys2_msgs changed without the
packages built against it.

0.4.0 (2026-11-22)
------------------
* Temporal policies: actions overlap where their updates commute, and each
Expand Down
2 changes: 1 addition & 1 deletion eplansys/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>eplansys</name>
<version>0.4.0</version>
<version>0.4.1</version>

<description>
Epistemic planning and execution for ROS 2. Installs PlanSys2 and the
Expand Down
2 changes: 1 addition & 1 deletion eplansys_demo/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>eplansys_demo</name>
<version>0.0.1</version>
<version>0.4.1</version>
<description>
The corridor mission: two robots, a corridor nobody has looked down, and a
goal that no classical planner can state. Runs in one command, with no
Expand Down
4 changes: 2 additions & 2 deletions eplansys_docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
project = 'ePlanSys'
copyright = '2026, Haniel Ulises Vasquez Morales'
author = 'Haniel Ulises Vasquez Morales'
release = '0.4.0'
version = '0.4.0'
release = '0.4.1'
version = '0.4.1'

extensions = [
'sphinx.ext.graphviz',
Expand Down
5 changes: 3 additions & 2 deletions eplansys_docs/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ On Ubuntu 22.04 with ROS 2 Humble, each GitHub release is an apt repository:

.. code-block:: bash

echo "deb [trusted=yes] https://github.com/ePlanSys/eplansys/releases/download/v0.4.0 ./" |
echo "deb [trusted=yes] https://github.com/ePlanSys/eplansys/releases/download/v0.4.1 ./" |
sudo tee /etc/apt/sources.list.d/eplansys.list
sudo apt update
sudo apt install ros-humble-eplansys ros-humble-eplansys-demo
Expand All @@ -21,7 +21,8 @@ On Ubuntu 22.04 with ROS 2 Humble, each GitHub release is an apt repository:
(``ros-humble-aletheia``, built from del-planner) and the grounder
(``ros-humble-plank``) at the revisions the release pins. The PlanSys2
packages are this repository's fork, released under the upstream names at
version 3.0.0, and take precedence over the upstream 2.0.x packages.
version 3.x (3.1.0 since 0.4.1), and take precedence over the upstream 2.0.x
packages.
``.github/workflows/debs.yaml`` builds them with ``packaging/build-debs.sh``
when a release is tagged.

Expand Down
2 changes: 1 addition & 1 deletion packaging/build-debs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# installs every package it builds, since the next one builds against it.
#
# The PlanSys2 packages here are a fork, released under the upstream names at
# version 3.0.0. Upstream Humble ships 2.0.9, so apt prefers these once the
# version 3.x (3.1.0 since 0.4.1). Upstream Humble ships 2.0.9, so apt prefers these once the
# repository is added. cascade_lifecycle is built too, from the rolling-devel
# checkout the repos file pins: plansys2_executor links a target Humble's 1.1.0
# does not export, and at 2.0.6 it is preferred over it the same way. popf
Expand Down
91 changes: 91 additions & 0 deletions packaging/check-versions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
#!/usr/bin/env bash
# Refuses a release whose packages changed under an unchanged version.
#
# packaging/check-versions.sh [<previous-tag>] [<workspace-src-dir>]
#
# apt never replaces an installed package with one of the same version, so a
# release that ships changed contents under the version an earlier release
# used is one its users never receive. 0.3.0, 0.3.5 and 0.4.0 all shipped the
# PlanSys2 fork at 3.0.0, and users of the earlier ones kept the old
# plansys2_msgs under epistemic packages built against the new one.
#
# Three rules, checked against the previous release tag (the latest v* tag
# before HEAD unless one is given):
#
# 1. A package whose directory changed has a new version.
# 2. If plansys2_msgs changed, every package that depends on it has a new
# version too: it is rebuilt against a different message layout.
# 3. A pinned source whose pin moved has a new version in the package.xml
# it is built from: packaging/plank.package.xml for plank, and
# del-planner's own for aletheia, read from its checkout under the
# workspace src dir.
set -euo pipefail
cd "$(git rev-parse --show-toplevel)"

prev=${1:-}
if [ -z "$prev" ]; then
prev=$(git describe --tags --abbrev=0 --match 'v*' HEAD^ 2>/dev/null || true)
fi
src=${2:-}
if [ -z "$prev" ]; then
echo "no previous release tag; nothing to compare against"
exit 0
fi

version() { grep -oP '(?<=<version>)[^<]+' | head -1; }
fail=0

msgs_changed=0
git diff --quiet "$prev" HEAD -- plansys2_msgs || msgs_changed=1

while read -r xml; do
dir=$(dirname "$xml")
[ "$dir" = packaging ] && continue
old=$(git show "$prev:$xml" 2>/dev/null | version || true)
[ -n "$old" ] || continue # new since the previous release
new=$(version < "$xml")
[ "$new" = "$old" ] || continue
if ! git diff --quiet "$prev" HEAD -- "$dir"; then
echo "$dir changed since $prev but is still $new"
fail=1
elif [ "$msgs_changed" = 1 ] && [ "$dir" != plansys2_msgs ] &&
grep -qE '<(build_|exec_)?depend>plansys2_msgs</' "$xml"; then
echo "$dir depends on plansys2_msgs, which changed since $prev, but is still $new"
fail=1
fi
done < <(git ls-files '*package.xml' | grep -vE '(^|/)test/')

pin() {
git show "$1:dependency_repos.repos" |
awk -v repo="$2:" '$1 == repo { found = 1 } found && $1 == "version:" { print $2; exit }'
}

for repo in aletheia plank; do
before=$(pin "$prev" "$repo")
after=$(pin HEAD "$repo")
[ "$before" = "$after" ] && continue
case $repo in
plank)
old=$(git show "$prev:packaging/plank.package.xml" | version)
new=$(version < packaging/plank.package.xml)
;;
aletheia)
if [ -z "$src" ] || [ ! -d "$src/aletheia/.git" ]; then
echo "aletheia's pin moved since $prev; pass the workspace src dir to check its version"
fail=1
continue
fi
old=$(git -C "$src/aletheia" show "$before:package.xml" | version)
new=$(git -C "$src/aletheia" show "$after:package.xml" | version)
;;
esac
if [ "$old" = "$new" ]; then
echo "$repo's pin moved since $prev (${before:0:8} -> ${after:0:8}) but it is still $new"
fail=1
fi
done

if [ "$fail" = 0 ]; then
echo "versions OK against $prev"
fi
exit "$fail"
5 changes: 5 additions & 0 deletions plansys2/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package plansys2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

3.1.0 (2026-11-22)
------------------
* Rebuilt against plansys2_msgs 3.1.0, whose messages changed. No source
changes.

3.0.0 (2025-06-06)
------------------
* Merge pull request `#366 <https://github.com/PlanSys2/ros2_planning_system/issues/366>`_ from fmrico/add_exports
Expand Down
2 changes: 1 addition & 1 deletion plansys2/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>plansys2</name>
<version>3.0.0</version>
<version>3.1.0</version>

<description>ROS2 Planning System</description>

Expand Down
5 changes: 5 additions & 0 deletions plansys2_aletheia_plan_solver/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package plansys2_aletheia_plan_solver
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.4.1 (2026-11-22)
------------------
* Released with the PlanSys2 packages at 3.1.0, so that apt upgrades them
together. No source changes.

0.4.0 (2026-11-22)
------------------
* No changes.
Expand Down
2 changes: 1 addition & 1 deletion plansys2_aletheia_plan_solver/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>plansys2_aletheia_plan_solver</name>
<version>0.4.0</version>
<version>0.4.1</version>
<description>
Plan solver plugin that runs the Aletheia epistemic planner as an external
process, the way plansys2_popf_plan_solver runs POPF. The same planning is
Expand Down
4 changes: 4 additions & 0 deletions plansys2_bringup/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Changelog for package plansys2_bringup
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

3.1.0 (2026-11-22)
------------------
* The epistemic parameters file documents temporal and max_concurrency.

3.0.0 (2025-06-06)
------------------
* Revamp CMake and clean unused headers
Expand Down
2 changes: 1 addition & 1 deletion plansys2_bringup/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>plansys2_bringup</name>
<version>3.0.0</version>
<version>3.1.0</version>

<description>Bringup scripts and configurations for the ROS2 Planning System</description>

Expand Down
5 changes: 5 additions & 0 deletions plansys2_bt_actions/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package plansys2_bt_actions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

3.1.0 (2026-11-22)
------------------
* Rebuilt against plansys2_msgs 3.1.0, whose messages changed. No source
changes.

3.0.0 (2025-06-06)
------------------
* Modify export target. Rename metapackage
Expand Down
2 changes: 1 addition & 1 deletion plansys2_bt_actions/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>plansys2_bt_actions</name>
<version>3.0.0</version>
<version>3.1.0</version>

<description>This package contains the Problem Expert module for the ROS2 Planning System</description>

Expand Down
5 changes: 5 additions & 0 deletions plansys2_core/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package plansys2_core
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

3.1.0 (2026-11-22)
------------------
* Rebuilt against plansys2_msgs 3.1.0, whose messages changed. No source
changes.

3.0.0 (2025-06-06)
------------------
* Modify export target. Rename metapackage
Expand Down
2 changes: 1 addition & 1 deletion plansys2_core/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>plansys2_core</name>
<version>3.0.0</version>
<version>3.1.0</version>

<description>This package contains the PDDL-based core for the ROS2 Planning System</description>

Expand Down
5 changes: 5 additions & 0 deletions plansys2_domain_expert/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package plansys2_domain_expert
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

3.1.0 (2026-11-22)
------------------
* Rebuilt against plansys2_msgs 3.1.0, whose messages changed. No source
changes.

3.0.0 (2025-06-06)
------------------
* Modify export target. Rename metapackage
Expand Down
2 changes: 1 addition & 1 deletion plansys2_domain_expert/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>plansys2_domain_expert</name>
<version>3.0.0</version>
<version>3.1.0</version>

<description>This package contains the Domain Expert module for the ROS2 Planning System</description>

Expand Down
5 changes: 5 additions & 0 deletions plansys2_epddl_grounder/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package plansys2_epddl_grounder
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.4.1 (2026-11-22)
------------------
* Released with the PlanSys2 packages at 3.1.0, so that apt upgrades them
together. No source changes.

0.4.0 (2026-11-22)
------------------
* No changes.
Expand Down
2 changes: 1 addition & 1 deletion plansys2_epddl_grounder/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>plansys2_epddl_grounder</name>
<version>0.4.0</version>
<version>0.4.1</version>
<description>
The EPDDL front end: turns an EPDDL domain, problem and action-type
libraries into the grounded task JSON that plansys2_epistemic_planner and
Expand Down
5 changes: 5 additions & 0 deletions plansys2_epistemic_bt_builder/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package plansys2_epistemic_bt_builder
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.4.1 (2026-11-22)
------------------
* Released with the PlanSys2 packages at 3.1.0, so that apt upgrades them
together. No source changes.

0.4.0 (2026-11-22)
------------------
* A temporal Plan is built as an event-dispatched tree, without the parallel
Expand Down
Loading
Loading