ni / ni/measurement-plugin-python
Support regenerating existing projects
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 21
- Forks
- 20
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 3
Description
Problem to Solve
ni-measurementlink-generator is currently a one-time process: you run it, it generates code, you customize the code, and you check the code into version control.
When NI makes changes to the codegen templates, the process for updating existing projects is to generate a new project and manually copy the updated output.
Proposed Solution
The copier package supports regenerating existing projects from an updated template based on an answers file. NI uses copier for internal project templates. We should consider using it for ni-measurementlink-generator as well.
Cc: @mshafer-NI
AB#2435177
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ni-measurementlink-generator entry point and its template and answers-file handling. Read the copier documentation and compare the current generation flow with the proposed regeneration workflow. Done means existing projects can be regenerated from updated templates while retaining their project-specific customizations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100