bottlerocket-os/twoliter

Document using `bundle-modules = [ "go" ]` for Go packages that don't vendor dependencies

Offen

#501 geöffnet am 30.05.2023

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (43 Forks)auto 404
help wanted

Repository-Metriken

Stars
 (34 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4T 18h) (19 gemergte PRs in 30 T)

Beschreibung

What I'd like:

There currently isn't any good documentation on using bundle-modules = ["go"] for packages that are pulled in and don't vendor their own dependencies (like hotdog).

We should write up a snippet on using this system on the buildsys markdown so that package authors can reference it when building in new packages.

Any alternatives you've considered:

There is some documentation on this directly in the buildsys code:

https://github.com/bottlerocket-os/bottlerocket/blob/4b8a132fd34205408afb0683dd157f6856a50d13/tools/buildsys/src/manifest.rs#L36-L39

which was added as part of the initial feature add: https://github.com/bottlerocket-os/bottlerocket/pull/2378

But this should really be in the markdown docs itself since we can't expect package authors to read the buildsys code.

Contributor Guide