public inbox for [email protected]  
help / color / mirror / Atom feed
Packaging request - pgvector
10+ messages / 3 participants
[nested] [flat]

* Packaging request - pgvector
@ 2023-04-13 00:33 Paul De Audney <[email protected]>
  2023-04-13 03:13 ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  0 siblings, 1 reply; 10+ messages in thread

From: Paul De Audney @ 2023-04-13 00:33 UTC (permalink / raw)
  To: [email protected]

Hello maintainers,

Thank you for all the work you do maintaining the packages.

I was wondering what is the correct way to make a packaging request for
https://github.com/pgvector/pgvector?

The yum repo has this already packaged, is there any shared
infrastructure/packaging targets between the packaging formats/repos?

Kind regards,

Paul


^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Packaging request - pgvector
  2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
@ 2023-04-13 03:13 ` Bradford Boyle <[email protected]>
  2023-04-13 05:56   ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  0 siblings, 1 reply; 10+ messages in thread

From: Bradford Boyle @ 2023-04-13 03:13 UTC (permalink / raw)
  To: Paul De Audney <[email protected]>; +Cc: [email protected]

On Wed, Apr 12, 2023 at 5:33 PM Paul De Audney <[email protected]> wrote:
>
> Hello maintainers,
>
> Thank you for all the work you do maintaining the packages.
>
> I was wondering what is the correct way to make a packaging request for https://github.com/pgvector/pgvector?
>
> The yum repo has this already packaged, is there any shared infrastructure/packaging targets between the packaging formats/repos?
>
> Kind regards,
>
> Paul

Hi Paul,

I'm not a member of the PostgreSQL Debian packaging team and my
knowledge comes from looking at the various package repos and the code
for pgapt -- it's entirely possible that my knowledge is incorrect.
With that said, my understanding of how the PostgreSQL APT repo is
populated is that it takes upstream packages from Debian unstable and
rebuilds source and binary packages for all supported Debian and
Ubuntu distributions. The first step would be to prepare a Debian
package for pgvector and submit it for inclusion in Debian unstable.
Once that is done, a job can be added to pgapt to populate the repo
with rebuilds of this package.

I just checked and it doesn't look like there is an existing package
for pgvector, nor is there an intent to package (ITP) in the Debian
bug tracking system (BTS). I can help with creating a Debian package
for pgvector and preparing a patch for pgapt, but I'd need a Debian
developer to sponsor the upload to unstable and someone with commit
privileges to pgapt. If there's no objection, I can take a first pass
at this over the weekend.

-- Bradford





^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Packaging request - pgvector
  2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
  2023-04-13 03:13 ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
@ 2023-04-13 05:56   ` Christoph Berg <[email protected]>
  2023-04-13 06:52     ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  0 siblings, 1 reply; 10+ messages in thread

From: Christoph Berg @ 2023-04-13 05:56 UTC (permalink / raw)
  To: Bradford Boyle <[email protected]>; +Cc: Paul De Audney <[email protected]>; [email protected]

Re: Bradford Boyle
> > I was wondering what is the correct way to make a packaging request for https://github.com/pgvector/pgvector?
> 
> I just checked and it doesn't look like there is an existing package
> for pgvector, nor is there an intent to package (ITP) in the Debian
> bug tracking system (BTS). I can help with creating a Debian package
> for pgvector and preparing a patch for pgapt, but I'd need a Debian
> developer to sponsor the upload to unstable and someone with commit
> privileges to pgapt. If there's no objection, I can take a first pass
> at this over the weekend.

That sounds excellent.

Would you want to maintain it within the PostgreSQL team on
salsa.debian.org where the other team-maintained packages live? I can
give you commit access there.

Christoph





^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Packaging request - pgvector
  2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
  2023-04-13 03:13 ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 05:56   ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
@ 2023-04-13 06:52     ` Bradford Boyle <[email protected]>
  2023-04-13 18:16       ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  0 siblings, 1 reply; 10+ messages in thread

From: Bradford Boyle @ 2023-04-13 06:52 UTC (permalink / raw)
  To: Christoph Berg <[email protected]>; +Cc: Paul De Audney <[email protected]>; [email protected]

> Would you want to maintain it within the PostgreSQL team on
> salsa.debian.org where the other team-maintained packages live? I can
> give you commit access there.

I think maintaining it within the PostgreSQL team on salsa.debian.org
makes sense; my username is bradfordboyle. Let me know if you need any
other information, otherwise I'll follow up here when I have something
ready for review.

mfg,
--Bradford





^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Packaging request - pgvector
  2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
  2023-04-13 03:13 ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 05:56   ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-13 06:52     ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
@ 2023-04-13 18:16       ` Christoph Berg <[email protected]>
  2023-04-14 06:05         ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  0 siblings, 1 reply; 10+ messages in thread

From: Christoph Berg @ 2023-04-13 18:16 UTC (permalink / raw)
  To: Bradford Boyle <[email protected]>; +Cc: Paul De Audney <[email protected]>; [email protected]

Re: Bradford Boyle
> I think maintaining it within the PostgreSQL team on salsa.debian.org
> makes sense; my username is bradfordboyle. Let me know if you need any
> other information, otherwise I'll follow up here when I have something
> ready for review.

I sent you an invite, let me know if I can help with anything.

Thanks,
Christoph





^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Packaging request - pgvector
  2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
  2023-04-13 03:13 ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 05:56   ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-13 06:52     ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 18:16       ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
@ 2023-04-14 06:05         ` Bradford Boyle <[email protected]>
  2023-04-14 17:57           ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  0 siblings, 1 reply; 10+ messages in thread

From: Bradford Boyle @ 2023-04-14 06:05 UTC (permalink / raw)
  To: Christoph Berg <[email protected]>; +Cc: Paul De Audney <[email protected]>; [email protected]

Hi Christoph,

I got around to working on this before the weekend. Here is a summary of what I
have done so far and where you can find the different pieces.

* Opened an ITP bug [1] for pgvector
  * Wasn't sure if I should use 'X-Debbugs-Cc' to send the bug to either
    pgsql-pkg-debian or team+postgresql; I erred on the side of caution and not
    spamming lists
* Used 'dh make_pgxs' to create the initial source package
  * d/control has me listed as uploader; I think this is correct given my
    understanding of Debian policy [2]
  * d/changelog contains 'UNRELEASED'; my experience with the Debian Go team is
    that it should remain 'UNREALEASED' until its actually uploaded
* Addressed all FIXMEs in the initial source package
* Verified the package builds locally w/ sbuild
* Created new project on salsa [3], update CI/CD settings to point
  d/gitlab-ci.yml
  * For now, I've pushed my work to 'develop' and not 'master' so I can
    incorporate any feedback before squashing and pushing to 'master'
* Added a job for pgvector to the pgapt Jenkins jobs (attached as a patch)

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034391
[2]: https://www.debian.org/doc/debian-policy/ch-controlfields.html#uploaders
[3]: https://salsa.debian.org/postgresql/pgvector


Attachments:

  [application/octet-stream] 0001-Add-pgvector.patch (1.3K, 2-0001-Add-pgvector.patch)
  download | inline diff:
From 24d811d763e239a68c03f289fdb9da611a0645a3 Mon Sep 17 00:00:00 2001
From: "Bradford D. Boyle" <[email protected]>
Date: Fri, 14 Apr 2023 05:43:13 +0000
Subject: [PATCH] Add pgvector

---
 jenkins/packages           | 1 +
 jenkins/packages.betatests | 1 +
 jenkins/pgapt-jobs.yaml    | 6 ++++++
 3 files changed, 8 insertions(+)

diff --git a/jenkins/packages b/jenkins/packages
index 361e6f6..06f459b 100644
--- a/jenkins/packages
+++ b/jenkins/packages
@@ -88,6 +88,7 @@ pgsql-ogr-fdw
 pgstat
 pgtap
 pgtop
+pgvector
 pgxnclient
 pldebugger
 plpgsql-check
diff --git a/jenkins/packages.betatests b/jenkins/packages.betatests
index a63226a..e887aa0 100644
--- a/jenkins/packages.betatests
+++ b/jenkins/packages.betatests
@@ -81,6 +81,7 @@ pgsql-ogr-fdw
 pgstat
 pgtap
 pgtop
+pgvector
 pgxnclient
 pldebugger
 plpgsql-check
diff --git a/jenkins/pgapt-jobs.yaml b/jenkins/pgapt-jobs.yaml
index 7b81048..6c993a0 100644
--- a/jenkins/pgapt-jobs.yaml
+++ b/jenkins/pgapt-jobs.yaml
@@ -1581,6 +1581,12 @@
         jobs:
                 - git-packages-with-beta
 
+- project:
+        name: pgvector
+        git-url: https://salsa.debian.org/postgresql/pgvector
+        jobs:
+                - git-packages
+
 - project:
         name: pg-wait-sampling
         git-url: https://github.com/postgrespro/pg_wait_sampling.git
-- 
2.39.2



^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Packaging request - pgvector
  2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
  2023-04-13 03:13 ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 05:56   ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-13 06:52     ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 18:16       ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-14 06:05         ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
@ 2023-04-14 17:57           ` Christoph Berg <[email protected]>
  2023-05-14 20:17             ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  0 siblings, 1 reply; 10+ messages in thread

From: Christoph Berg @ 2023-04-14 17:57 UTC (permalink / raw)
  To: Bradford Boyle <[email protected]>; +Cc: Paul De Audney <[email protected]>; [email protected]

Re: Bradford Boyle
> I got around to working on this before the weekend. Here is a summary of what I
> have done so far and where you can find the different pieces.

Hi Bradford,

I'm currently travelling so I can't promise to look at it now, but
what you said sounds very promising. Will check asap.

>   * d/control has me listed as uploader; I think this is correct given my
>     understanding of Debian policy [2]

Uploaders has been misnamed forever, it's really "Co-Maintainers", so
your name in there is correct and welcome.

Christoph





^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Packaging request - pgvector
  2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
  2023-04-13 03:13 ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 05:56   ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-13 06:52     ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 18:16       ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-14 06:05         ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-14 17:57           ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
@ 2023-05-14 20:17             ` Bradford Boyle <[email protected]>
  2023-05-17 15:08               ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  0 siblings, 1 reply; 10+ messages in thread

From: Bradford Boyle @ 2023-05-14 20:17 UTC (permalink / raw)
  To: Christoph Berg <[email protected]>; +Cc: Paul De Audney <[email protected]>; [email protected]

Hi Christoph,

I wanted to follow up on this thread and see if there are any
outstanding items that I can work on addressing.

Thanks,
--Bradford





^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Packaging request - pgvector
  2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
  2023-04-13 03:13 ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 05:56   ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-13 06:52     ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 18:16       ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-14 06:05         ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-14 17:57           ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-05-14 20:17             ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
@ 2023-05-17 15:08               ` Christoph Berg <[email protected]>
  2023-05-22 17:08                 ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  0 siblings, 1 reply; 10+ messages in thread

From: Christoph Berg @ 2023-05-17 15:08 UTC (permalink / raw)
  To: Bradford Boyle <[email protected]>; +Cc: Paul De Audney <[email protected]>; [email protected]

Re: Bradford Boyle
> I wanted to follow up on this thread and see if there are any
> outstanding items that I can work on addressing.

Hi Bradford,

sorry I simply forgot to follow up.

The packaging looks very good, I just had to do a minor tweak in
debian/watch to make it download the tarball.

Unfortunately there's a problem with i386:
https://github.com/pgvector/pgvector/issues/131
... but depending on what upstream thinks, we might simply ignore it.

Another bit was to make it work on ppc64el:
https://salsa.debian.org/postgresql/pgvector/-/blob/develop/debian/patches/no-native

Apart from the i386 issue, it looks good now:
https://pgdgbuild.dus.dg-i.net/job/pgvector-binaries/2/

I'll push the architectures that built to apt.pg.o so people can
already have a look in the *-pgdg-testing distributions.

Thanks,
Christoph





^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Packaging request - pgvector
  2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
  2023-04-13 03:13 ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 05:56   ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-13 06:52     ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-13 18:16       ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-04-14 06:05         ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-04-14 17:57           ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
  2023-05-14 20:17             ` Re: Packaging request - pgvector Bradford Boyle <[email protected]>
  2023-05-17 15:08               ` Re: Packaging request - pgvector Christoph Berg <[email protected]>
@ 2023-05-22 17:08                 ` Christoph Berg <[email protected]>
  0 siblings, 0 replies; 10+ messages in thread

From: Christoph Berg @ 2023-05-22 17:08 UTC (permalink / raw)
  To: Bradford Boyle <[email protected]>; +Cc: Paul De Audney <[email protected]>; [email protected]

Re: To Bradford Boyle
> Unfortunately there's a problem with i386:
> https://github.com/pgvector/pgvector/issues/131
> ... but depending on what upstream thinks, we might simply ignore it.

Hi Bradford,

with the recent upstream changes, everything looks good now.

Thanks for such an excellent packaging!

(Feel free to also wander into other packages if you want to.)

Christoph






^ permalink  raw  reply  [nested|flat] 10+ messages in thread


end of thread, other threads:[~2023-05-22 17:08 UTC | newest]

Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-04-13 00:33 Packaging request - pgvector Paul De Audney <[email protected]>
2023-04-13 03:13 ` Bradford Boyle <[email protected]>
2023-04-13 05:56   ` Christoph Berg <[email protected]>
2023-04-13 06:52     ` Bradford Boyle <[email protected]>
2023-04-13 18:16       ` Christoph Berg <[email protected]>
2023-04-14 06:05         ` Bradford Boyle <[email protected]>
2023-04-14 17:57           ` Christoph Berg <[email protected]>
2023-05-14 20:17             ` Bradford Boyle <[email protected]>
2023-05-17 15:08               ` Christoph Berg <[email protected]>
2023-05-22 17:08                 ` Christoph Berg <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox