Closed emcfarlane closed 2 weeks ago
since the docs imply that it should not be relied upon, but we definitely do in these cases
The docs definitely should be tightened up, but just a note that they said its structure should not be relied upon, not that it shouldn't be relied upon as a whole. However, we should document that it can be used as a human-readable identifier of the Module.
This PR adds the flag
--exclude-unnamed
forpush
. Onpush
, this flag will allow for unnamed modules to be present in thebuf.yaml
config. Modules are filtered by name before pushing to the remote. Local only modules, modules without a name, are excluded. All dependencies for a named module must have a valid name.As an example the following config will work with
buf push --exclude-unnamed
as long as the modulefoo
does not depend onbar
: