Bug 237001 - databases/pg_partman update to 4.0.0
Summary: databases/pg_partman update to 4.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kai Knoblich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-04 04:25 UTC by Lacey Powers
Modified: 2019-04-25 16:01 UTC (History)
1 user (show)

See Also:


Attachments
pg_partman_3.2.1_to_4.0.0.patch (1.82 KB, patch)
2019-04-04 04:25 UTC, Lacey Powers
no flags Details | Diff
pg_partman_3.2.1_to_4.0.0_v2.patch (3.39 KB, patch)
2019-04-18 22:04 UTC, Lacey Powers
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lacey Powers 2019-04-04 04:25:45 UTC
Created attachment 203364 [details]
pg_partman_3.2.1_to_4.0.0.patch

This is a patch to update pg_partman from 3.2.1 to 4.0.0

The update builds correctly against PostgreSQL 9.4, 9.5, 9.6, 10, and 11 on FreeBSD 11.2-RELEASE and 12.0-RELEASE amd64 and i386. 

Everything updates correctly as an extension in PostgreSQL in addition to the Poudriere builds.

Please let me know if further work is required here. Thank you. =)
Comment 1 Kai Knoblich freebsd_committer freebsd_triage 2019-04-05 20:55:54 UTC
(In reply to Lacey Powers from comment #0)

Hi, thank you for the patch. At the moment there are some issues with the pkg-plist:

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: bin/partition_data.py
Error: Orphaned: bin/reapply_constraints.py
Error: Orphaned: bin/reapply_foreign_keys.py
Error: Orphaned: bin/undo_partition.py
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

If I add those filenames back to the pkg-plist everything compiles fine so far.
Comment 2 Lacey Powers 2019-04-18 22:04:29 UTC
Created attachment 203775 [details]
pg_partman_3.2.1_to_4.0.0_v2.patch

Added back the missing files to the plist and made sure they were installed to /usr/local/bin

Did some whitespace cleanup on the pkg-descr.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-04-25 16:01:11 UTC
A commit references this bug:

Author: kai
Date: Thu Apr 25 16:00:22 UTC 2019
New revision: 500024
URL: https://svnweb.freebsd.org/changeset/ports/500024

Log:
  databases/pg_partman: Update to 4.0.0

  * Fix whitespace in pkg-descr

  Changelog:

  https://github.com/pgpartman/pg_partman/blob/v4.0.0/CHANGELOG.txt

  PR:		237001
  Submitted by:	Lacey Powers <lacey.leanne@gmail.com> (maintainer)
  Approved by:	mentors (implicit)

Changes:
  head/databases/pg_partman/Makefile
  head/databases/pg_partman/distinfo
  head/databases/pg_partman/pkg-descr
  head/databases/pg_partman/pkg-plist
Comment 4 Kai Knoblich freebsd_committer freebsd_triage 2019-04-25 16:01:55 UTC
Committed, thank you for the patch!