Re: [HACKERS] Satisfy extension dependency by one of multiple extensions

2011-09-24 Thread Joshua Berkus
All, > >> We might want to have a system where an extension can declare that > >> it > >> "provides" capabilites, and then have another extension "require" > >> those > >> capabilities. That would be a neater solution to the case that > >> there are > >> multiple extensions that all provide the sa

Re: [HACKERS] Satisfy extension dependency by one of multiple extensions

2011-09-24 Thread Dimitri Fontaine
Yeb Havinga writes: >> We might want to have a system where an extension can declare that it >> "provides" capabilites, and then have another extension "require" those >> capabilities. That would be a neater solution to the case that there are >> multiple extensions that all provide the same capab

Re: [HACKERS] Satisfy extension dependency by one of multiple extensions

2011-09-23 Thread Yeb Havinga
On 2011-09-23 14:19, Heikki Linnakangas wrote: On 23.09.2011 14:56, Yeb Havinga wrote: I have a use case where an extension dependency can be satisfied by one of five other extensions. Currently I'm unable to express that in the extension control file, since the elements from 'requires' are curr

Re: [HACKERS] Satisfy extension dependency by one of multiple extensions

2011-09-23 Thread Heikki Linnakangas
On 23.09.2011 14:56, Yeb Havinga wrote: I have a use case where an extension dependency can be satisfied by one of five other extensions. Currently I'm unable to express that in the extension control file, since the elements from 'requires' are currently searched on exact name match. The attached

[HACKERS] Satisfy extension dependency by one of multiple extensions

2011-09-23 Thread Yeb Havinga
Hello list, I have a use case where an extension dependency can be satisfied by one of five other extensions. Currently I'm unable to express that in the extension control file, since the elements from 'requires' are currently searched on exact name match. The attached patch changes this behav