• Vitaly Lipatov's avatar
    rpmgs: use only first root go.mod for Go vendoring, disable workspace · 0391f853
    Vitaly Lipatov authored
    Find the first go.mod that is not in e2e/test/tests/docs subdirectory.
    Check ./go.mod first (flat tarball extraction puts go.mod at predownloaded root).
    Use GOWORK=off to prevent Go from discovering secondary go.mod files.
    Handle vendor output path correctly for root vs subdirectory go.mod.
    0391f853
rpmgs 38 KB