[Bug 233660] net-mgmt/pushgateway: Upgrade to v0.6.0 (breaking changes)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 30 11:47:35 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233660

            Bug ID: 233660
           Summary: net-mgmt/pushgateway: Upgrade to v0.6.0 (breaking
                    changes)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: 0mp at FreeBSD.org
                CC: 0mp at FreeBSD.org, aduitsis at cpan.org
             Flags: maintainer-feedback?(aduitsis at cpan.org)
                CC: aduitsis at cpan.org
 Attachment #199681 maintainer-approval?(0mp at FreeBSD.org)
             Flags:
                CC: 0mp at FreeBSD.org

Created attachment 199681
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199681&action=edit
Upgrade to v0.6.0

Changelog:
- https://github.com/prometheus/pushgateway/releases/tag/v0.4.0
- https://github.com/prometheus/pushgateway/releases/tag/v0.5.0
- https://github.com/prometheus/pushgateway/releases/tag/v0.5.2
- https://github.com/prometheus/pushgateway/releases/tag/v0.6.0

Also, https://github.com/prometheus/pushgateway/issues/175 suggests there were
some breaking changes in the storage format between 0.4 and 0.5. I am not sure
how to handle it as I don't use this software in production. We probably should
add a note to UPDATING.

I'm attaching a patch with the following changes:
- Update to v0.6.0.
- Define LICENSE_FILE.
- Drop unnecessary subshell from do-build.
- Update the rc(8) service script to use long flags (support for short flags
have been dropped).
- Extra:
  - Define do-test and pre-test to make it easier to run pushgateway's test
suite. Test fail at the moment, I've not got time to investigate. The do-test
implementation is not ideal too.

Certainly, the patch is not ready to be committed yet. It's merely a base for
future work.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list