Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Zac Medico
On 11/27/2015 06:10 AM, Joakim Tjernlund wrote:
> On Fri, 2015-11-27 at 14:46 +0100, Michał Górny wrote:
>> On Fri, 27 Nov 2015 13:35:39 +
>> Joakim Tjernlund  wrote:
>>
>>> On Fri, 2015-11-27 at 13:46 +0100, Michał Górny wrote:
 On Fri, 27 Nov 2015 11:45:48 +
 Joakim Tjernlund  wrote:
   
> On Fri, 2015-11-27 at 00:41 -0800, Zac Medico wrote:  
>> On 11/27/2015 12:24 AM, Joakim Tjernlund wrote:
>>> On a related note, could not profile-formats = portage-2 profile-set
>>> become default ?
>>
>> For purposes of interoperability, we use PMS to document the standard
>> profile format. So, in order to change the default profile format as you
>> suggest, we would have to change PMS retroactively. Generally,
>> retroactive changes to PMS need to be very well justified in order to be
>> accepted.
>
> hmm, how about in gentoo layout.conf?
> There seems to be additions there so perhaps one can add
> profile-formats = portage-2 profile-set ?  

 This will break the two alternative package managers as profile-set is
 only implemented in Portage.  
>>>
>>> What about:
>>> # Use thin Manifests for Git
>>> thin-manifests = false
>>>
>>> # Sign Git commits, and NOT Manifests
>>> sign-commits = false
>>> sign-manifests = false
>>>
>>> Are these not fairly new too? How could these enter the gentoo repo?
>>
>> Hardly. They were both supported for a few years now (and used in many
>> repositories), and considered useful.
>>
>>> What about adding portage-2 now and announce profile-set to be added soon?
>>
>> Why? Most of us don't even have a clue what is it and how it works.
>> In fact, the name 'portage-*' implies it's non-standard extension that
>> can't be used where portability matters.
>>
> 
> portage-2 allows stacking of (custom) profiles, very useful I think.
> profile-set I think is needed for the @profile set, impl. in 
> https://bugs.gentoo.org/show_bug.cgi?id=532224
> 
>  Jocke
> 

You can open a separate [Future EAPI] bug for each feature that you
would like added to PMS. For example:

https://bugs.gentoo.org/show_bug.cgi?id=282296
-- 
Thanks,
Zac



Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Michał Górny
On Fri, 27 Nov 2015 11:45:48 +
Joakim Tjernlund  wrote:

> On Fri, 2015-11-27 at 00:41 -0800, Zac Medico wrote:
> > On 11/27/2015 12:24 AM, Joakim Tjernlund wrote:  
> > > On a related note, could not profile-formats = portage-2 profile-set
> > > become default ?  
> > 
> > For purposes of interoperability, we use PMS to document the standard
> > profile format. So, in order to change the default profile format as you
> > suggest, we would have to change PMS retroactively. Generally,
> > retroactive changes to PMS need to be very well justified in order to be
> > accepted.  
> 
> hmm, how about in gentoo layout.conf?
> There seems to be additions there so perhaps one can add
> profile-formats = portage-2 profile-set ?

This will break the two alternative package managers as profile-set is
only implemented in Portage.

-- 
Best regards,
Michał Górny



pgpDHH_rRgpxL.pgp
Description: OpenPGP digital signature


Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Fri, 2015-11-27 at 00:41 -0800, Zac Medico wrote:
> On 11/27/2015 12:24 AM, Joakim Tjernlund wrote:
> > On a related note, could not profile-formats = portage-2 profile-set
> > become default ?
> 
> For purposes of interoperability, we use PMS to document the standard
> profile format. So, in order to change the default profile format as you
> suggest, we would have to change PMS retroactively. Generally,
> retroactive changes to PMS need to be very well justified in order to be
> accepted.

hmm, how about in gentoo layout.conf?
There seems to be additions there so perhaps one can add
profile-formats = portage-2 profile-set ?

It is a pity these new features rarely sees the light of day as
few knowns about them.

 Jocke


Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Fri, 2015-11-27 at 13:46 +0100, Michał Górny wrote:
> On Fri, 27 Nov 2015 11:45:48 +
> Joakim Tjernlund  wrote:
> 
> > On Fri, 2015-11-27 at 00:41 -0800, Zac Medico wrote:
> > > On 11/27/2015 12:24 AM, Joakim Tjernlund wrote:  
> > > > On a related note, could not profile-formats = portage-2 profile-set
> > > > become default ?  
> > > 
> > > For purposes of interoperability, we use PMS to document the standard
> > > profile format. So, in order to change the default profile format as you
> > > suggest, we would have to change PMS retroactively. Generally,
> > > retroactive changes to PMS need to be very well justified in order to be
> > > accepted.  
> > 
> > hmm, how about in gentoo layout.conf?
> > There seems to be additions there so perhaps one can add
> > profile-formats = portage-2 profile-set ?
> 
> This will break the two alternative package managers as profile-set is
> only implemented in Portage.

What about:
# Use thin Manifests for Git
thin-manifests = false

# Sign Git commits, and NOT Manifests
sign-commits = false
sign-manifests = false

Are these not fairly new too? How could these enter the gentoo repo?

What about adding portage-2 now and announce profile-set to be added soon?

 Jocke

Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Michał Górny
On Fri, 27 Nov 2015 13:35:39 +
Joakim Tjernlund  wrote:

> On Fri, 2015-11-27 at 13:46 +0100, Michał Górny wrote:
> > On Fri, 27 Nov 2015 11:45:48 +
> > Joakim Tjernlund  wrote:
> >   
> > > On Fri, 2015-11-27 at 00:41 -0800, Zac Medico wrote:  
> > > > On 11/27/2015 12:24 AM, Joakim Tjernlund wrote:    
> > > > > On a related note, could not profile-formats = portage-2 profile-set
> > > > > become default ?    
> > > > 
> > > > For purposes of interoperability, we use PMS to document the standard
> > > > profile format. So, in order to change the default profile format as you
> > > > suggest, we would have to change PMS retroactively. Generally,
> > > > retroactive changes to PMS need to be very well justified in order to be
> > > > accepted.    
> > > 
> > > hmm, how about in gentoo layout.conf?
> > > There seems to be additions there so perhaps one can add
> > > profile-formats = portage-2 profile-set ?  
> > 
> > This will break the two alternative package managers as profile-set is
> > only implemented in Portage.  
> 
> What about:
> # Use thin Manifests for Git
> thin-manifests = false
> 
> # Sign Git commits, and NOT Manifests
> sign-commits = false
> sign-manifests = false
> 
> Are these not fairly new too? How could these enter the gentoo repo?

Hardly. They were both supported for a few years now (and used in many
repositories), and considered useful.

> What about adding portage-2 now and announce profile-set to be added soon?

Why? Most of us don't even have a clue what is it and how it works.
In fact, the name 'portage-*' implies it's non-standard extension that
can't be used where portability matters.

-- 
Best regards,
Michał Górny



pgpYturG2fQSB.pgp
Description: OpenPGP digital signature


Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Fri, 2015-11-27 at 14:46 +0100, Michał Górny wrote:
> On Fri, 27 Nov 2015 13:35:39 +
> Joakim Tjernlund  wrote:
> 
> > On Fri, 2015-11-27 at 13:46 +0100, Michał Górny wrote:
> > > On Fri, 27 Nov 2015 11:45:48 +
> > > Joakim Tjernlund  wrote:
> > >   
> > > > On Fri, 2015-11-27 at 00:41 -0800, Zac Medico wrote:  
> > > > > On 11/27/2015 12:24 AM, Joakim Tjernlund wrote:
> > > > > > On a related note, could not profile-formats = portage-2 profile-set
> > > > > > become default ?
> > > > > 
> > > > > For purposes of interoperability, we use PMS to document the standard
> > > > > profile format. So, in order to change the default profile format as 
> > > > > you
> > > > > suggest, we would have to change PMS retroactively. Generally,
> > > > > retroactive changes to PMS need to be very well justified in order to 
> > > > > be
> > > > > accepted.
> > > > 
> > > > hmm, how about in gentoo layout.conf?
> > > > There seems to be additions there so perhaps one can add
> > > > profile-formats = portage-2 profile-set ?  
> > > 
> > > This will break the two alternative package managers as profile-set is
> > > only implemented in Portage.  
> > 
> > What about:
> > # Use thin Manifests for Git
> > thin-manifests = false
> > 
> > # Sign Git commits, and NOT Manifests
> > sign-commits = false
> > sign-manifests = false
> > 
> > Are these not fairly new too? How could these enter the gentoo repo?
> 
> Hardly. They were both supported for a few years now (and used in many
> repositories), and considered useful.
> 
> > What about adding portage-2 now and announce profile-set to be added soon?
> 
> Why? Most of us don't even have a clue what is it and how it works.
> In fact, the name 'portage-*' implies it's non-standard extension that
> can't be used where portability matters.
> 

portage-2 allows stacking of (custom) profiles, very useful I think.
profile-set I think is needed for the @profile set, impl. in 
https://bugs.gentoo.org/show_bug.cgi?id=532224

 Jocke

Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Thu, 2015-11-26 at 10:47 -0800, Zac Medico wrote:
> On 11/24/2015 09:24 AM, Joakim Tjernlund wrote:
> > I have created my own set, @cusfpv3, and now I want to
> > include this set in @world using my custom profile.
> > How can I do that?
> > 
> > I can add it in overlay/sets.conf:
> > [CUSFPv3 sets]
> > class = portage.sets.files.StaticFileSet
> > multiset = true
> > directory = %(PORTAGE_CONFIGROOT)s${repository:tmv3-target-overlay}/sets/
> > 
> > [world]
> > class = portage.sets.base.DummyPackageSet
> > packages =  @cusfpv3 @profile @selected @system
> > 
> > But then this set becomes active as soon as one add the overlay to
> > a machine and I do not want that.
> > 
> >   Jocke
> > 
> 
> We could extend the @profile set to support nested sets. Would you like
> to file a feature request bug? For example, I requested support for the
> @profile set in this bug:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=532224

Feature req. in bug https://bugs.gentoo.org/show_bug.cgi?id=566960

 Thanks
         Jocke



Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Fri, 2015-11-27 at 09:12 +0100, an unknown sender wrote:
> On Thu, 2015-11-26 at 10:47 -0800, Zac Medico wrote:
> > On 11/24/2015 09:24 AM, Joakim Tjernlund wrote:
> > > I have created my own set, @cusfpv3, and now I want to
> > > include this set in @world using my custom profile.
> > > How can I do that?
> > > 
> > > I can add it in overlay/sets.conf:
> > > [CUSFPv3 sets]
> > > class = portage.sets.files.StaticFileSet
> > > multiset = true
> > > directory = %(PORTAGE_CONFIGROOT)s${repository:tmv3-target-overlay}/sets/
> > > 
> > > [world]
> > > class = portage.sets.base.DummyPackageSet
> > > packages =  @cusfpv3 @profile @selected @system
> > > 
> > > But then this set becomes active as soon as one add the overlay to
> > > a machine and I do not want that.
> > > 
> > >   Jocke
> > > 
> > 
> > We could extend the @profile set to support nested sets. Would you like
> > to file a feature request bug? For example, I requested support for the
> > @profile set in this bug:
> > 
> > https://bugs.gentoo.org/show_bug.cgi?id=532224
> 
> Feature req. in bug https://bugs.gentoo.org/show_bug.cgi?id=566960
> 
>  Thanks
>          Jocke

On a related note, could not profile-formats = portage-2 profile-set
become default ?

 Jocke



Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Zac Medico
On 11/27/2015 12:24 AM, Joakim Tjernlund wrote:
> On a related note, could not profile-formats = portage-2 profile-set
> become default ?

For purposes of interoperability, we use PMS to document the standard
profile format. So, in order to change the default profile format as you
suggest, we would have to change PMS retroactively. Generally,
retroactive changes to PMS need to be very well justified in order to be
accepted.
-- 
Thanks,
Zac



Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-26 Thread Zac Medico
On 11/24/2015 09:24 AM, Joakim Tjernlund wrote:
> I have created my own set, @cusfpv3, and now I want to
> include this set in @world using my custom profile.
> How can I do that?
> 
> I can add it in overlay/sets.conf:
> [CUSFPv3 sets]
> class = portage.sets.files.StaticFileSet
> multiset = true
> directory = %(PORTAGE_CONFIGROOT)s${repository:tmv3-target-overlay}/sets/
> 
> [world]
> class = portage.sets.base.DummyPackageSet
> packages =  @cusfpv3 @profile @selected @system
> 
> But then this set becomes active as soon as one add the overlay to
> a machine and I do not want that.
> 
>   Jocke
> 

We could extend the @profile set to support nested sets. Would you like
to file a feature request bug? For example, I requested support for the
@profile set in this bug:

https://bugs.gentoo.org/show_bug.cgi?id=532224
-- 
Thanks,
Zac



[gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-24 Thread Joakim Tjernlund
I have created my own set, @cusfpv3, and now I want to
include this set in @world using my custom profile.
How can I do that?

I can add it in overlay/sets.conf:
[CUSFPv3 sets]
class = portage.sets.files.StaticFileSet
multiset = true
directory = %(PORTAGE_CONFIGROOT)s${repository:tmv3-target-overlay}/sets/

[world]
class = portage.sets.base.DummyPackageSet
packages =  @cusfpv3 @profile @selected @system

But then this set becomes active as soon as one add the overlay to
a machine and I do not want that.

  Jocke