powa-team / powa-archivist

powa-archivist: the powa PostgreSQL extension
http://powa.readthedocs.io/
PostgreSQL License
52 stars 20 forks source link

Initial Debian packaging #2

Closed df7cb closed 7 years ago

df7cb commented 8 years ago

Hi,

here's a debian/ directory for powa 3.0.0.

Note that debian packages expect a tarball that is identical with the directory (aka git clone) contents, so this branch is intentionally not based on HEAD, but on the 3.0.0 tag. It's probably best if you copy it into the repo as "debian" branch as-is, and only merge master into it after every release.

I've already put it on apt.postgresql.org and built packages 9.4/9.5/9.6 from it.

Cheers, Christoph

rjuju commented 7 years ago

Hello Christoph,

Really sorry for the really really late answer :(

First thanks a lot for the packaging. What would be best for you to ease the packaging? We'd prefer to have all files needed for the packaging in master branch, and rebase a dedicated branch if needed for the packaging. Would that be ok for you?

df7cb commented 7 years ago

Hello Julien,

I think for now you could just merge it into devel (or master). There will be the problem that as soon as there's upstream (i.e. non-debian/* changes), dpkg-buildpackage will complain because now debian/source/format is on "3.0 (quilt)", though that would easily be fixed by setting that to "1.0".

1.0 will have the disadvantage that it's harder to apply patches on top of the packaging, but as you could just release a new version with a fix, that's not a problem.

Ideally I'd claim it would be useful if I had write (collaborator) access to the repository so I can push debian/* changes, but that would likely work via pull requests as well.

Thanks for the feedback! Christoph

PS: It turns out that "debian directory in upstream master" is a much harder problem than one would think... maybe Debian needs to invent more glue for that.

rjuju commented 7 years ago

I'm not quite sure I get all the details about source/format, but of course if there's any issue we'll commit a fix and release a new version as needed.

I just gave you write access on the repository. You can check if it's ok by merging this pull request if it's ok for you :) Thanks again for taking care of the packaging!

df7cb commented 7 years ago

Thanks, will check later today!

Christoph

df7cb commented 7 years ago

I just pushed the changes. That part of the git history looks a bit messy, though future updates should be linear again I'd think.

Thanks for the write permissions!

rjuju commented 7 years ago

Thanks!