Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10402 metatools: move towards using dynamic artifacts for statically linked languages
  3. FL-10403

metatools: implement a golang dependencies packager using dynamic artifacts

Details

    • Sub-task
    • Status: In Progress
    • Normal
    • Resolution: Unresolved
    • None
    • normal impact.

    Description

      Instead of fetching every dependency of golang packages separately, we should move towards using dynamic artifacts for these purposes.

      A way we can achieve this is by using the following go command:

      GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw
      

      This command fetches all dependencies of a golang package, populating the golang module cache at the specified directory. That module cache is enough for golang to be able to resolve the dependencies offline.

      Attachments

        Issue Links

          Activity

            People

              invakid404 invakid404
              invakid404 invakid404
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: