[Bug 256349] Mk/Uses/go.mk: Add GO_PSEUDOVERSION to use pseudoversions to download Golang modules

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Jun 2021 19:16:14 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256349

            Bug ID: 256349
           Summary: Mk/Uses/go.mk: Add GO_PSEUDOVERSION to use
                    pseudoversions to download Golang modules
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: yuri_at_freebsd.org

Created attachment 225473
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225473&action=edit
GO_PSEUDOVERSION.patch

Sometimes Golang servers list packages with different versions compared to
versions projects are released with. Such versions are called pseudoversions.
[1]

URLs like this one:
> https://index.golang.org/index?limit=2000&since=2021-05-28T01:21:42.994935Z
can be used to retrieve the list of all Golang packages and versions as they
are listed on Golang servers.

==References==
[1] https://golang.org/ref/mod#pseudo-versions

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Jun 01 2021 - 19:16:14 UTC

Original text of this message