Re: modules

From: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
To: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Magnus Hagander <magnus(at)hagander(dot)net>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: modules
Date: 2008-04-03 16:57:57
Message-ID: 20080403125757.e4ce5312.darcy@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thu, 03 Apr 2008 09:31:01 -0700
Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com> wrote:
> D'Arcy J.M. Cain wrote:
> > Check out NetBSD pkgsrc as a model. It is very flexible. One nice
> > thing would be the ability to specify where the packages are rather
> > than always insisting that they be on pgfoundry.
>
> Yup - a feature shared by RubyGems:
> gem install rails ?source http://gems.rubyonrails.org

Yes but what I am suggesting goes beyond that. My idea is that there
is a modules directory that contains a file for each installable
module. This file would contain all the information about the module
such as name, version, where to get the actual package, an MD5 checksum
of the package, minimum and maximum PostgreSQL versions required, etc.

Naturally we should allow for people to define their own local packages
as well.

In fact, this may be the way to deprecate contrib. Start building
modules and move the contrib packages to it one at a time. That way
people using contrib have some time to switch and we can point people
to modules if they are just starting out.

Is there support for this idea? I would like to start exploring this
if so.

--
D'Arcy J.M. Cain <darcy(at)druid(dot)net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.

In response to

Responses

  • Re: modules at 2008-04-03 17:06:25 from Andrew Dunstan
  • Re: modules at 2008-04-06 18:28:59 from Tino Wildenhain

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-04-03 17:00:50 Re: choosing the right locking mode
Previous Message Joshua D. Drake 2008-04-03 16:55:16 Re: modules

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-04-03 17:02:34 Re: Small TRUNCATE glitch
Previous Message Joshua D. Drake 2008-04-03 16:55:16 Re: modules