From c11847e17a08cf5fcd922f869ecb301c3ad5bd5c Mon Sep 17 00:00:00 2001 From: jolheiser Date: Sun, 24 Jul 2022 23:30:57 -0500 Subject: [PATCH] Add gpm and gomodinit Signed-off-by: jolheiser --- pkgs/gomodinit.webman-pkg.yml | 33 +++++++++++++++++++++++++++++++++ pkgs/gpm.webman-pkg.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 pkgs/gomodinit.webman-pkg.yml create mode 100644 pkgs/gpm.webman-pkg.yml diff --git a/pkgs/gomodinit.webman-pkg.yml b/pkgs/gomodinit.webman-pkg.yml new file mode 100644 index 0000000..81edd92 --- /dev/null +++ b/pkgs/gomodinit.webman-pkg.yml @@ -0,0 +1,33 @@ +tagline: go mod init +about: | + gomodinit walks up the current dir path until it finds something vaguely resembling a URI (i.e. a path part with at least one '.') and constructs a "go mod init " call from it. + +git_user: jolheiser +git_repo: gomodinit +gitea_url: https://git.jojodev.com +info_url: https://git.jojodev.com/[GIT_USER]/[GIT_REPO] +releases_url: https://git.jojodev.com/[GIT_USER]/[GIT_REPO]/releases/ +source_url: https://git.jojodev.com/[GIT_USER]/[GIT_REPO]/ + +base_download_url: https://git.jojodev.com/[GIT_USER]/[GIT_REPO]/releases/download/v[VER]/ +filename_format: tmpl_[VER]_[OS]_[ARCH].[EXT] +version_format: v[VER] +latest_strategy: gitea-release + +os_map: + linux: + name: linux + ext: tar.gz + macos: + name: darwin + ext: tar.gz + win: + name: windows + ext: zip +arch_map: + amd64: x86_64 + "386": i386 + arm64: arm64 +ignore: + - os: macos + arch: "386" diff --git a/pkgs/gpm.webman-pkg.yml b/pkgs/gpm.webman-pkg.yml new file mode 100644 index 0000000..851820a --- /dev/null +++ b/pkgs/gpm.webman-pkg.yml @@ -0,0 +1,33 @@ +tagline: Go Package Mapping +about: | + gpm calls out to a configurable server to find a mapping from i.e. ff -> github.com/peterbourgon/ff/v3 + +git_user: jolheiser +git_repo: gpm +gitea_url: https://git.jojodev.com +info_url: https://git.jojodev.com/[GIT_USER]/[GIT_REPO] +releases_url: https://git.jojodev.com/[GIT_USER]/[GIT_REPO]/releases/ +source_url: https://git.jojodev.com/[GIT_USER]/[GIT_REPO]/ + +base_download_url: https://git.jojodev.com/[GIT_USER]/[GIT_REPO]/releases/download/v[VER]/ +filename_format: tmpl_[VER]_[OS]_[ARCH].[EXT] +version_format: v[VER] +latest_strategy: gitea-release + +os_map: + linux: + name: linux + ext: tar.gz + macos: + name: darwin + ext: tar.gz + win: + name: windows + ext: zip +arch_map: + amd64: x86_64 + "386": i386 + arm64: arm64 +ignore: + - os: macos + arch: "386"