public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Portage 1.5 improvements list
@ 2001-02-16 10:29 drobbins
  2001-02-16 10:41 ` Achim Gottinger
  0 siblings, 1 reply; 13+ messages in thread
From: drobbins @ 2001-02-16 10:29 UTC (permalink / raw
  To: gentoo-dev

Hiya,

I just committed yet another bug fix to Portage 1.5_pre1.

So far, I have the following features to add for 1.5_final:

1. Don't use the "rev" in the package database.  Packages with the same
version, but different "rev" overwrite each other.  Record revision in
a REVISION file in /var/db/pkg.

Possibly:
	
	Only allow one version of a package installed at a time.
	Override with a DIFFVERSION= setting in the ebuild:

	DIFFVERSION="major" means "allow the same package with differing major
	versions to be installed"

	DIFFVERSION="minor" would allow foo-1.2 and foo-1.3 to be installed at
	the same time, but not foo-1.2 and foo-1.2.1
	
Comments welcome.

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-16 10:29 [gentoo-dev] Portage 1.5 improvements list drobbins
@ 2001-02-16 10:41 ` Achim Gottinger
  2001-02-16 11:20   ` drobbins
  2001-02-18 16:20   ` drobbins
  0 siblings, 2 replies; 13+ messages in thread
From: Achim Gottinger @ 2001-02-16 10:41 UTC (permalink / raw
  To: gentoo-dev

drobbins@gentoo.org wrote:

> Hiya,
>
> I just committed yet another bug fix to Portage 1.5_pre1.
>
> So far, I have the following features to add for 1.5_final:
>
> 1. Don't use the "rev" in the package database.  Packages with the same
> version, but different "rev" overwrite each other.  Record revision in
> a REVISION file in /var/db/pkg.
>
> Possibly:
>
>         Only allow one version of a package installed at a time.
>         Override with a DIFFVERSION= setting in the ebuild:
>
>         DIFFVERSION="major" means "allow the same package with differing major
>         versions to be installed"
>
>         DIFFVERSION="minor" would allow foo-1.2 and foo-1.3 to be installed at
>         the same time, but not foo-1.2 and foo-1.2.1
>
> Comments welcome.
>

If a package provides for example virtual/mta, does it work to add
!virtual/mta to RDEPEND to prevent installation of duplicate mta's ?
 I would call the variable MULTIPLE because DIFFVERSION is abit to long in my
eyes.

achim~

>
> --
> Daniel Robbins                                  <drobbins@gentoo.org>
> President/CEO                                   http://www.gentoo.org
> Gentoo Technologies, Inc.
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://www.gentoo.org/mailman/listinfo/gentoo-dev




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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-16 10:41 ` Achim Gottinger
@ 2001-02-16 11:20   ` drobbins
  2001-02-18 16:20   ` drobbins
  1 sibling, 0 replies; 13+ messages in thread
From: drobbins @ 2001-02-16 11:20 UTC (permalink / raw
  To: gentoo-dev

On Fri, Feb 16, 2001 at 06:13:36PM +0100, Achim Gottinger wrote:

> If a package provides for example virtual/mta, does it work to add
> !virtual/mta to RDEPEND to prevent installation of duplicate mta's ?
>  I would call the variable MULTIPLE because DIFFVERSION is abit to long in my
> eyes.

OK, MULTIPLE is good. 

Ah, another thing I need to add -- pkgmerge virtual merging support.  This gets
complicated; part of me thinks that the *user* should choose the proper virtual
package, rather than us selecting for them.  At first, I was thinking that the
first package listed in /usr/portage/virtual-update would be used, but now I
think that's too simplistic.  I don't want Portage to automatically install
qmail for someone -- I think that they (for safety reasons) should be involved
in that choice.

Right now, a recursive pkgmerge will fail if it gets to a virtual dependency.
It'll let the user know that it couldn't find "virtual/mta" and it will be up
to the user to resolve it.  Comments?

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-16 10:41 ` Achim Gottinger
  2001-02-16 11:20   ` drobbins
@ 2001-02-18 16:20   ` drobbins
  2001-02-18 21:29     ` Jerry A!
  1 sibling, 1 reply; 13+ messages in thread
From: drobbins @ 2001-02-18 16:20 UTC (permalink / raw
  To: gentoo-dev

On Fri, Feb 16, 2001 at 06:13:36PM +0100, Achim Gottinger wrote:

> If a package provides for example virtual/mta, does it work to add
> !virtual/mta to RDEPEND to prevent installation of duplicate mta's ?

!virtual/mta should be added to RDEPEND (for package installs) and DEPEND (for
ebuild merges).  It should work (hasn't been tested yet).  I don't think it
should be automatically added by Portage, but should be specified by the ebuild
maintainer.  Jerry, could you make these two fixes to qmail, exim and postfix?

Best Regards,

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-18 16:20   ` drobbins
@ 2001-02-18 21:29     ` Jerry A!
  2001-02-18 21:31       ` drobbins
  0 siblings, 1 reply; 13+ messages in thread
From: Jerry A! @ 2001-02-18 21:29 UTC (permalink / raw
  To: gentoo-dev

On Sun, Feb 18, 2001 at 04:20:01PM -0700, drobbins@gentoo.org wrote:
: On Fri, Feb 16, 2001 at 06:13:36PM +0100, Achim Gottinger wrote:
: 
: > If a package provides for example virtual/mta, does it work to add
: > !virtual/mta to RDEPEND to prevent installation of duplicate mta's ?
: 
: !virtual/mta should be added to RDEPEND (for package installs) and DEPEND (for
: ebuild merges).  It should work (hasn't been tested yet).  I don't think it
: should be automatically added by Portage, but should be specified by the ebuild
: maintainer.  Jerry, could you make these two fixes to qmail, exim and postfix?
: 
: Best Regards,

Okay, quick question.  Should the syntax be:

DEPEND="!=virtual/mta"

or:

DEPEND="!virtual/mta" 

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!



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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-18 21:29     ` Jerry A!
@ 2001-02-18 21:31       ` drobbins
  2001-02-18 22:59         ` Achim Gottinger
  0 siblings, 1 reply; 13+ messages in thread
From: drobbins @ 2001-02-18 21:31 UTC (permalink / raw
  To: gentoo-dev

On Sun, Feb 18, 2001 at 11:27:45PM -0500, Jerry A! wrote:
> On Sun, Feb 18, 2001 at 04:20:01PM -0700, drobbins@gentoo.org wrote:
> : On Fri, Feb 16, 2001 at 06:13:36PM +0100, Achim Gottinger wrote:
> : 
> : > If a package provides for example virtual/mta, does it work to add
> : > !virtual/mta to RDEPEND to prevent installation of duplicate mta's ?
> : 
> : !virtual/mta should be added to RDEPEND (for package installs) and DEPEND (for
> : ebuild merges).  It should work (hasn't been tested yet).  I don't think it
> : should be automatically added by Portage, but should be specified by the ebuild
> : maintainer.  Jerry, could you make these two fixes to qmail, exim and postfix?
> : 
> : Best Regards,
> 
> Okay, quick question.  Should the syntax be:
> 
> DEPEND="!=virtual/mta"
> 
> or:
> 
> DEPEND="!virtual/mta" 

!virtual/mta, as I wrote in the previous email.

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-18 21:31       ` drobbins
@ 2001-02-18 22:59         ` Achim Gottinger
  2001-02-18 23:14           ` Jerry A!
  2001-02-19  7:44           ` drobbins
  0 siblings, 2 replies; 13+ messages in thread
From: Achim Gottinger @ 2001-02-18 22:59 UTC (permalink / raw
  To: gentoo-dev

drobbins@gentoo.org wrote:

> On Sun, Feb 18, 2001 at 11:27:45PM -0500, Jerry A! wrote:
> > On Sun, Feb 18, 2001 at 04:20:01PM -0700, drobbins@gentoo.org wrote:
> > : On Fri, Feb 16, 2001 at 06:13:36PM +0100, Achim Gottinger wrote:
> > :
> > : > If a package provides for example virtual/mta, does it work to add
> > : > !virtual/mta to RDEPEND to prevent installation of duplicate mta's ?
> > :
> > : !virtual/mta should be added to RDEPEND (for package installs) and DEPEND (for
> > : ebuild merges).  It should work (hasn't been tested yet).  I don't think it
> > : should be automatically added by Portage, but should be specified by the ebuild
> > : maintainer.  Jerry, could you make these two fixes to qmail, exim and postfix?
> > :
> > : Best Regards,
> >
> > Okay, quick question.  Should the syntax be:
> >
> > DEPEND="!=virtual/mta"
> >
> > or:
> >
> > DEPEND="!virtual/mta"
>
> !virtual/mta, as I wrote in the previous email.

But why DEPEND, you should still be able to make an exim package if you have qmail
installed.
I think it is ok to use it in RDEPEND only.

achim~

>
>
> --
> Daniel Robbins                                  <drobbins@gentoo.org>
> President/CEO                                   http://www.gentoo.org
> Gentoo Technologies, Inc.
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://www.gentoo.org/mailman/listinfo/gentoo-dev




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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-18 22:59         ` Achim Gottinger
@ 2001-02-18 23:14           ` Jerry A!
  2001-02-18 23:38             ` Achim Gottinger
  2001-02-19  7:45             ` drobbins
  2001-02-19  7:44           ` drobbins
  1 sibling, 2 replies; 13+ messages in thread
From: Jerry A! @ 2001-02-18 23:14 UTC (permalink / raw
  To: gentoo-dev

On Mon, Feb 19, 2001 at 06:33:18AM +0100, Achim Gottinger wrote:
: 
: But why DEPEND, you should still be able to make an exim package if you
: have qmail installed.
: 
: I think it is ok to use it in RDEPEND only.

Makes sense.  Quick question, will a portage still merge if only RDEPEND
is set?

The reason I ask is since each portage in virtual/mta creates
/usr/sbin/sendmail, etc... multiple virtual/mta installations will just
trash the previous one.
 
        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!



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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-18 23:14           ` Jerry A!
@ 2001-02-18 23:38             ` Achim Gottinger
  2001-02-19  7:45             ` drobbins
  1 sibling, 0 replies; 13+ messages in thread
From: Achim Gottinger @ 2001-02-18 23:38 UTC (permalink / raw
  To: gentoo-dev

"Jerry A!" wrote:

> On Mon, Feb 19, 2001 at 06:33:18AM +0100, Achim Gottinger wrote:
> :
> : But why DEPEND, you should still be able to make an exim package if you
> : have qmail installed.
> :
> : I think it is ok to use it in RDEPEND only.
>
> Makes sense.  Quick question, will a portage still merge if only RDEPEND
> is set?
>
> The reason I ask is since each portage in virtual/mta creates
> /usr/sbin/sendmail, etc... multiple virtual/mta installations will just
> trash the previous one.

I did not have the time to test portage 1.5 yet. But I think that pkgmerge
only tests RDEPEND.
So adding !virtual/mta to DEPEND whould not change pkgmerges behaviour.
Lets wait for daniels answer.

achim~

>
>
>         --Jerry
>
> name:  Jerry Alexandratos         ||  Open-Source software isn't a
> phone: 703.599.6023               ||  matter of life or death...
> email: jerry@thehutt.org          ||  ...It's much more important
>                                   ||  than that!
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://www.gentoo.org/mailman/listinfo/gentoo-dev




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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-18 22:59         ` Achim Gottinger
  2001-02-18 23:14           ` Jerry A!
@ 2001-02-19  7:44           ` drobbins
  2001-02-19  8:12             ` Achim Gottinger
  1 sibling, 1 reply; 13+ messages in thread
From: drobbins @ 2001-02-19  7:44 UTC (permalink / raw
  To: gentoo-dev

On Mon, Feb 19, 2001 at 06:33:18AM +0100, Achim Gottinger wrote:
> > !virtual/mta, as I wrote in the previous email.
> 
> But why DEPEND, you should still be able to make an exim package if you have qmail
> installed.
> I think it is ok to use it in RDEPEND only.

Right now, runtime dependencies are checked *after* a package is merged from sources.
Probably the best solution to this problem is for me to move this check to before the
merge, as it is with a pkgmerge.  Another portage fix :)

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-18 23:14           ` Jerry A!
  2001-02-18 23:38             ` Achim Gottinger
@ 2001-02-19  7:45             ` drobbins
  1 sibling, 0 replies; 13+ messages in thread
From: drobbins @ 2001-02-19  7:45 UTC (permalink / raw
  To: gentoo-dev

On Mon, Feb 19, 2001 at 01:13:37AM -0500, Jerry A! wrote:
> On Mon, Feb 19, 2001 at 06:33:18AM +0100, Achim Gottinger wrote:
> : 
> : But why DEPEND, you should still be able to make an exim package if you
> : have qmail installed.
> : 
> : I think it is ok to use it in RDEPEND only.
> 
> Makes sense.  Quick question, will a portage still merge if only RDEPEND
> is set?
> 
> The reason I ask is since each portage in virtual/mta creates
> /usr/sbin/sendmail, etc... multiple virtual/mta installations will just
> trash the previous one.

The answer is: right now, the RDEPEND setting will prevent a package merge,
but won't prevent a source merge.  I'll fix this in a few minutes (after
I check all my emails) on CVS.

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-19  7:44           ` drobbins
@ 2001-02-19  8:12             ` Achim Gottinger
  2001-02-19  8:23               ` drobbins
  0 siblings, 1 reply; 13+ messages in thread
From: Achim Gottinger @ 2001-02-19  8:12 UTC (permalink / raw
  To: gentoo-dev

drobbins@gentoo.org wrote:

> On Mon, Feb 19, 2001 at 06:33:18AM +0100, Achim Gottinger wrote:
> > > !virtual/mta, as I wrote in the previous email.
> >
> > But why DEPEND, you should still be able to make an exim package if you have qmail
> > installed.
> > I think it is ok to use it in RDEPEND only.
>
> Right now, runtime dependencies are checked *after* a package is merged from sources.
> Probably the best solution to this problem is for me to move this check to before the
> merge, as it is with a pkgmerge.  Another portage fix :)
>

Can you add a flag which forces merge even if RDEPEND is not satisfied?

achim~

>
> --
> Daniel Robbins                                  <drobbins@gentoo.org>
> President/CEO                                   http://www.gentoo.org
> Gentoo Technologies, Inc.
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://www.gentoo.org/mailman/listinfo/gentoo-dev




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

* Re: [gentoo-dev] Portage 1.5 improvements list
  2001-02-19  8:12             ` Achim Gottinger
@ 2001-02-19  8:23               ` drobbins
  0 siblings, 0 replies; 13+ messages in thread
From: drobbins @ 2001-02-19  8:23 UTC (permalink / raw
  To: gentoo-dev

On Mon, Feb 19, 2001 at 03:46:16PM +0100, Achim Gottinger wrote:

> Can you add a flag which forces merge even if RDEPEND is not satisfied?

Yes.  I now have a "TODO" doc in /usr/share/doc/portage-1.5_pre2 which
contains all the things I need to add to portage.  I listed this addition
there.

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

end of thread, other threads:[~2001-02-19 15:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-16 10:29 [gentoo-dev] Portage 1.5 improvements list drobbins
2001-02-16 10:41 ` Achim Gottinger
2001-02-16 11:20   ` drobbins
2001-02-18 16:20   ` drobbins
2001-02-18 21:29     ` Jerry A!
2001-02-18 21:31       ` drobbins
2001-02-18 22:59         ` Achim Gottinger
2001-02-18 23:14           ` Jerry A!
2001-02-18 23:38             ` Achim Gottinger
2001-02-19  7:45             ` drobbins
2001-02-19  7:44           ` drobbins
2001-02-19  8:12             ` Achim Gottinger
2001-02-19  8:23               ` drobbins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox