Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] soft-serve: update to 0.8.5
@ 2025-04-20 13:09 newbluemoon
  2025-05-01  9:15 ` [PR PATCH] [Updated] " newbluemoon
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: newbluemoon @ 2025-04-20 13:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/newbluemoon/void-packages soft-serve
https://github.com/void-linux/void-packages/pull/55136

soft-serve: update to 0.8.5
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64 (cross)
  - armv7l-musl (cross)
  - x86_64-musl
  - i686

cc @zen0bit

I rearranged setting the environment variables, `$HOME` doesn’t seem to be necessary since it is set in the template. And I added `SOFT_SERVE_INITIAL_ADMIN_KEYS` to make setting up the server a bit more convenient. Just add the path to the admin user's public ssh key to the env file before activating the service for the first time. I’m not sure if this would justify an `INSTALL.msg`?

I don’t know why the check fails for i686. It seems to build the binary a second time and fails. It get's built without problems in the do_build stage the first time. My go knowledge is too limited to find the cause ;)

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-soft-serve-55136.patch --]
[-- Type: text/x-diff, Size: 2785 bytes --]

From e5c90e3726b2c65492c1a9a8aa20a4b2e4e39fab Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sat, 19 Apr 2025 16:17:30 +0200
Subject: [PATCH] soft-serve: update to 0.8.5

---
 .../soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH   | 1 +
 .../files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS     | 0
 srcpkgs/soft-serve/files/soft-serve/run                    | 6 +-----
 srcpkgs/soft-serve/template                                | 7 ++++---
 4 files changed, 6 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH
 create mode 100644 srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS

diff --git a/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH b/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH
new file mode 100644
index 00000000000000..19b97da76be8d9
--- /dev/null
+++ b/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH
@@ -0,0 +1 @@
+/var/lib/soft-serve
diff --git a/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS b/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS
new file mode 100644
index 00000000000000..e69de29bb2d1d6
diff --git a/srcpkgs/soft-serve/files/soft-serve/run b/srcpkgs/soft-serve/files/soft-serve/run
index e91512ccd57068..d0ab7cb5588122 100644
--- a/srcpkgs/soft-serve/files/soft-serve/run
+++ b/srcpkgs/soft-serve/files/soft-serve/run
@@ -1,7 +1,3 @@
 #!/bin/sh
 exec 2>&1
-
-export HOME=/var/lib/soft-serve
-export SOFT_SERVE_DATA_PATH="${HOME}"
-
-exec chpst -u _softserve:_softserve soft serve
+exec chpst -e ./env -u _softserve:_softserve soft serve
diff --git a/srcpkgs/soft-serve/template b/srcpkgs/soft-serve/template
index 06fcf445d46860..d40585c267e232 100644
--- a/srcpkgs/soft-serve/template
+++ b/srcpkgs/soft-serve/template
@@ -1,20 +1,21 @@
 # Template file for 'soft-serve'
 pkgname=soft-serve
-version=0.7.4
-revision=2
+version=0.8.5
+revision=1
 build_style=go
 build_helper=qemu
 go_import_path="github.com/charmbracelet/soft-serve"
 go_ldflags="-X main.Version=${version}"
 go_package="github.com/charmbracelet/soft-serve/cmd/soft"
 depends="git"
+checkdepends="git git-lfs openssh"
 short_desc="Tasty, self-hostable Git server for the command line"
 maintainer="zenobit <zenobit@disroot.org>"
 license="MIT"
 homepage="https://github.com/charmbracelet/soft-serve"
 changelog="https://github.com/charmbracelet/soft-serve/releases"
 distfiles="https://github.com/charmbracelet/soft-serve/archive/refs/tags/v${version}.tar.gz"
-checksum=56ba8a51446afa3b53d451a86f0fdbef0a4ce90d5072a0ef9359e3150c466d50
+checksum=e8a432e8d1a891d7ca6f8b16fa4455db57b3484b7728fdb1ae9a77d4fa0d7045
 
 system_accounts="_softserve"
 _softserve_homedir="/var/lib/soft-serve"

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

* Re: [PR PATCH] [Updated] soft-serve: update to 0.8.5
  2025-04-20 13:09 [PR PATCH] soft-serve: update to 0.8.5 newbluemoon
@ 2025-05-01  9:15 ` newbluemoon
  2025-05-09 18:27 ` tranzystorekk
  2025-05-09 18:27 ` [PR PATCH] [Closed]: " tranzystorekk
  2 siblings, 0 replies; 5+ messages in thread
From: newbluemoon @ 2025-05-01  9:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/newbluemoon/void-packages soft-serve
https://github.com/void-linux/void-packages/pull/55136

soft-serve: update to 0.8.5
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64 (cross)
  - armv7l-musl (cross)
  - x86_64-musl
  - i686

cc @zen0bit

I rearranged setting the environment variables, `$HOME` doesn’t seem to be necessary since it is set in the template. And I added `SOFT_SERVE_INITIAL_ADMIN_KEYS` to make setting up the server a bit more convenient. Just add the path to the admin user's public ssh key to the env file before activating the service for the first time. I’m not sure if this would justify an `INSTALL.msg`?

I don’t know why the check fails for i686. It seems to build the binary a second time and fails. It get's built without problems in the do_build stage the first time. My go knowledge is too limited to find the cause ;)

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-soft-serve-55136.patch --]
[-- Type: text/x-diff, Size: 2785 bytes --]

From 9e2e1221d7339e25240dd7541b18009e9c90a083 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sat, 19 Apr 2025 16:17:30 +0200
Subject: [PATCH] soft-serve: update to 0.8.5

---
 .../soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH   | 1 +
 .../files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS     | 0
 srcpkgs/soft-serve/files/soft-serve/run                    | 6 +-----
 srcpkgs/soft-serve/template                                | 7 ++++---
 4 files changed, 6 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH
 create mode 100644 srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS

diff --git a/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH b/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH
new file mode 100644
index 00000000000000..19b97da76be8d9
--- /dev/null
+++ b/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH
@@ -0,0 +1 @@
+/var/lib/soft-serve
diff --git a/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS b/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS
new file mode 100644
index 00000000000000..e69de29bb2d1d6
diff --git a/srcpkgs/soft-serve/files/soft-serve/run b/srcpkgs/soft-serve/files/soft-serve/run
index e91512ccd57068..d0ab7cb5588122 100644
--- a/srcpkgs/soft-serve/files/soft-serve/run
+++ b/srcpkgs/soft-serve/files/soft-serve/run
@@ -1,7 +1,3 @@
 #!/bin/sh
 exec 2>&1
-
-export HOME=/var/lib/soft-serve
-export SOFT_SERVE_DATA_PATH="${HOME}"
-
-exec chpst -u _softserve:_softserve soft serve
+exec chpst -e ./env -u _softserve:_softserve soft serve
diff --git a/srcpkgs/soft-serve/template b/srcpkgs/soft-serve/template
index 06fcf445d46860..d40585c267e232 100644
--- a/srcpkgs/soft-serve/template
+++ b/srcpkgs/soft-serve/template
@@ -1,20 +1,21 @@
 # Template file for 'soft-serve'
 pkgname=soft-serve
-version=0.7.4
-revision=2
+version=0.8.5
+revision=1
 build_style=go
 build_helper=qemu
 go_import_path="github.com/charmbracelet/soft-serve"
 go_ldflags="-X main.Version=${version}"
 go_package="github.com/charmbracelet/soft-serve/cmd/soft"
 depends="git"
+checkdepends="git git-lfs openssh"
 short_desc="Tasty, self-hostable Git server for the command line"
 maintainer="zenobit <zenobit@disroot.org>"
 license="MIT"
 homepage="https://github.com/charmbracelet/soft-serve"
 changelog="https://github.com/charmbracelet/soft-serve/releases"
 distfiles="https://github.com/charmbracelet/soft-serve/archive/refs/tags/v${version}.tar.gz"
-checksum=56ba8a51446afa3b53d451a86f0fdbef0a4ce90d5072a0ef9359e3150c466d50
+checksum=e8a432e8d1a891d7ca6f8b16fa4455db57b3484b7728fdb1ae9a77d4fa0d7045
 
 system_accounts="_softserve"
 _softserve_homedir="/var/lib/soft-serve"

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

* [PR PATCH] soft-serve: update to 0.8.5
@ 2025-05-07 16:40 zen0bit
  0 siblings, 0 replies; 5+ messages in thread
From: zen0bit @ 2025-05-07 16:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oSoWoSo/VUR soft-serve
https://github.com/void-linux/void-packages/pull/55274

soft-serve: update to 0.8.5
# Testing builds on other platforms
Trying to solve #55136 

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

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

# Work in Progress

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-soft-serve-55274.patch --]
[-- Type: text/x-diff, Size: 2871 bytes --]

From a4e4621be03c5e326c3732d162d1ffbc25fc6045 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sat, 19 Apr 2025 16:17:30 +0200
Subject: [PATCH] soft-serve: update to 0.8.5

---
 .../files/soft-serve/env/SOFT_SERVE_DATA_PATH          |  1 +
 .../files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS |  0
 srcpkgs/soft-serve/files/soft-serve/run                |  6 +-----
 srcpkgs/soft-serve/template                            | 10 ++++++----
 4 files changed, 8 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH
 create mode 100644 srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS

diff --git a/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH b/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH
new file mode 100644
index 00000000000000..19b97da76be8d9
--- /dev/null
+++ b/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_DATA_PATH
@@ -0,0 +1 @@
+/var/lib/soft-serve
diff --git a/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS b/srcpkgs/soft-serve/files/soft-serve/env/SOFT_SERVE_INITIAL_ADMIN_KEYS
new file mode 100644
index 00000000000000..e69de29bb2d1d6
diff --git a/srcpkgs/soft-serve/files/soft-serve/run b/srcpkgs/soft-serve/files/soft-serve/run
index e91512ccd57068..d0ab7cb5588122 100644
--- a/srcpkgs/soft-serve/files/soft-serve/run
+++ b/srcpkgs/soft-serve/files/soft-serve/run
@@ -1,7 +1,3 @@
 #!/bin/sh
 exec 2>&1
-
-export HOME=/var/lib/soft-serve
-export SOFT_SERVE_DATA_PATH="${HOME}"
-
-exec chpst -u _softserve:_softserve soft serve
+exec chpst -e ./env -u _softserve:_softserve soft serve
diff --git a/srcpkgs/soft-serve/template b/srcpkgs/soft-serve/template
index 06fcf445d46860..79e88effc84f17 100644
--- a/srcpkgs/soft-serve/template
+++ b/srcpkgs/soft-serve/template
@@ -1,20 +1,22 @@
 # Template file for 'soft-serve'
 pkgname=soft-serve
-version=0.7.4
-revision=2
+version=0.8.5
+revision=1
 build_style=go
 build_helper=qemu
 go_import_path="github.com/charmbracelet/soft-serve"
 go_ldflags="-X main.Version=${version}"
 go_package="github.com/charmbracelet/soft-serve/cmd/soft"
-depends="git"
+makedepends="pkg-config gcc gcc-go git git-lfs glibc openssh"
+depends="git git-lfs openssh"
+#checkdepends="git git-lfs openssh"
 short_desc="Tasty, self-hostable Git server for the command line"
 maintainer="zenobit <zenobit@disroot.org>"
 license="MIT"
 homepage="https://github.com/charmbracelet/soft-serve"
 changelog="https://github.com/charmbracelet/soft-serve/releases"
 distfiles="https://github.com/charmbracelet/soft-serve/archive/refs/tags/v${version}.tar.gz"
-checksum=56ba8a51446afa3b53d451a86f0fdbef0a4ce90d5072a0ef9359e3150c466d50
+checksum=e8a432e8d1a891d7ca6f8b16fa4455db57b3484b7728fdb1ae9a77d4fa0d7045
 
 system_accounts="_softserve"
 _softserve_homedir="/var/lib/soft-serve"

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

* Re: [PR PATCH] [Closed]: soft-serve: update to 0.8.5
  2025-04-20 13:09 [PR PATCH] soft-serve: update to 0.8.5 newbluemoon
  2025-05-01  9:15 ` [PR PATCH] [Updated] " newbluemoon
  2025-05-09 18:27 ` tranzystorekk
@ 2025-05-09 18:27 ` tranzystorekk
  2 siblings, 0 replies; 5+ messages in thread
From: tranzystorekk @ 2025-05-09 18:27 UTC (permalink / raw)
  To: ml

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

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

soft-serve: update to 0.8.5
https://github.com/void-linux/void-packages/pull/55136

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64 (cross)
  - armv7l-musl (cross)
  - x86_64-musl
  - i686

cc @zen0bit

I rearranged setting the environment variables, `$HOME` doesn’t seem to be necessary since it is set in the template. And I added `SOFT_SERVE_INITIAL_ADMIN_KEYS` to make setting up the server a bit more convenient. Just add the path to the admin user's public ssh key to the env file before activating the service for the first time. I’m not sure if this would justify an `INSTALL.msg`?

I don’t know why the check fails for i686. It seems to build the binary a second time and fails. It get's built without problems in the do_build stage the first time. My go knowledge is too limited to find the cause ;)

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

* Re: soft-serve: update to 0.8.5
  2025-04-20 13:09 [PR PATCH] soft-serve: update to 0.8.5 newbluemoon
  2025-05-01  9:15 ` [PR PATCH] [Updated] " newbluemoon
@ 2025-05-09 18:27 ` tranzystorekk
  2025-05-09 18:27 ` [PR PATCH] [Closed]: " tranzystorekk
  2 siblings, 0 replies; 5+ messages in thread
From: tranzystorekk @ 2025-05-09 18:27 UTC (permalink / raw)
  To: ml

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

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/55136#issuecomment-2867565101

Comment:
Superseded by #55274 

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

end of thread, other threads:[~2025-05-09 18:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-20 13:09 [PR PATCH] soft-serve: update to 0.8.5 newbluemoon
2025-05-01  9:15 ` [PR PATCH] [Updated] " newbluemoon
2025-05-09 18:27 ` tranzystorekk
2025-05-09 18:27 ` [PR PATCH] [Closed]: " tranzystorekk
  -- strict thread matches above, loose matches on Subject: below --
2025-05-07 16:40 [PR PATCH] " zen0bit

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).