Skip to content

Move generated binapi #82

Open
Open
@ondrej-fabry

Description

@ondrej-fabry

This issue tracks progress for moving the generated Go bindings located currently in binapi directory outside of the main module.

List of tasks related to this:

  • remove all dependency on binapi packages from the GoVPP client code

Considering these approaches:

  1. move the binapi folder under examples and make examples a Go sub-module
  • this way we still keep the generated code for the purpose of comparing changes to generator
  • allows examples to still use the generated code for the usage demonstration
  • will require examples to depend on main module (go.fd.io/govpp) - specific version or local replace
  1. remove the binapi folder from master branch and use dedicated branch(es) containing only the generated code
  • this way we could generated binapi code for multiple VPP versions, either separate branches for each version: binapi/2202, binapi/2210.. or single branch binapi with directory for each VPP version

Metadata

Metadata

Assignees

No one assigned

    Labels

    wip[status] In Progress

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions