Feature request/discussion: --omit-deprecated

Open
#300 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, python
Domain
build-system

Research direction

Start by reading the Nunavut option definitions and the code-generation paths that select DSDL types; the issue does not name specific files or tests. Determine how deprecated types are represented and where generation includes them, then assess what behavior the option should have across supported languages. Done means the proposed option consistently excludes @deprecated types from generated output.

Written by the indexing model from the issue text.

Description

feature

Sometimes, when performing maintenance on a DSDL-dependent codebase, you want to exclude (perhaps temporarily) all deprecated data types from the build (which may or not may not fail as a result of this). To support this use case, we could add a new option to Nunavut that makes it ignore all @deprecated types. This is mostly useful with languages that have no built-in support for deprecation, like C.

@thirtytwobits what do you think?

Dominant language
Python
Stars
48
Forks
26
Avg merge
1d 18h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenCyphal/nunavut

All issues in OpenCyphal/nunavut

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.