Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] vsv: update to v2.0.0
@ 2023-02-05 19:27 bahamas10
  2023-02-07  8:14 ` classabbyamp
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bahamas10 @ 2023-02-05 19:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/bahamas10/void-packages dave-eddy-vsv-rust
https://github.com/void-linux/void-packages/pull/42099

vsv: update to v2.0.0
`vsv` was rewritten from Bash to Rust so this template reflects that change - the user-facing CLI interface has not changed.

<!-- 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-2.36)
- I built this PR locally for these architectures:
  - armv6l (cross)

---

I built the package locally:

```
./xbps-src pkg vsv # exited successfully
./xbps-src -a armv6l pkg vsv # exited succkssefully
```

I tested to make sure the package looked sane (had the files i expected):

```
$ xbps-query --repository=hostdir/binpkgs -f vsv
/usr/bin/vsv
/usr/share/licenses/vsv/LICENSE
/usr/share/man/man8/vsv.8
```

I installed the package on my system to make sure 1. it ran 2. was a compiled binary and not a bash script.

```
$ sudo xbps-install --repository hostdir/binpkgs vsv
$ file /usr/bin/vsv
/usr/bin/vsv: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=351cfbeb98cf65b1d3c34e7296348b96384521d2, for GNU/Linux 3.2.0, stripped
$ vsv -V
vsv 2.0.0
```

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dave-eddy-vsv-rust-42099.patch --]
[-- Type: text/x-diff, Size: 1249 bytes --]

From 984038d979540f44b8e91b9bcf8d1610a588a97e Mon Sep 17 00:00:00 2001
From: Dave Eddy <dave@daveeddy.com>
Date: Sun, 5 Feb 2023 14:20:19 -0500
Subject: [PATCH] vsv: update to v2.0.0

`vsv` was rewritten from Bash to Rust so this template reflects that
change - the user-facing CLI interface has not changed.
---
 srcpkgs/vsv/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/vsv/template b/srcpkgs/vsv/template
index 2e1780a68fe8..d77a49d874ed 100644
--- a/srcpkgs/vsv/template
+++ b/srcpkgs/vsv/template
@@ -1,18 +1,18 @@
 # Template file for 'vsv'
 pkgname=vsv
-version=1.3.5
+version=2.0.0
 revision=1
-depends="bash psmisc"
+build_style=cargo
+depends="psmisc"
 short_desc="Manage and view runit services"
 maintainer="Dave Eddy <dave@daveeddy.com>"
 license="MIT"
 homepage="https://github.com/bahamas10/vsv"
 changelog="https://raw.githubusercontent.com/bahamas10/vsv/master/CHANGES.md"
 distfiles="https://github.com/bahamas10/vsv/archive/v${version}.tar.gz"
-checksum=d4b88a7d11189d6a9dd160a25025cbec8d27a88ea02a6826e0c010824b6bc943
+checksum=05c20d8e04ca37fdc47dde80a04a4709b54650748529456ebdddb4104fc805ec
 
-do_install() {
-	vbin vsv
+post_install() {
 	vman man/vsv.8
 	vlicense LICENSE
 }

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

* Re: vsv: update to v2.0.0
  2023-02-05 19:27 [PR PATCH] vsv: update to v2.0.0 bahamas10
@ 2023-02-07  8:14 ` classabbyamp
  2023-02-07 17:03 ` [PR PATCH] [Updated] vsv: update to 2.0.0 bahamas10
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2023-02-07  8:14 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42099#issuecomment-1420363827

Comment:
please drop the `v` from `v2.0.0` in the commit message

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

* Re: [PR PATCH] [Updated] vsv: update to 2.0.0
  2023-02-05 19:27 [PR PATCH] vsv: update to v2.0.0 bahamas10
  2023-02-07  8:14 ` classabbyamp
@ 2023-02-07 17:03 ` bahamas10
  2023-02-07 17:04 ` bahamas10
  2023-02-07 17:09 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: bahamas10 @ 2023-02-07 17:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/bahamas10/void-packages dave-eddy-vsv-rust
https://github.com/void-linux/void-packages/pull/42099

vsv: update to 2.0.0
`vsv` was rewritten from Bash to Rust so this template reflects that change - the user-facing CLI interface has not changed.

<!-- 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-2.36)
- I built this PR locally for these architectures:
  - armv6l (cross)

---

I built the package locally:

```
./xbps-src pkg vsv # exited successfully
./xbps-src -a armv6l pkg vsv # exited succkssefully
```

I tested to make sure the package looked sane (had the files i expected):

```
$ xbps-query --repository=hostdir/binpkgs -f vsv
/usr/bin/vsv
/usr/share/licenses/vsv/LICENSE
/usr/share/man/man8/vsv.8
```

I installed the package on my system to make sure 1. it ran 2. was a compiled binary and not a bash script.

```
$ sudo xbps-install --repository hostdir/binpkgs vsv
$ file /usr/bin/vsv
/usr/bin/vsv: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=351cfbeb98cf65b1d3c34e7296348b96384521d2, for GNU/Linux 3.2.0, stripped
$ vsv -V
vsv 2.0.0
```

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dave-eddy-vsv-rust-42099.patch --]
[-- Type: text/x-diff, Size: 1248 bytes --]

From 0aa34908c4133ee2b4120a716369ee62f85a64b1 Mon Sep 17 00:00:00 2001
From: Dave Eddy <dave@daveeddy.com>
Date: Sun, 5 Feb 2023 14:20:19 -0500
Subject: [PATCH] vsv: update to 2.0.0

`vsv` was rewritten from Bash to Rust so this template reflects that
change - the user-facing CLI interface has not changed.
---
 srcpkgs/vsv/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/vsv/template b/srcpkgs/vsv/template
index 2e1780a68fe8..d77a49d874ed 100644
--- a/srcpkgs/vsv/template
+++ b/srcpkgs/vsv/template
@@ -1,18 +1,18 @@
 # Template file for 'vsv'
 pkgname=vsv
-version=1.3.5
+version=2.0.0
 revision=1
-depends="bash psmisc"
+build_style=cargo
+depends="psmisc"
 short_desc="Manage and view runit services"
 maintainer="Dave Eddy <dave@daveeddy.com>"
 license="MIT"
 homepage="https://github.com/bahamas10/vsv"
 changelog="https://raw.githubusercontent.com/bahamas10/vsv/master/CHANGES.md"
 distfiles="https://github.com/bahamas10/vsv/archive/v${version}.tar.gz"
-checksum=d4b88a7d11189d6a9dd160a25025cbec8d27a88ea02a6826e0c010824b6bc943
+checksum=05c20d8e04ca37fdc47dde80a04a4709b54650748529456ebdddb4104fc805ec
 
-do_install() {
-	vbin vsv
+post_install() {
 	vman man/vsv.8
 	vlicense LICENSE
 }

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

* Re: vsv: update to 2.0.0
  2023-02-05 19:27 [PR PATCH] vsv: update to v2.0.0 bahamas10
  2023-02-07  8:14 ` classabbyamp
  2023-02-07 17:03 ` [PR PATCH] [Updated] vsv: update to 2.0.0 bahamas10
@ 2023-02-07 17:04 ` bahamas10
  2023-02-07 17:09 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: bahamas10 @ 2023-02-07 17:04 UTC (permalink / raw)
  To: ml

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

New comment by bahamas10 on void-packages repository

https://github.com/void-linux/void-packages/pull/42099#issuecomment-1421114023

Comment:
> please drop the `v` from `v2.0.0` in the commit message

done. updated PR title and commit message with a force-push

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

* Re: [PR PATCH] [Merged]: vsv: update to 2.0.0
  2023-02-05 19:27 [PR PATCH] vsv: update to v2.0.0 bahamas10
                   ` (2 preceding siblings ...)
  2023-02-07 17:04 ` bahamas10
@ 2023-02-07 17:09 ` classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2023-02-07 17:09 UTC (permalink / raw)
  To: ml

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

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

vsv: update to 2.0.0
https://github.com/void-linux/void-packages/pull/42099

Description:
`vsv` was rewritten from Bash to Rust so this template reflects that change - the user-facing CLI interface has not changed.

<!-- 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-2.36)
- I built this PR locally for these architectures:
  - armv6l (cross)

---

I built the package locally:

```
./xbps-src pkg vsv # exited successfully
./xbps-src -a armv6l pkg vsv # exited succkssefully
```

I tested to make sure the package looked sane (had the files i expected):

```
$ xbps-query --repository=hostdir/binpkgs -f vsv
/usr/bin/vsv
/usr/share/licenses/vsv/LICENSE
/usr/share/man/man8/vsv.8
```

I installed the package on my system to make sure 1. it ran 2. was a compiled binary and not a bash script.

```
$ sudo xbps-install --repository hostdir/binpkgs vsv
$ file /usr/bin/vsv
/usr/bin/vsv: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=351cfbeb98cf65b1d3c34e7296348b96384521d2, for GNU/Linux 3.2.0, stripped
$ vsv -V
vsv 2.0.0
```

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

end of thread, other threads:[~2023-02-07 17:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-05 19:27 [PR PATCH] vsv: update to v2.0.0 bahamas10
2023-02-07  8:14 ` classabbyamp
2023-02-07 17:03 ` [PR PATCH] [Updated] vsv: update to 2.0.0 bahamas10
2023-02-07 17:04 ` bahamas10
2023-02-07 17:09 ` [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).