Bug 282054

Summary: [PATCH] sysutils/zrepl-dsh2dsh: update to 0.8.5
Product: Ports & Packages Reporter: Denis Shaposhnikov <dsh>
Component: Individual Port(s)Assignee: Robert Clausecker <fuz>
Status: Closed FIXED    
Severity: Affects Only Me CC: fuz
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/dsh2dsh/zrepl/releases/tag/v0.8.5
Attachments:
Description Flags
zrepl-dsh2dsh-0.8.5.patch dsh: maintainer-approval+

Description Denis Shaposhnikov 2024-10-13 15:14:09 UTC
Created attachment 254204 [details]
zrepl-dsh2dsh-0.8.5.patch

Hi,

this patch updates sysutils/zrepl-dsh2dsh to latest release.

https://github.com/dsh2dsh/zrepl/releases/tag/v0.8.5

New configuration for control and prometheus services. Example:

``` yaml
listen:
  # control socket for zrepl client, like `zrepl signal` or `zrepl status`.
  - unix: "/var/run/zrepl/control"
    # unix_mode: 0o660		  # write perm for group
    control: true

  # Export Prometheus metrics on http://127.0.0.1:8000/metrics
  - addr: "127.0.0.1:8000"
    # tls_cert: "/usr/local/etc/zrepl/cert.pem"
    # tls_key: "/usr/local/etc/zrepl/key.pem"
    metrics: true
```

One of `addr` or `unix` is required or both of them can be configured. One of
`control` or `metrics` is required or both of them can be configured too.
Everything else is optional. For backward compatibility old style configuration
works too.
Comment 1 Denis Shaposhnikov 2024-10-18 10:41:17 UTC
Hi Robert,

please wait a little. I'll update the patch today with new release.
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2024-10-18 10:48:26 UTC
Please don't.  I have already reviewed and tested this patch and am not keen to throw out all the work and do it again.  Open a new PR with the new release.  It can be committed some time in the future.

I recommend you try and release less often; it's about half an hour of work to review and test your patches and so far you have immediately pushed a new patch once the previous one has been merged.  Do your users really need to be that much on the bleeding edge?  Or could they perhaps wait a bit longer for a new release?
Comment 3 Denis Shaposhnikov 2024-10-18 10:54:22 UTC
(In reply to Robert Clausecker from comment #2)

Ah, OK. Please go on.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-10-21 09:37:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e718894704bd67b60fd7d655557b922a18f4061

commit 0e718894704bd67b60fd7d655557b922a18f4061
Author:     Denis Shaposhnikov <993498+dsh2dsh@users.noreply.github.com>
AuthorDate: 2024-10-13 15:11:04 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-10-21 09:36:03 +0000

    sysutils/zrepl-dsh2dsh: update to 0.8.5

    Changelog: https://github.com/dsh2dsh/zrepl/releases/tag/v0.8.5

    New configuration for control and prometheus services. Example:

    listen:
      # control socket for zrepl client, like `zrepl signal` or `zrepl status`.
      - unix: "/var/run/zrepl/control"
        # unix_mode: 0o660            # write perm for group
        control: true

      # Export Prometheus metrics on http://127.0.0.1:8000/metrics
      - addr: "127.0.0.1:8000"
        # tls_cert: "/usr/local/etc/zrepl/cert.pem"
        # tls_key: "/usr/local/etc/zrepl/key.pem"
        metrics: true

    One of `addr` or `unix` is required or both of them can be configured. One of
    `control` or `metrics` is required or both of them can be configured too.
    Everything else is optional. For backward compatibility old style configuration
    works too.

    PR:             282054

 sysutils/zrepl-dsh2dsh/Makefile                    |  36 +++--
 sysutils/zrepl-dsh2dsh/distinfo                    |  10 +-
 sysutils/zrepl-dsh2dsh/files/500.zrepl.in (gone)   |  41 ------
 sysutils/zrepl-dsh2dsh/files/newsyslog.conf (gone) |   5 -
 sysutils/zrepl-dsh2dsh/files/pkg-message.in        |   5 +
 sysutils/zrepl-dsh2dsh/files/zrepl.daily.in (gone) |  27 ----
 sysutils/zrepl-dsh2dsh/files/zrepl.in (gone)       | 104 --------------
 sysutils/zrepl-dsh2dsh/files/zrepl.yml (gone)      | 151 ---------------------
 sysutils/zrepl-dsh2dsh/pkg-plist                   |   1 +
 9 files changed, 35 insertions(+), 345 deletions(-)
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2024-10-21 09:42:33 UTC
Thank you for your contribution.