Skip to content

Support updating buf.lock #17802

Description

@nightlyone

What would you like Renovate to be able to do?

I would like to be able to manage the buf.lock .

buf is a new tool and ecosystem registry to manage protobuf dependencies and is really taking off.

versions apparently get deleted from buf build after a certain time, so updating is important.

If you have any ideas on how this should be implemented, please tell us here.

https://docs.buf.build/configuration/v1/buf-lock (and surrounding documentation) describes the process that needs to be done from a users perspective.

It boils down to

  • parsing an versioned buf.yaml
  • extracting the module names from the list at the deps property
  • calling buf mod update to update all or buf mod --only <module> to update only one

optional improvement on top that can improve the user experience, but should really be only options

  • verify effects using buf generate which re-generate code from all *.proto files and checks code generation
  • verify effects using buf build which uses all *.proto files, including modules updated, and bundles that into a buf image

Is this a feature you are interested in implementing yourself?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Datasource

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions