Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] sq: update to 0.42.1.
@ 2023-09-11 20:49 icp1994
  2023-09-11 20:55 ` [PR PATCH] [Updated] " icp1994
  2023-09-12  5:35 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: icp1994 @ 2023-09-11 20:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages sq
https://github.com/void-linux/void-packages/pull/46020

sq: update to 0.42.1.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

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

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

From 89bcf4c29fc6f5821afe4f4589b93136716d30d0 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 11 Sep 2023 13:13:07 +0530
Subject: [PATCH] sq: update to 0.42.1.

---
 srcpkgs/sq/patches/32-bit.patch | 11 -----------
 srcpkgs/sq/template             | 10 +++++++---
 2 files changed, 7 insertions(+), 14 deletions(-)
 delete mode 100644 srcpkgs/sq/patches/32-bit.patch

diff --git a/srcpkgs/sq/patches/32-bit.patch b/srcpkgs/sq/patches/32-bit.patch
deleted file mode 100644
index ea4c868ece3b4..0000000000000
--- a/srcpkgs/sq/patches/32-bit.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/libsq/ast/render/range.go
-+++ b/libsq/ast/render/range.go
-@@ -27,7 +27,7 @@
- 		if rr.Limit == -1 {
- 			// MySQL requires a LIMIT if OFFSET is used. Therefore
- 			// we make the LIMIT a very large number
--			limit = fmt.Sprintf("LIMIT %d", math.MaxInt64)
-+			limit = fmt.Sprintf("LIMIT %d", uint64(math.MaxInt64))
- 		}
- 	}
-
diff --git a/srcpkgs/sq/template b/srcpkgs/sq/template
index 736291540fa14..e926749e4015a 100644
--- a/srcpkgs/sq/template
+++ b/srcpkgs/sq/template
@@ -1,6 +1,6 @@
 # Template file for 'sq'
 pkgname=sq
-version=0.42.0
+version=0.42.1
 revision=1
 build_style=go
 go_import_path="github.com/neilotoole/sq"
@@ -14,14 +14,18 @@ homepage="https://sq.io"
 changelog="https://raw.githubusercontent.com/neilotoole/sq/master/CHANGELOG.md"
 distfiles="https://github.com/neilotoole/sq/archive/refs/tags/v${version}.tar.gz
  https://github.com/neilotoole/sq/releases/download/v${version}/sq-${version}-amd64-amd64.tar.gz"
-checksum="1d73a814ead3205211aca852fa8c30528ec60546732cfc282105f9aa8e4556f5
- abcab9a053f759e62d516f4ab003f918c7d03385c0581c09c5ed369debd44038"
+checksum="e050b32155f66a8b7413893e08cd1d8e3bd704f16e624896bdcd11267657b1eb
+ 7d518570e4e82f5c17ea0dc93b23a5ee6fd866a7f7b9cf456f90f3e43aa97a52"
 conflicts="squirrel sequoia-sq"
 
 post_extract() {
 	mv sq-${version}/* .
 }
 
+do_check() {
+	go test ./cli/...
+}
+
 post_install() {
 	for shell in bash fish zsh; do
 		vcompletion "completions/sq.${shell}" "${shell}"

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

* Re: [PR PATCH] [Updated] sq: update to 0.42.1.
  2023-09-11 20:49 [PR PATCH] sq: update to 0.42.1 icp1994
@ 2023-09-11 20:55 ` icp1994
  2023-09-12  5:35 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: icp1994 @ 2023-09-11 20:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages sq
https://github.com/void-linux/void-packages/pull/46020

sq: update to 0.42.1.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

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

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

From 5201551879d40231d9705af6a1c26c76c738e6c7 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 11 Sep 2023 13:13:07 +0530
Subject: [PATCH] sq: update to 0.42.1.

---
 srcpkgs/sq/patches/32-bit.patch | 11 -----------
 srcpkgs/sq/template             |  6 +++---
 2 files changed, 3 insertions(+), 14 deletions(-)
 delete mode 100644 srcpkgs/sq/patches/32-bit.patch

diff --git a/srcpkgs/sq/patches/32-bit.patch b/srcpkgs/sq/patches/32-bit.patch
deleted file mode 100644
index ea4c868ece3b4..0000000000000
--- a/srcpkgs/sq/patches/32-bit.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/libsq/ast/render/range.go
-+++ b/libsq/ast/render/range.go
-@@ -27,7 +27,7 @@
- 		if rr.Limit == -1 {
- 			// MySQL requires a LIMIT if OFFSET is used. Therefore
- 			// we make the LIMIT a very large number
--			limit = fmt.Sprintf("LIMIT %d", math.MaxInt64)
-+			limit = fmt.Sprintf("LIMIT %d", uint64(math.MaxInt64))
- 		}
- 	}
-
diff --git a/srcpkgs/sq/template b/srcpkgs/sq/template
index 736291540fa14..5fc08c728f3bf 100644
--- a/srcpkgs/sq/template
+++ b/srcpkgs/sq/template
@@ -1,6 +1,6 @@
 # Template file for 'sq'
 pkgname=sq
-version=0.42.0
+version=0.42.1
 revision=1
 build_style=go
 go_import_path="github.com/neilotoole/sq"
@@ -14,8 +14,8 @@ homepage="https://sq.io"
 changelog="https://raw.githubusercontent.com/neilotoole/sq/master/CHANGELOG.md"
 distfiles="https://github.com/neilotoole/sq/archive/refs/tags/v${version}.tar.gz
  https://github.com/neilotoole/sq/releases/download/v${version}/sq-${version}-amd64-amd64.tar.gz"
-checksum="1d73a814ead3205211aca852fa8c30528ec60546732cfc282105f9aa8e4556f5
- abcab9a053f759e62d516f4ab003f918c7d03385c0581c09c5ed369debd44038"
+checksum="e050b32155f66a8b7413893e08cd1d8e3bd704f16e624896bdcd11267657b1eb
+ 7d518570e4e82f5c17ea0dc93b23a5ee6fd866a7f7b9cf456f90f3e43aa97a52"
 conflicts="squirrel sequoia-sq"
 
 post_extract() {

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

* Re: [PR PATCH] [Merged]: sq: update to 0.42.1.
  2023-09-11 20:49 [PR PATCH] sq: update to 0.42.1 icp1994
  2023-09-11 20:55 ` [PR PATCH] [Updated] " icp1994
@ 2023-09-12  5:35 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-09-12  5:35 UTC (permalink / raw)
  To: ml

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

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

sq: update to 0.42.1.
https://github.com/void-linux/void-packages/pull/46020

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

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

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

end of thread, other threads:[~2023-09-12  5:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-11 20:49 [PR PATCH] sq: update to 0.42.1 icp1994
2023-09-11 20:55 ` [PR PATCH] [Updated] " icp1994
2023-09-12  5:35 ` [PR PATCH] [Merged]: " classabbyamp

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