-
Notifications
You must be signed in to change notification settings - Fork 38
Debian packaging #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian packaging #23
Conversation
78d3a67
to
55a9e16
Compare
Hi @anayrat, thank you for your contribution!
Same here, so some readme file
Maybe we were wrong, but it was done intentionally, since Postgres requires an Maybe it is rather misleading than useful and we should simply create empty sql update scripts for such minor releases in the future? |
Yes, I will change that.
That was a mistake of my part. Version is obtained from changelog https://github.com/postgrespro/pg_wait_sampling/pull/23/files#diff-45c17c0a080fbe29e2b8ded8940aa1e8R1 |
Hi,
On the questions upthread:
I already added a build job on apt.postgresql.org (which fails because of the wrong version), but we are actually pretty close to get this going. Thanks for working on this! https://pgdgbuild.dus.dg-i.net/job/pg-wait-sampling/ |
Ok, I will remove them.
I don't think contrib are necessary.
Fixed
Fixed
Fixed
Fixed
Fixed
|
701c03d
to
6f894f1
Compare
I noticed I forgot to remove mention of postgres-contrib. It should be fine now. I tested with |
I don't know why travis test is queued but it seems not related to this PR? |
@anayrat, yep, and it has even passed CI [1]. I do not know why the status of PR has not been updated. Anyway, you are right, there is nothing to check in this PR from the CI perspective. I thought that we were just waiting a feedback from @df7cb confirming that packaging worked fine. However, I see that Jenkins build job [2] has not been retried after your latest changes and it is still marked as 'failed'. Should I merge PR first to make package build working? [1] https://travis-ci.com/github/postgrespro/pg_wait_sampling/builds/172812004 |
Sorry for the non-feedback, I'm currently on vacation and won't take this up again until around July 14th. |
One last minor bit, then we are good to go:
Then you can set the distribution to |
6f894f1
to
8fd25a8
Compare
8fd25a8
to
644e4af
Compare
@df7cb it should be ok now :) thanks. |
@df7cb is it possible to trigger a new rebuild on https://pgdgbuild.dus.dg-i.net/job/pg-wait-sampling/ ? Thanks! |
@df7cb as I can see packages seems presents on http://apt.postgresql.org/pub/repos/apt/pool/main/p/pg-wait-sampling/ |
As you can see from the weird version number, these aren't release builds but some intermediate test build product. The packages are available if you add dist-pgdg-testing to your sources.list only. |
I just triggered a real build, packages will be on the mirrors in about an hour. 👍 on merging this now. |
@ololobus ça we merge this pr?
Thanks
|
Should address #21 (cc @df7cb)
Be gentle, I am not used to Debian packaging. I based it on other extensions and how packaging was done for rum : https://salsa.debian.org/postgresql/postgresql-rum/-/tree/debian/
I put myself has maintainer as we must provide email and I did not know which one we should use. I not sure if it is the right way to do.
I also note the Licence is not exactly the same in rum package than in the repo :
https://salsa.debian.org/postgresql/postgresql-rum/-/blob/debian/LICENSE
https://salsa.debian.org/postgresql/postgresql-rum/-/blob/debian/debian/copyright
For the last, I did not know how to run debian's test? I followed the same logic as https://github.com/powa-team/powa-archivist/blob/master/debian/tests/installcheck
While testing it seems there is something weird between latest release 1.1.1 whileFixedEXTVERSION
says1.1
in Makefile https://github.com/postgrespro/pg_wait_sampling/blob/master/Makefile#L7