You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: clarify that .spec.ignore extends defaults rather than overriding
Both the v1 API godoc and the v1 spec docs say that .spec.ignore
'overrides' the default exclusion list, but the controller appends
spec.ignore to the default sourceignore patterns rather than replacing
them (see e.g. internal/controller/gitrepository_controller.go:887,
ocirepository_controller.go:1163, bucket_controller.go:708). Setting
spec.ignore: '.git/' therefore still drops the rest of the default
exclusions (.gitignore, .gitmodules, .gitattributes), which is
'extend' semantics, not 'override'.
Update the API godoc comments, regenerated docs/api/v1/source.md, and
the prose in docs/spec/v1/{gitrepositories,buckets,ocirepositories}.md
to say 'extends' instead of 'overrides'. No behaviour change.
Fixes#429
Signed-off-by: alliasgher <alliasgher123@gmail.com>
0 commit comments