2024-05-10 12:42:43 -07:00
|
|
|
# Configure automatic updates for ebuilds.
|
|
|
|
app-admin/1password:
|
|
|
|
resolver: apt
|
|
|
|
options:
|
|
|
|
repository: "deb https://downloads.1password.com/linux/debian/amd64 stable main"
|
|
|
|
package: 1password
|
2024-05-15 17:35:36 -07:00
|
|
|
app-admin/google-cloud-cli-bin:
|
|
|
|
resolver: apt
|
|
|
|
options:
|
|
|
|
repository: "deb https://packages.cloud.google.com/apt cloud-sdk main"
|
|
|
|
package: google-cloud-cli
|
2024-05-10 12:42:43 -07:00
|
|
|
app-admin/op-cli-bin:
|
|
|
|
resolver: apt
|
|
|
|
options:
|
|
|
|
repository: "deb https://downloads.1password.com/linux/debian/amd64 stable main"
|
|
|
|
package: 1password-cli
|
|
|
|
dev-util/mise:
|
|
|
|
resolver: git
|
|
|
|
options:
|
2024-06-08 14:57:49 -07:00
|
|
|
disable_semver: true
|
2024-05-10 12:42:43 -07:00
|
|
|
url: https://github.com/jdx/mise
|
|
|
|
|
|
|
|
# We have to regenerate the ebuild to get new crates and licenses to
|
|
|
|
# be reflected, so we have to have custom steps.
|
|
|
|
steps:
|
|
|
|
- checkout: https://github.com/jdx/mise
|
|
|
|
- original_ebuild: mise.ebuild
|
|
|
|
- command: pycargoebuild -i mise.ebuild
|
|
|
|
- ebuild: mise.ebuild
|
|
|
|
net-im/armcord:
|
|
|
|
resolver: git
|
|
|
|
options:
|
|
|
|
url: https://github.com/ArmCord/ArmCord
|
|
|
|
net-vpn/tailscale:
|
|
|
|
resolver: git
|
|
|
|
options:
|
|
|
|
url: https://github.com/tailscale/tailscale
|
|
|
|
|
|
|
|
# We have to generate a Go dependency archive and upload it to a
|
|
|
|
# stable location, so we do that during this process.
|
|
|
|
steps:
|
|
|
|
- checkout: https://github.com/tailscale/tailscale
|
|
|
|
- original_ebuild: new.ebuild
|
|
|
|
- command: |-
|
|
|
|
set -euxo pipefail
|
|
|
|
|
|
|
|
GO_VERSION=$(grep "^go" go.mod | awk '{ print $2 }' | awk -F '.' '{ print $1"."$2}')
|
|
|
|
mise use -g golang@"${GO_VERSION}"
|
|
|
|
|
|
|
|
# Create the dependency tar.
|
|
|
|
GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw
|
2024-06-19 22:01:02 -07:00
|
|
|
XZ_OPT=-e9T0 tar cJf deps.tar.xz go-mod
|
2024-05-10 12:42:43 -07:00
|
|
|
|
|
|
|
# Get the shell variables and rewrite the ebuild to contain
|
|
|
|
# them.
|
|
|
|
eval "$(./build_dist.sh shellvars)"
|
|
|
|
sed -i 's/VERSION_MINOR=".*"/VERSION_MINOR="'"${VERSION_MINOR}"'"/' new.ebuild
|
|
|
|
sed -i 's/VERSION_SHORT=".*"/VERSION_SHORT="'"${VERSION_SHORT}"'"/' new.ebuild
|
|
|
|
sed -i 's/VERSION_LONG=".*"/VERSION_LONG="'"${VERSION_LONG}"'"/' new.ebuild
|
|
|
|
sed -i 's/VERSION_GIT_HASH=".*"/VERSION_GIT_HASH="'"${VERSION_GIT_HASH}"'"/' new.ebuild
|
|
|
|
|
2024-05-31 21:13:50 -07:00
|
|
|
sed -i 's|dev-lang\/go-.*|dev-lang\/go-'"${GO_VERSION}"'"|' new.ebuild
|
|
|
|
- upload_artifact: deps.tar.xz
|
|
|
|
- ebuild: new.ebuild
|
|
|
|
app-admin/chezmoi:
|
|
|
|
resolver: git
|
|
|
|
options:
|
|
|
|
url: https://github.com/twpayne/chezmoi
|
|
|
|
|
|
|
|
# We have to generate a Go dependency archive and upload it to a
|
|
|
|
# stable location, so we do that during this process.
|
|
|
|
steps:
|
|
|
|
- checkout: https://github.com/twpayne/chezmoi
|
|
|
|
- original_ebuild: new.ebuild
|
|
|
|
- command: |-
|
|
|
|
set -euxo pipefail
|
|
|
|
|
|
|
|
GO_VERSION=$(grep "^go" go.mod | awk '{ print $2 }' | awk -F '.' '{ print $1"."$2}')
|
|
|
|
mise use -g golang@"${GO_VERSION}"
|
|
|
|
|
|
|
|
# Create the dependency tar.
|
|
|
|
GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw
|
2024-06-19 22:01:02 -07:00
|
|
|
XZ_OPT=-e9T0 tar cJf deps.tar.xz go-mod
|
2024-05-31 21:13:50 -07:00
|
|
|
|
|
|
|
# Get the shell variables and rewrite the ebuild to contain
|
|
|
|
# them.
|
|
|
|
VERSION_GIT_HASH=$(go run assets/scripts/generate-commit.go)
|
|
|
|
sed -i 's/VERSION_GIT_HASH=".*"/VERSION_GIT_HASH="'"${VERSION_GIT_HASH}"'"/' new.ebuild
|
|
|
|
|
|
|
|
sed -i 's|dev-lang\/go-.*|dev-lang\/go-'"${GO_VERSION}"'"|' new.ebuild
|
2024-05-10 12:42:43 -07:00
|
|
|
- upload_artifact: deps.tar.xz
|
|
|
|
- ebuild: new.ebuild
|
2024-06-06 16:25:26 -07:00
|
|
|
|
|
|
|
dev-util/glab:
|
|
|
|
resolver: git
|
|
|
|
options:
|
|
|
|
url: https://gitlab.com/gitlab-org/cli.git
|
|
|
|
|
|
|
|
# We have to generate a Go dependency archive and upload it to a
|
|
|
|
# stable location, so we do that during this process.
|
|
|
|
steps:
|
|
|
|
- checkout: https://gitlab.com/gitlab-org/cli
|
|
|
|
- original_ebuild: new.ebuild
|
|
|
|
- command: |-
|
|
|
|
set -euxo pipefail
|
|
|
|
|
|
|
|
GO_VERSION=$(grep "^go" go.mod | awk '{ print $2 }' | awk -F '.' '{ print $1"."$2}')
|
|
|
|
mise use -g golang@"${GO_VERSION}"
|
|
|
|
|
|
|
|
# Create the dependency tar.
|
|
|
|
GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw
|
2024-06-19 22:01:02 -07:00
|
|
|
XZ_OPT=-e9T0 tar cJf deps.tar.xz go-mod
|
2024-06-06 16:25:26 -07:00
|
|
|
|
|
|
|
sed -i 's|dev-lang\/go-.*|dev-lang\/go-'"${GO_VERSION}"'"|' new.ebuild
|
|
|
|
- upload_artifact: deps.tar.xz
|
|
|
|
- ebuild: new.ebuild
|
2024-06-08 14:57:49 -07:00
|
|
|
|
|
|
|
dev-util/doppler:
|
|
|
|
resolver: git
|
|
|
|
options:
|
|
|
|
url: https://github.com/DopplerHQ/cli
|
|
|
|
|
|
|
|
# We have to generate a Go dependency archive and upload it to a
|
|
|
|
# stable location, so we do that during this process.
|
|
|
|
steps:
|
|
|
|
- checkout: https://github.com/DopplerHQ/cli
|
|
|
|
- original_ebuild: new.ebuild
|
|
|
|
- command: |-
|
|
|
|
set -euxo pipefail
|
|
|
|
|
|
|
|
GO_VERSION=$(grep "^go" go.mod | awk '{ print $2 }' | awk -F '.' '{ print $1"."$2}')
|
|
|
|
mise use -g golang@"${GO_VERSION}"
|
|
|
|
|
|
|
|
# Create the dependency tar.
|
|
|
|
GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw
|
2024-06-19 22:01:02 -07:00
|
|
|
XZ_OPT=-e9T0 tar cJf deps.tar.xz go-mod
|
2024-06-08 14:57:49 -07:00
|
|
|
|
|
|
|
sed -i 's|dev-lang\/go-.*|dev-lang\/go-'"${GO_VERSION}"'"|' new.ebuild
|
|
|
|
- upload_artifact: deps.tar.xz
|
|
|
|
- ebuild: new.ebuild
|