Getting Citus into (Debian) PGDG

From: Jason Petersen <jason(at)citusdata(dot)com>
To: pgsql-pkg-debian(at)postgresql(dot)org
Subject: Getting Citus into (Debian) PGDG
Date: 2016-03-25 22:43:47
Message-ID: A37C3A5E-DDEA-40C9-BB67-133B42E4E0A8@citusdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-pkg-debian

Hey all,

The latest version of Citus (5.0) is now both open-source and a PostgreSQL extension. As such, I’m looking to get it into PGDG. It appears Devrim’s already taken my RPM spec file and build packages for those distros, so all that’s left are the Debian flavors.

I’ve been collecting my packaging work in a repo at https://github.com/citusdata/packaging <https://github.com/citusdata/packaging> , though the most interesting bit is the debian directory <https://github.com/citusdata/packaging/tree/525a46c8b6ac5ab7c52015f8b74bee254559de40/debian>. Christoph already suggested I add a watch file, which I’ve tested using uscan. It has a rule for finding the upstream signing key, which I’ve included in the directory (it’s my key <https://keybase.io/jasonmp85>, which I’ve been using to sign emails and git commits for some time now). If that part is unnecessary, it can be removed. Our release candidate version numbers use a hyphen, so I’ve included a mangler for that as well (to turn it into a tilde).

The extension builds unmodified on PostgreSQL 9.4 and 9.5 on Debian Jessie/Wheezy and Ubuntu Precise/Trusty/Wily. Lintian has no warnings or errors (save the typical one about not closing an ITP bug), and we’ve been using a Jessie package built with this repo in our Docker image.

I still have two remaining questions:

What do I do about the changelog? I’ve included one, but I expect it’s not useful and will need to be replaced by the ultimate packager

I’d really like to avoid having to have a special “debian” branch upstream just to have my debian directory available. I noticed many packages (psqlodbc, check-postgres as two examples) have only a debian folder in the apt repo. Since uscan/uupdate can update solely from a downloaded tarball, it seems like this should be an option. Can I take this approach?

Thanks for any help, and looking forward to having our project in the repo!

--
Jason Petersen
Software Engineer | Citus Data
303.736.9255
jason(at)citusdata(dot)com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jason Petersen 2016-03-25 23:03:16 Re: Getting Citus into (Debian) PGDG
Previous Message Alexander Korotkov 2016-03-25 22:26:34 Re: Move PinBuffer and UnpinBuffer to atomics

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Jason Petersen 2016-03-25 23:03:16 Re: Getting Citus into (Debian) PGDG
Previous Message apt.postgresql.org repository 2016-03-23 17:16:21 pgadmin3 updated to version 1.22.1-1.pgdg+1