[arch-commits] Commit in argocd/repos/community-x86_64 (4 files)
Daurnimator
daurnimator at gemini.archlinux.org
Fri Jul 8 01:04:08 UTC 2022
Date: Friday, July 8, 2022 @ 01:04:08
Author: daurnimator
Revision: 1248542
archrelease: copy trunk to community-x86_64
Added:
argocd/repos/community-x86_64/PKGBUILD
(from rev 1248541, argocd/trunk/PKGBUILD)
argocd/repos/community-x86_64/argo-ui.patch
(from rev 1248541, argocd/trunk/argo-ui.patch)
Deleted:
argocd/repos/community-x86_64/PKGBUILD
argocd/repos/community-x86_64/argo-ui.patch
---------------+
PKGBUILD | 152 ++++++++++++++++++++++++++++----------------------------
argo-ui.patch | 22 ++++----
2 files changed, 87 insertions(+), 87 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-08 01:03:40 UTC (rev 1248541)
+++ PKGBUILD 2022-07-08 01:04:08 UTC (rev 1248542)
@@ -1,76 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=argocd
-pkgver=2.4.3
-# find matching argo-ui commit via ui/yarn.lock
-# commit id also needs to be updated in argo-ui.patch
-_argoui_commit=5cc690ed53747374cb1b3c1c609aff1a23255a70
-pkgrel=1
-pkgdesc="Declarative continuous deployment for Kubernetes"
-arch=('x86_64')
-url='https://argo-cd.readthedocs.io/en/stable/'
-license=('Apache')
-makedepends=('go' 'python' 'yarn')
-depends=('glibc')
-provides=('argocd-cli')
-replaces=('argocd-cli')
-source=("argo-cd-${pkgver}.tar.gz::https://github.com/argoproj/argo-cd/archive/v${pkgver}.tar.gz"
- "argo-ui-${_argoui_commit}.tar.gz::https://github.com/argoproj/argo-ui/archive/${_argoui_commit}.tar.gz"
- "argo-ui.patch")
-sha512sums=('1281a224cb263b76ee55a2d08c27130a839792e6ebec0ca16de036202df529c970907a5503a1a0403ee7c210043ebe6e3df3f283bf511ceeb06bb11f510be8bd'
- '738acfc0803f8fedf8213db2e4470f4f3641466ab9f98de7762d9429977369177cbf4f42b177b4a58d35e60b7cf15fac400bc373e5f2cfe94943de6a793e4e05'
- 'd5b16d63e4d63c26b69d0c0688744948232248b0e62d0849860654f7f8ecea18acc5a196daa3d0162fd54d625995af8c3bcd455d29095b7a3d1c9fef80812912')
-
-prepare() {
- cd "argo-cd-$pkgver"
-
- patch -p0 -i ../argo-ui.patch
-
- go mod download
-}
-
-build() {
- cd "argo-cd-$pkgver"
-
- (
- cd ui
- yarn install --cache-folder "${srcdir}/yarn-cache"
- ARGO_VERSION="$pkgver" NODE_ENV='production' NODE_ONLINE_ENV='online' yarn build
- )
-
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOPROXY=off
- go build -o argocd \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "-X github.com/argoproj/argo-cd/v2/common.version=${pkgver} \
- -X github.com/argoproj/argo-cd/v2/common.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \
- -X github.com/argoproj/argo-cd/v2/common.gitTag=${pkgver} \
- -linkmode=external \
- -extldflags \"${LDFLAGS}\"" \
- ./cmd
-
- ./argocd completion bash > argocd.bash
- ./argocd completion zsh > argocd.zsh
-}
-
-package() {
- cd "argo-cd-$pkgver"
-
- install -D argocd "$pkgdir/usr/bin/argocd"
- ln -s argocd "$pkgdir/usr/bin/argocd-server"
- ln -s argocd "$pkgdir/usr/bin/argocd-application-controller"
- ln -s argocd "$pkgdir/usr/bin/argocd-repo-server"
- ln -s argocd "$pkgdir/usr/bin/argocd-cmp-server"
- ln -s argocd "$pkgdir/usr/bin/argocd-dex"
- ln -s argocd "$pkgdir/usr/bin/argocd-notifications"
- ln -s argocd "$pkgdir/usr/bin/argocd-git-ask-pass"
-
- install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd"
- install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd"
-}
Copied: argocd/repos/community-x86_64/PKGBUILD (from rev 1248541, argocd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-08 01:04:08 UTC (rev 1248542)
@@ -0,0 +1,76 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=argocd
+pkgver=2.4.4
+# find matching argo-ui commit via ui/yarn.lock
+# commit id also needs to be updated in argo-ui.patch
+_argoui_commit=5cc690ed53747374cb1b3c1c609aff1a23255a70
+pkgrel=1
+pkgdesc="Declarative continuous deployment for Kubernetes"
+arch=('x86_64')
+url='https://argo-cd.readthedocs.io/en/stable/'
+license=('Apache')
+makedepends=('go' 'python' 'yarn')
+depends=('glibc')
+provides=('argocd-cli')
+replaces=('argocd-cli')
+source=("argo-cd-${pkgver}.tar.gz::https://github.com/argoproj/argo-cd/archive/v${pkgver}.tar.gz"
+ "argo-ui-${_argoui_commit}.tar.gz::https://github.com/argoproj/argo-ui/archive/${_argoui_commit}.tar.gz"
+ "argo-ui.patch")
+sha512sums=('bb6d09d396f3e6d5b7d2566c0f5311f3413d2c6af3a16ad44b811431ead51bc219ccb0c312bd6cbf85e531f3dbd582b4a151881d92be2adea82e68b215730c10'
+ '738acfc0803f8fedf8213db2e4470f4f3641466ab9f98de7762d9429977369177cbf4f42b177b4a58d35e60b7cf15fac400bc373e5f2cfe94943de6a793e4e05'
+ 'd5b16d63e4d63c26b69d0c0688744948232248b0e62d0849860654f7f8ecea18acc5a196daa3d0162fd54d625995af8c3bcd455d29095b7a3d1c9fef80812912')
+
+prepare() {
+ cd "argo-cd-$pkgver"
+
+ patch -p0 -i ../argo-ui.patch
+
+ go mod download
+}
+
+build() {
+ cd "argo-cd-$pkgver"
+
+ (
+ cd ui
+ yarn install --cache-folder "${srcdir}/yarn-cache"
+ ARGO_VERSION="$pkgver" NODE_ENV='production' NODE_ONLINE_ENV='online' yarn build
+ )
+
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOPROXY=off
+ go build -o argocd \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-X github.com/argoproj/argo-cd/v2/common.version=${pkgver} \
+ -X github.com/argoproj/argo-cd/v2/common.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \
+ -X github.com/argoproj/argo-cd/v2/common.gitTag=${pkgver} \
+ -linkmode=external \
+ -extldflags \"${LDFLAGS}\"" \
+ ./cmd
+
+ ./argocd completion bash > argocd.bash
+ ./argocd completion zsh > argocd.zsh
+}
+
+package() {
+ cd "argo-cd-$pkgver"
+
+ install -D argocd "$pkgdir/usr/bin/argocd"
+ ln -s argocd "$pkgdir/usr/bin/argocd-server"
+ ln -s argocd "$pkgdir/usr/bin/argocd-application-controller"
+ ln -s argocd "$pkgdir/usr/bin/argocd-repo-server"
+ ln -s argocd "$pkgdir/usr/bin/argocd-cmp-server"
+ ln -s argocd "$pkgdir/usr/bin/argocd-dex"
+ ln -s argocd "$pkgdir/usr/bin/argocd-notifications"
+ ln -s argocd "$pkgdir/usr/bin/argocd-git-ask-pass"
+
+ install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd"
+ install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd"
+}
Deleted: argo-ui.patch
===================================================================
--- argo-ui.patch 2022-07-08 01:03:40 UTC (rev 1248541)
+++ argo-ui.patch 2022-07-08 01:04:08 UTC (rev 1248542)
@@ -1,11 +0,0 @@
---- ui/package.json 2022-06-11 14:42:02.816378069 +1000
-+++ ui/package.json 2022-06-11 14:42:18.776317442 +1000
-@@ -11,7 +11,7 @@
- },
- "dependencies": {
- "ansi-to-react": "^6.1.6",
-- "argo-ui": "git+https://github.com/argoproj/argo-ui.git",
-+ "argo-ui": "file:../../argo-ui-5cc690ed53747374cb1b3c1c609aff1a23255a70",
- "buffer": "^6.0.3",
- "classnames": "^2.2.5",
- "color": "^3.2.1",
Copied: argocd/repos/community-x86_64/argo-ui.patch (from rev 1248541, argocd/trunk/argo-ui.patch)
===================================================================
--- argo-ui.patch (rev 0)
+++ argo-ui.patch 2022-07-08 01:04:08 UTC (rev 1248542)
@@ -0,0 +1,11 @@
+--- ui/package.json 2022-06-11 14:42:02.816378069 +1000
++++ ui/package.json 2022-06-11 14:42:18.776317442 +1000
+@@ -11,7 +11,7 @@
+ },
+ "dependencies": {
+ "ansi-to-react": "^6.1.6",
+- "argo-ui": "git+https://github.com/argoproj/argo-ui.git",
++ "argo-ui": "file:../../argo-ui-5cc690ed53747374cb1b3c1c609aff1a23255a70",
+ "buffer": "^6.0.3",
+ "classnames": "^2.2.5",
+ "color": "^3.2.1",
More information about the arch-commits
mailing list