Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] etcd: fixed go_import_path
@ 2023-04-20 15:19 jpastuszek
  2023-04-20 15:32 ` [PR PATCH] [Updated] " jpastuszek
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jpastuszek @ 2023-04-20 15:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jpastuszek/void-packages etcd
https://github.com/void-linux/void-packages/pull/43543

etcd: fixed go_import_path
#### 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

The original package contains no binaries:

```
$ xls etcd
/etc/sv/etcd/conf
/etc/sv/etcd/log/run
/etc/sv/etcd/run
/etc/sv/etcd/log/supervise -> /run/runit/supervise.etcd-log
/etc/sv/etcd/supervise -> /run/runit/supervise.etcd
```

Looks like the name of the Go import path was changed.

With this fix:

```
$ xls etcd
/etc/sv/etcd/conf
/etc/sv/etcd/log/run
/etc/sv/etcd/run
/usr/bin/etcd
/usr/bin/etcdctl
/etc/sv/etcd/log/supervise -> /run/runit/supervise.etcd-log
/etc/sv/etcd/supervise -> /run/runit/supervise.etcd
```

I set it up and it is running; I can put and get a value form it.

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

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

From b3df535147ca6fbfb8b6fde00ea9526b1f5ca2f1 Mon Sep 17 00:00:00 2001
From: Jakub Pastuszek <jpastuszek@protonmail.com>
Date: Thu, 20 Apr 2023 16:13:33 +0100
Subject: [PATCH] etcd: fixed go_import_path

---
 srcpkgs/etcd/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/etcd/template b/srcpkgs/etcd/template
index e3ee7f15ec8a..e165ee339c7e 100644
--- a/srcpkgs/etcd/template
+++ b/srcpkgs/etcd/template
@@ -1,11 +1,10 @@
 # Template file for 'etcd'
 pkgname=etcd
 version=3.4.24
-revision=2
+revision=3
 build_style=go
-go_import_path="github.com/etcd-io/etcd"
+go_import_path="go.etcd.io/etcd"
 go_package="${go_import_path} ${go_import_path}/etcdctl"
-go_mod_mode=off
 short_desc="Distributed reliable key-value store"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="Apache-2.0"

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

* Re: [PR PATCH] [Updated] etcd: fixed go_import_path
  2023-04-20 15:19 [PR PATCH] etcd: fixed go_import_path jpastuszek
@ 2023-04-20 15:32 ` jpastuszek
  2023-04-20 15:33 ` jpastuszek
  2023-04-22 22:19 ` [PR PATCH] [Merged]: " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: jpastuszek @ 2023-04-20 15:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jpastuszek/void-packages etcd
https://github.com/void-linux/void-packages/pull/43543

etcd: fixed go_import_path
#### 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

The original package contains no binaries:

```
$ xls etcd
/etc/sv/etcd/conf
/etc/sv/etcd/log/run
/etc/sv/etcd/run
/etc/sv/etcd/log/supervise -> /run/runit/supervise.etcd-log
/etc/sv/etcd/supervise -> /run/runit/supervise.etcd
```

Looks like the name of the Go import path was changed.

With this fix:

```
$ xls etcd
/etc/sv/etcd/conf
/etc/sv/etcd/log/run
/etc/sv/etcd/run
/usr/bin/etcd
/usr/bin/etcdctl
/etc/sv/etcd/log/supervise -> /run/runit/supervise.etcd-log
/etc/sv/etcd/supervise -> /run/runit/supervise.etcd
```

I set it up and it is running; I can put and get a value form it.

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

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

From 7b44209305f42bf6c40e4334a3f7ca4f6f5326ee Mon Sep 17 00:00:00 2001
From: Jakub Pastuszek <jpastuszek@protonmail.com>
Date: Thu, 20 Apr 2023 16:13:33 +0100
Subject: [PATCH] etcd: fixed go_import_path

---
 srcpkgs/etcd/template | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/etcd/template b/srcpkgs/etcd/template
index e3ee7f15ec8a..1cbc4267c266 100644
--- a/srcpkgs/etcd/template
+++ b/srcpkgs/etcd/template
@@ -1,16 +1,15 @@
 # Template file for 'etcd'
 pkgname=etcd
 version=3.4.24
-revision=2
+revision=3
 build_style=go
-go_import_path="github.com/etcd-io/etcd"
+go_import_path="go.etcd.io/etcd"
 go_package="${go_import_path} ${go_import_path}/etcdctl"
-go_mod_mode=off
 short_desc="Distributed reliable key-value store"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="Apache-2.0"
 homepage="https://coreos.com/etcd/docs/latest/"
-distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
+distfiles="https://https://github.com/etcd-io/etcd/archive/v${version}.tar.gz"
 checksum=cc490495ffc04ced61a7f549dffd4f9a2e62723245c66432394659361d6ab659
 conf_files="/etc/sv/etcd/conf"
 system_accounts="etcd"

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

* Re: [PR PATCH] [Updated] etcd: fixed go_import_path
  2023-04-20 15:19 [PR PATCH] etcd: fixed go_import_path jpastuszek
  2023-04-20 15:32 ` [PR PATCH] [Updated] " jpastuszek
@ 2023-04-20 15:33 ` jpastuszek
  2023-04-22 22:19 ` [PR PATCH] [Merged]: " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: jpastuszek @ 2023-04-20 15:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jpastuszek/void-packages etcd
https://github.com/void-linux/void-packages/pull/43543

etcd: fixed go_import_path
#### 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

The original package contains no binaries:

```
$ xls etcd
/etc/sv/etcd/conf
/etc/sv/etcd/log/run
/etc/sv/etcd/run
/etc/sv/etcd/log/supervise -> /run/runit/supervise.etcd-log
/etc/sv/etcd/supervise -> /run/runit/supervise.etcd
```

Looks like the name of the Go import path was changed.

With this fix:

```
$ xls etcd
/etc/sv/etcd/conf
/etc/sv/etcd/log/run
/etc/sv/etcd/run
/usr/bin/etcd
/usr/bin/etcdctl
/etc/sv/etcd/log/supervise -> /run/runit/supervise.etcd-log
/etc/sv/etcd/supervise -> /run/runit/supervise.etcd
```

I set it up and it is running; I can put and get a value form it.

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

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

From a2d461e32e140bf676f23b467a0bb929d06f5a61 Mon Sep 17 00:00:00 2001
From: Jakub Pastuszek <jpastuszek@protonmail.com>
Date: Thu, 20 Apr 2023 16:13:33 +0100
Subject: [PATCH] etcd: fixed go_import_path

---
 srcpkgs/etcd/template | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/etcd/template b/srcpkgs/etcd/template
index e3ee7f15ec8a..ce54b3e43cfb 100644
--- a/srcpkgs/etcd/template
+++ b/srcpkgs/etcd/template
@@ -1,16 +1,15 @@
 # Template file for 'etcd'
 pkgname=etcd
 version=3.4.24
-revision=2
+revision=3
 build_style=go
-go_import_path="github.com/etcd-io/etcd"
+go_import_path="go.etcd.io/etcd"
 go_package="${go_import_path} ${go_import_path}/etcdctl"
-go_mod_mode=off
 short_desc="Distributed reliable key-value store"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="Apache-2.0"
 homepage="https://coreos.com/etcd/docs/latest/"
-distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
+distfiles="https://github.com/etcd-io/etcd/archive/v${version}.tar.gz"
 checksum=cc490495ffc04ced61a7f549dffd4f9a2e62723245c66432394659361d6ab659
 conf_files="/etc/sv/etcd/conf"
 system_accounts="etcd"

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

* Re: [PR PATCH] [Merged]: etcd: fixed go_import_path
  2023-04-20 15:19 [PR PATCH] etcd: fixed go_import_path jpastuszek
  2023-04-20 15:32 ` [PR PATCH] [Updated] " jpastuszek
  2023-04-20 15:33 ` jpastuszek
@ 2023-04-22 22:19 ` classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2023-04-22 22:19 UTC (permalink / raw)
  To: ml

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

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

etcd: fixed go_import_path
https://github.com/void-linux/void-packages/pull/43543

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

The original package contains no binaries:

```
$ xls etcd
/etc/sv/etcd/conf
/etc/sv/etcd/log/run
/etc/sv/etcd/run
/etc/sv/etcd/log/supervise -> /run/runit/supervise.etcd-log
/etc/sv/etcd/supervise -> /run/runit/supervise.etcd
```

Looks like the name of the Go import path was changed.

With this fix:

```
$ xls etcd
/etc/sv/etcd/conf
/etc/sv/etcd/log/run
/etc/sv/etcd/run
/usr/bin/etcd
/usr/bin/etcdctl
/etc/sv/etcd/log/supervise -> /run/runit/supervise.etcd-log
/etc/sv/etcd/supervise -> /run/runit/supervise.etcd
```

I set it up and it is running; I can put and get a value form it.

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

end of thread, other threads:[~2023-04-22 22:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 15:19 [PR PATCH] etcd: fixed go_import_path jpastuszek
2023-04-20 15:32 ` [PR PATCH] [Updated] " jpastuszek
2023-04-20 15:33 ` jpastuszek
2023-04-22 22:19 ` [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).