Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] xq-api: update to 0.5.0.
@ 2021-02-28  5:22 nilium
  2021-02-28  5:24 ` the-maldridge
  2021-02-28  5:26 ` [PR PATCH] [Merged]: " the-maldridge
  0 siblings, 2 replies; 3+ messages in thread
From: nilium @ 2021-02-28  5:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/nilium/ecks-bops-packages xq-api
https://github.com/void-linux/void-packages/pull/29110

xq-api: update to 0.5.0.
Adds the RELOAD_EVERY config option to set the -reload-every flag for
the service.

This is to support use of xq-api inside of a container without the need for a cron service HUP-ing it, per @the-maldridge's request.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xq-api-29110.patch --]
[-- Type: text/x-diff, Size: 2037 bytes --]

From d52858fad329138d8d92a0243772a5288f3e1bbd Mon Sep 17 00:00:00 2001
From: Noel Cower <ncower@nil.dev>
Date: Sat, 27 Feb 2021 21:10:05 -0800
Subject: [PATCH] xq-api: update to 0.5.0.

Adds the RELOAD_EVERY config option to set the -reload-every flag for
the service.
---
 srcpkgs/xq-api/files/xq-api/conf | 1 +
 srcpkgs/xq-api/files/xq-api/run  | 1 +
 srcpkgs/xq-api/template          | 6 +++---
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/xq-api/files/xq-api/conf b/srcpkgs/xq-api/files/xq-api/conf
index 869fe0ace99..c3695497dc2 100644
--- a/srcpkgs/xq-api/files/xq-api/conf
+++ b/srcpkgs/xq-api/files/xq-api/conf
@@ -6,3 +6,4 @@ LOG_ACCESS=f
 LOG_TO_STDERR=t
 LOG_DIR=
 REPODATA=/var/db/xbps
+RELOAD_EVERY=
diff --git a/srcpkgs/xq-api/files/xq-api/run b/srcpkgs/xq-api/files/xq-api/run
index d998291d039..b6c0533f194 100755
--- a/srcpkgs/xq-api/files/xq-api/run
+++ b/srcpkgs/xq-api/files/xq-api/run
@@ -6,6 +6,7 @@ exec 2>&1
 exec chpst -u _xqapi:_xqapi xq-api \
         ${NET:+-net="$NET"} \
         ${ADDR:+-listen="$ADDR"} \
+        ${RELOAD_EVERY:+-reload-every="$RELOAD_EVERY"} \
         ${MAX_QUERIES:+-max-queries="$MAX_QUERIES"} \
         ${LOG_V:+-v="$LOG_V"} \
         ${LOG_ACCESS:+-log-access="$LOG_ACCESS"} \
diff --git a/srcpkgs/xq-api/template b/srcpkgs/xq-api/template
index 16e97083cae..c22ae1d72d5 100644
--- a/srcpkgs/xq-api/template
+++ b/srcpkgs/xq-api/template
@@ -1,7 +1,7 @@
 # Template file for 'xq-api'
 pkgname=xq-api
-version=0.4.0
-revision=2
+version=0.5.0
+revision=1
 build_style=go
 go_import_path=go.spiff.io/xq-api
 conf_files="/etc/sv/xq-api/conf"
@@ -11,7 +11,7 @@ maintainer="Noel Cower <ncower@nil.dev>"
 license="BSD-2-Clause"
 homepage="https://github.com/nilium/xq-api"
 distfiles="https://github.com/nilium/xq-api/archive/v${version}.tar.gz"
-checksum=0d03345899feb2094e662e6e1d0a4de09ebb82f4f2a474cdc48504059c837c6d
+checksum=087940a16830eaf821abfcb8c6e0daad47078b4859b9acf236464bfca809ed43
 system_accounts="_xqapi"
 _xqapi_homedir="/var/lib/xq-api"
 

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

* Re: xq-api: update to 0.5.0.
  2021-02-28  5:22 [PR PATCH] xq-api: update to 0.5.0 nilium
@ 2021-02-28  5:24 ` the-maldridge
  2021-02-28  5:26 ` [PR PATCH] [Merged]: " the-maldridge
  1 sibling, 0 replies; 3+ messages in thread
From: the-maldridge @ 2021-02-28  5:24 UTC (permalink / raw)
  To: ml

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

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/29110#issuecomment-787398345

Comment:
- [x] This software is actively serving a core component of Void's publicly visible web presence.

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

* Re: [PR PATCH] [Merged]: xq-api: update to 0.5.0.
  2021-02-28  5:22 [PR PATCH] xq-api: update to 0.5.0 nilium
  2021-02-28  5:24 ` the-maldridge
@ 2021-02-28  5:26 ` the-maldridge
  1 sibling, 0 replies; 3+ messages in thread
From: the-maldridge @ 2021-02-28  5:26 UTC (permalink / raw)
  To: ml

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

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

xq-api: update to 0.5.0.
https://github.com/void-linux/void-packages/pull/29110

Description:
Adds the RELOAD_EVERY config option to set the -reload-every flag for
the service.

This is to support use of xq-api inside of a container without the need for a cron service HUP-ing it, per @the-maldridge's request.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

end of thread, other threads:[~2021-02-28  5:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-28  5:22 [PR PATCH] xq-api: update to 0.5.0 nilium
2021-02-28  5:24 ` the-maldridge
2021-02-28  5:26 ` [PR PATCH] [Merged]: " the-maldridge

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