Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: flux-2.0.1
@ 2023-07-24  2:23 mchlumsky
  2023-07-24  2:42 ` [PR PATCH] [Updated] " mchlumsky
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mchlumsky @ 2023-07-24  2:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

There is a new pull request by mchlumsky against master on the void-packages repository

https://github.com/mchlumsky/void-packages add-flux
https://github.com/void-linux/void-packages/pull/45214

New package: flux-2.0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc


A patch file from https://github.com/void-linux/void-packages/pull/45214.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-flux-45214.patch --]
[-- Type: text/x-diff, Size: 1969 bytes --]

From 331adde492dbd5619742d049ecfb6a79a8848b2e Mon Sep 17 00:00:00 2001
From: Martin Chlumsky <martin.chlumsky@gmail.com>
Date: Sun, 23 Jul 2023 22:14:41 -0400
Subject: [PATCH] New package: flux-2.0.1

---
 srcpkgs/flux/template | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/flux/template

diff --git a/srcpkgs/flux/template b/srcpkgs/flux/template
new file mode 100644
index 000000000000..3b6893773e80
--- /dev/null
+++ b/srcpkgs/flux/template
@@ -0,0 +1,34 @@
+# Template file for 'flux'
+pkgname=flux
+version=2.0.1
+revision=1
+build_style=go
+build_helper="qemu"
+go_import_path=github.com/fluxcd/flux2/v2
+go_ldflags="-X main.VERSION=${version}"
+go_package="${go_import_path}/cmd/flux"
+hostmakedepends="tar"
+short_desc="Open and extensible continuous delivery solution for Kubernetes"
+maintainer="Martin Chlumsky <martin.chlumsky@gmail.com>"
+license="Apache-2.0"
+homepage="https://fluxcd.io"
+distfiles="https://github.com/fluxcd/flux2/archive/refs/tags/v${version}.tar.gz https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"
+checksum="b4c57d94d81eea40ea7180e814d2e6984b8787d296a21b1b662397a9a23d5407 5df034f909448c4d73017d881c25badbe9d8092be51e2a76553417de94234de2"
+skip_extraction="manifests.tar.gz"
+
+pre_build() {
+	# In the github flux repository, manifests are generated through a shell script that calls kustomize which is not
+	# available in Void linux. As a workaround, we use the manifests from the github releases instead.
+	# https://github.com/fluxcd/flux2/blob/44d69d6fc0c353e79c1bad021a4aca135033bce8/manifests/scripts/bundle.sh#L37
+	mkdir cmd/flux/manifests
+	tar xv -f /host/sources/flux-${version}/manifests.tar.gz -C cmd/flux/manifests/
+}
+
+post_install() {
+	flux=$(find $GOPATH/bin -name flux)
+
+	for shell in bash fish zsh; do
+		vtargetrun ${flux} completion ${shell} > completion.${shell}
+		vcompletion completion.${shell} ${shell}
+	done
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] New package: flux-2.0.1
  2023-07-24  2:23 [PR PATCH] New package: flux-2.0.1 mchlumsky
@ 2023-07-24  2:42 ` mchlumsky
  2023-07-24 18:44 ` mchlumsky
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mchlumsky @ 2023-07-24  2:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

There is an updated pull request by mchlumsky against master on the void-packages repository

https://github.com/mchlumsky/void-packages add-flux
https://github.com/void-linux/void-packages/pull/45214

New package: flux-2.0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc


A patch file from https://github.com/void-linux/void-packages/pull/45214.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-flux-45214.patch --]
[-- Type: text/x-diff, Size: 2053 bytes --]

From 8fed66513c2dc05b185ad73111dd65dd8e9afa56 Mon Sep 17 00:00:00 2001
From: Martin Chlumsky <martin.chlumsky@gmail.com>
Date: Sun, 23 Jul 2023 22:14:41 -0400
Subject: [PATCH] New package: flux-2.0.1

---
 srcpkgs/flux/template | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/flux/template

diff --git a/srcpkgs/flux/template b/srcpkgs/flux/template
new file mode 100644
index 000000000000..bed37e17ce6a
--- /dev/null
+++ b/srcpkgs/flux/template
@@ -0,0 +1,37 @@
+# Template file for 'flux'
+pkgname=flux
+version=2.0.1
+revision=1
+build_style=go
+build_helper="qemu"
+go_import_path=github.com/fluxcd/flux2/v2
+go_ldflags="-X main.VERSION=${version}"
+go_package="${go_import_path}/cmd/flux"
+hostmakedepends="tar"
+short_desc="Open and extensible continuous delivery solution for Kubernetes"
+maintainer="Martin Chlumsky <martin.chlumsky@gmail.com>"
+license="Apache-2.0"
+homepage="https://fluxcd.io"
+distfiles="https://github.com/fluxcd/flux2/archive/refs/tags/v${version}.tar.gz https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"
+checksum="b4c57d94d81eea40ea7180e814d2e6984b8787d296a21b1b662397a9a23d5407 5df034f909448c4d73017d881c25badbe9d8092be51e2a76553417de94234de2"
+skip_extraction="manifests.tar.gz"
+
+# fix: collect2: fatal error: cannot find 'ld'
+export LDFLAGS="-fuse-ld=bfd"
+
+pre_build() {
+	# In the github flux repository, manifests are generated through a shell script that calls kustomize which is not
+	# available in Void linux. As a workaround, we use the manifests from the github releases instead.
+	# https://github.com/fluxcd/flux2/blob/44d69d6fc0c353e79c1bad021a4aca135033bce8/manifests/scripts/bundle.sh#L37
+	mkdir cmd/flux/manifests
+	tar xv -f /host/sources/flux-${version}/manifests.tar.gz -C cmd/flux/manifests/
+}
+
+post_install() {
+	flux=$(find $GOPATH/bin -name flux)
+
+	for shell in bash fish zsh; do
+		vtargetrun ${flux} completion ${shell} > completion.${shell}
+		vcompletion completion.${shell} ${shell}
+	done
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] New package: flux-2.0.1
  2023-07-24  2:23 [PR PATCH] New package: flux-2.0.1 mchlumsky
  2023-07-24  2:42 ` [PR PATCH] [Updated] " mchlumsky
@ 2023-07-24 18:44 ` mchlumsky
  2023-10-23  1:45 ` github-actions
  2023-11-06  1:46 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: mchlumsky @ 2023-07-24 18:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

There is an updated pull request by mchlumsky against master on the void-packages repository

https://github.com/mchlumsky/void-packages add-flux
https://github.com/void-linux/void-packages/pull/45214

New package: flux-2.0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc


A patch file from https://github.com/void-linux/void-packages/pull/45214.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-flux-45214.patch --]
[-- Type: text/x-diff, Size: 2081 bytes --]

From c31b1e60f022c8666a5d843eee2f035862f5fd35 Mon Sep 17 00:00:00 2001
From: Martin Chlumsky <martin.chlumsky@gmail.com>
Date: Sun, 23 Jul 2023 22:14:41 -0400
Subject: [PATCH] New package: flux-2.0.1

---
 srcpkgs/flux/template | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 srcpkgs/flux/template

diff --git a/srcpkgs/flux/template b/srcpkgs/flux/template
new file mode 100644
index 0000000000000..49f2320b42f45
--- /dev/null
+++ b/srcpkgs/flux/template
@@ -0,0 +1,39 @@
+# Template file for 'flux'
+pkgname=flux
+version=2.0.1
+revision=1
+build_style=go
+build_helper="qemu"
+go_import_path=github.com/fluxcd/flux2/v2
+go_ldflags="-X main.VERSION=${version}"
+go_package="${go_import_path}/cmd/flux"
+hostmakedepends="tar"
+short_desc="Open and extensible continuous delivery solution for Kubernetes"
+maintainer="Martin Chlumsky <martin.chlumsky@gmail.com>"
+license="Apache-2.0"
+homepage="https://fluxcd.io"
+distfiles="https://github.com/fluxcd/flux2/archive/refs/tags/v${version}.tar.gz https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"
+checksum="b4c57d94d81eea40ea7180e814d2e6984b8787d296a21b1b662397a9a23d5407 5df034f909448c4d73017d881c25badbe9d8092be51e2a76553417de94234de2"
+skip_extraction="manifests.tar.gz"
+
+# fix: collect2: fatal error: cannot find 'ld'
+export LDFLAGS="-fuse-ld=bfd"
+
+export CGO_ENABLED=0
+
+pre_build() {
+	# In the github flux repository, manifests are generated through a shell script that calls kustomize which is not
+	# available in Void linux. As a workaround, we use the manifests from the github releases instead.
+	# https://github.com/fluxcd/flux2/blob/44d69d6fc0c353e79c1bad021a4aca135033bce8/manifests/scripts/bundle.sh#L37
+	mkdir cmd/flux/manifests
+	tar xv -f /host/sources/flux-${version}/manifests.tar.gz -C cmd/flux/manifests/
+}
+
+post_install() {
+	flux=$(find $GOPATH/bin -name flux)
+
+	for shell in bash fish zsh; do
+		vtargetrun ${flux} completion ${shell} > completion.${shell}
+		vcompletion completion.${shell} ${shell}
+	done
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New package: flux-2.0.1
  2023-07-24  2:23 [PR PATCH] New package: flux-2.0.1 mchlumsky
  2023-07-24  2:42 ` [PR PATCH] [Updated] " mchlumsky
  2023-07-24 18:44 ` mchlumsky
@ 2023-10-23  1:45 ` github-actions
  2023-11-06  1:46 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2023-10-23  1:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/45214#issuecomment-1774305058

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Closed]: New package: flux-2.0.1
  2023-07-24  2:23 [PR PATCH] New package: flux-2.0.1 mchlumsky
                   ` (2 preceding siblings ...)
  2023-10-23  1:45 ` github-actions
@ 2023-11-06  1:46 ` github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2023-11-06  1:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

There's a closed pull request on the void-packages repository

New package: flux-2.0.1
https://github.com/void-linux/void-packages/pull/45214

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-06  1:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-24  2:23 [PR PATCH] New package: flux-2.0.1 mchlumsky
2023-07-24  2:42 ` [PR PATCH] [Updated] " mchlumsky
2023-07-24 18:44 ` mchlumsky
2023-10-23  1:45 ` github-actions
2023-11-06  1:46 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).