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

Improve code generation #143

Merged
merged 3 commits into from
Feb 24, 2023
Merged

Improve code generation #143

merged 3 commits into from
Feb 24, 2023

Conversation

v0ctor
Copy link
Collaborator

@v0ctor v0ctor commented Jan 15, 2023

This PR adds a containerized development environment and a new code generation workflow. Both allow to deterministically generate the library for any Netbox version by running a single command on any UNIX platform that supports Docker with no need to install additional dependencies.

Schema and code fixes are applied now by pre-generation and post-generation hooks, respectively. This approach makes it possible to automatically apply patches to fix known issues on every code generation.

@v0ctor v0ctor mentioned this pull request Jan 15, 2023
@v0ctor v0ctor merged commit 9873978 into netbox-community:master Feb 24, 2023
@v0ctor v0ctor deleted the feature/improve-generation branch February 24, 2023 22:59
@v0ctor v0ctor mentioned this pull request Feb 24, 2023
4 tasks
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.

1 participant