Skip to content

Add ignore mechanisms for discovery via env, package.xml, and XML marker#97

Merged
mgonzs13 merged 1 commit into
uleroboticsgroup:mainfrom
Maik13579:ignore_discovery
Apr 6, 2026
Merged

Add ignore mechanisms for discovery via env, package.xml, and XML marker#97
mgonzs13 merged 1 commit into
uleroboticsgroup:mainfrom
Maik13579:ignore_discovery

Conversation

@Maik13579
Copy link
Copy Markdown
Contributor

This adds three opt-out mechanisms for discovery.

Packages can now be ignored through the YASMIN_DISCOVERY_IGNORE_PACKAGES environment variable, through a flag in package.xml, or per state machine XML file with a special ignore comment on the first non-empty line.

The env-based ignore list is also included in the cache state so discovery results are invalidated correctly when the ignore list changes.

export YASMIN_DISCOVERY_IGNORE_PACKAGES="pkg_a,pkg_b"
<export>
  <yasmin_plugins_manager ignore="true"/>
</export>
<!-- YASMIN_IGNORE_DISCOVERY -->
<state_machine>
  ...
</state_machine>

I added the ignore tag to yasmin_factory so that the test state machines are ignored.

@Maik13579 Maik13579 marked this pull request as ready for review April 3, 2026 18:38
@mgonzs13 mgonzs13 merged commit 313254c into uleroboticsgroup:main Apr 6, 2026
9 checks passed
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.

2 participants