Re: [pacman-dev] Alternatives system brainstorm

2019-10-17 Thread Eli Schwartz
On 10/17/19 10:10 PM, Giancarlo Razzolini wrote: > Em outubro 17, 2019 22:06 Allan McRae escreveu: >> No - this conversation is entire about the alternative system.  We are >> talking about priorities within the alternative system (as implemented >> in other distros). >> >> E.g. when installing

Re: [pacman-dev] Alternatives system brainstorm

2019-10-17 Thread Giancarlo Razzolini
Em outubro 17, 2019 22:06 Allan McRae escreveu: No - this conversation is entire about the alternative system. We are talking about priorities within the alternative system (as implemented in other distros). E.g. when installing python3 and python2 in the same transaction, which one should be

Re: [pacman-dev] Alternatives system brainstorm

2019-10-17 Thread Allan McRae
On 18/10/19 5:04 am, Giancarlo Razzolini wrote: > Em outubro 17, 2019 12:41 Eli Schwartz escreveu: >> >> If priorities are implemented they should be wherever the actual >> alternatives are, IMO. Less fragmentation. If pacman already needs to >> read an "alternatives" database to know what the

[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.1.1-240-g9ddd0be0

2019-10-17 Thread Allan McRae
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository". The branch, master has been updated via 9ddd0be02776f3b08cc3adc8a65f0630c05574f8 (commit)

Re: [pacman-dev] [PATCH 2/2] [WIP] run XferCommand via exec

2019-10-17 Thread Morten Linderud
On Thu, Oct 17, 2019 at 11:47:58AM -0400, Eli Schwartz wrote: > On 10/17/19 11:04 AM, Morten Linderud wrote: > > On Thu, Oct 17, 2019 at 05:01:46PM +0200, Morten Linderud wrote: > >> On Sun, Jun 09, 2019 at 10:13:55AM -0700, Andrew Gregory wrote: > >>> --- > >>> > >>> systemvp should pretty much

Re: [pacman-dev] [PATCH 2/2] [WIP] run XferCommand via exec

2019-10-17 Thread Eli Schwartz
On 10/17/19 11:04 AM, Morten Linderud wrote: > On Thu, Oct 17, 2019 at 05:01:46PM +0200, Morten Linderud wrote: >> On Sun, Jun 09, 2019 at 10:13:55AM -0700, Andrew Gregory wrote: >>> --- >>> >>> systemvp should pretty much be a drop-in replacement for system with >>> the exception that it takes an

Re: [pacman-dev] Alternatives system brainstorm

2019-10-17 Thread Eli Schwartz
On 10/17/19 9:32 AM, Giancarlo Razzolini wrote: > Em outubro 17, 2019 7:53 Allan McRae escreveu: >> >> In Debian & Fedora land, these additional files are called slaves. >> Note that both those distros use the "same" tool to manage these things. >>  In addition, each alternative is given a

Re: [pacman-dev] [PATCH 2/2] [WIP] run XferCommand via exec

2019-10-17 Thread Morten Linderud
On Thu, Oct 17, 2019 at 05:01:46PM +0200, Morten Linderud wrote: > On Sun, Jun 09, 2019 at 10:13:55AM -0700, Andrew Gregory wrote: > > --- > > > > systemvp should pretty much be a drop-in replacement for system with > > the exception that it takes an argv array and uses exec. If anybody > >

Re: [pacman-dev] [PATCH 2/2] [WIP] run XferCommand via exec

2019-10-17 Thread Morten Linderud
On Sun, Jun 09, 2019 at 10:13:55AM -0700, Andrew Gregory wrote: > --- > > systemvp should pretty much be a drop-in replacement for system with > the exception that it takes an argv array and uses exec. If anybody > wants to play with it to stress test it a little, I have > a self-contained copy

Re: [pacman-dev] [PATCH 0/5][RFC] Die delta, die!

2019-10-17 Thread Morten Linderud
On Sat, Mar 02, 2019 at 08:19:11PM +1000, Allan McRae wrote: > Deltas are broken. So much so that I would strongly recommend never > using a delta from a repo that you did not generate yourself. In short, > we call "system(command)", with a command that includes the name of > a delta file, and the

Re: [pacman-dev] Alternatives system brainstorm

2019-10-17 Thread Giancarlo Razzolini
Em outubro 17, 2019 7:53 Allan McRae escreveu: In Debian & Fedora land, these additional files are called slaves. Note that both those distros use the "same" tool to manage these things. In addition, each alternative is given a priority. So if (e.g.) two python2 and python3 are installed at

[pacman-dev] Alternatives system brainstorm

2019-10-17 Thread Allan McRae
Hi all, Some further brainstorming on alternatives system. Last time, I suggested something like: alternatives=(python->python3) But as was pointed out, there may be many other things you want to bring along with the python binary. Some directly related: /usr/share/man/man1/python3.1.gz ->