v2
github.com/dmgk/modules2tuple/v2
go get github.com/dmgk/modules2tuple/v2
v2

github.com/dmgk/modules2tuple/v2

Generate GH_TUPLE/GL_TUPLE from modules.txt

by Dmitri Goutnik

v2.2.3 (see all)License:BSD-2-Clause
go get github.com/dmgk/modules2tuple/v2
Readme

modules2tuple is a helper tool for generating GH_TUPLE and GL_TUPLE from vendor/modules.txt

Build Status

Installation

As a FreeBSD binary package:

pkg install modules2tuple

or from ports:

make -C /usr/ports/devel/modules2tuple install clean

To install latest dev version directly from GitHub:

go get github.com/dmgk/modules2tuple/v2

Usage

modules2tuple [options] modules.txt

Options:
    -offline  disable all network access (env M2T_OFFLINE, default false)
    -debug    print debug info (env M2T_DEBUG, default false)
    -v        show version

Usage:
    Vendor package dependencies and then run modules2tuple with vendor/modules.txt:

    $ go mod vendor
    $ modules2tuple vendor/modules.txt

When running in offline mode:
    - mirrors are looked up using static list and some may not be resolved
    - milti-module repos and version suffixes ("/v2") are not automatically handled
    - Github tags for modules ("v1.2.3" vs "api/v1.2.3") are not automatically resolved
    - Gitlab commit IDs are not resolved to the full 40-char IDs

GitHub Stars

11

LAST COMMIT

1yr ago

MAINTAINERS

0

CONTRIBUTORS

5

OPEN ISSUES

3

OPEN PRs

1
VersionTagPublished
v2.2.3
1yr ago
No alternatives found
No tutorials found
Add a tutorial