[pacman-dev] "explicit dependencies", a compromise between explicit and deps

2008-10-12 Thread Dieter Plaetinck
Hi, pacman has an option --asdeps so the user can install packages as if it were deps. In fact, such packages will be treated exactly the same as normal dependencies: - if no explicit package depends on them, they will be considered orphans and are subject to be cleaned up, along with 'real' o

Re: [pacman-dev] "explicit dependencies", a compromise between explicit and deps

2008-10-18 Thread Dieter Plaetinck
Okay, by now I've/we've realized that the original "explicit dependencies" terminology is just a way of categorizing installed optdeps. (I can't think of another use case then that) When I wrote the first mail I didn't realize this clearly enough yet. So my explanations and terminology are a b

Re: [pacman-dev] [ABS PATCH] Allow syncing the ABS tree using tarballs

2008-10-26 Thread Dieter Plaetinck
+if [ ! "$(type -p rsync)" ]; then +error "missing wget download utility. Install wget." +exit $_E_MISSING_PROGRAM +fi You probably meant 'type -p wget' here? You can also just check the exit status of type btw, instead of capturing and comparing its output:. if ! type

Re: [pacman-dev] [PATCH] [RFC] Add UpgradeSigLevel configuration option

2011-12-22 Thread Dieter Plaetinck
On Thu, 22 Dec 2011 11:53:38 +0100 Thomas Bächler wrote: > Am 22.12.2011 11:26, schrieb Allan McRae: > > Use to override the global SigLevel value for upgrade operations. > > > > e.g. when installing a package without a signature: > > > > Fails to install: > > SigLevel = Optional > > UpgradeSig

Re: [pacman-dev] MirrorBrain for mirrors?

2009-03-10 Thread Dieter Plaetinck
On Tue, 10 Mar 2009 15:40:43 +1100 "Tim G" wrote: > Hey everyone, > > > > I am not sure if it has been brought up before, but has anyone > thought about providing a MirrorBrain http repository? OpenSUSE has > one at http://download.opensuse.org/ and it works quite well. If we > are able to pr

Re: [pacman-dev] Doing more stuff with optdepends

2009-03-24 Thread Dieter Plaetinck
On Fri, 06 Mar 2009 10:15:10 +1000 Allan McRae wrote: > Hi, > > I have been thinking about optdepends and if we can improve the > handling of them. So, given I am better at making wiki pages than > patches... > > http://wiki.archlinux.org/index.php/User:Allan/Pacman_OptDepends > > What do peo

Re: [pacman-dev] Doing more stuff with optdepends

2009-03-24 Thread Dieter Plaetinck
On Tue, 24 Mar 2009 18:59:35 +0100 Dario Freddi wrote: > Let me add more fire here: what I feel is really missing is an option > (maybe a pmtransflag for implementation details) for installing > optdepends. Otherwise, even with those suggestions, they really > remain nothing but some lines of tex

Re: [pacman-dev] MirrorBrain for mirrors?

2009-07-03 Thread Dieter Plaetinck
On Fri, 3 Jul 2009 17:10:00 +0200 Peter Poeml wrote: > Hi! > > To quickly introduce myself, I am the author of MirrorBrain and I > noticed you discussion here. > Hello Peter, thanks for your post. > MirrorBrain also creates Metalinks. Didn't you guys start using > those? I saw http://bbs.archl

Re: [pacman-dev] [PATCH] Quote values in the arch array in example PKGBUILD

2009-07-09 Thread Dieter Plaetinck
On Fri, 10 Jul 2009 00:32:43 +1000 Allan McRae wrote: > Signed-off-by: Allan McRae > --- > doc/PKGBUILD-example.txt |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/doc/PKGBUILD-example.txt b/doc/PKGBUILD-example.txt > index 0477cb1..7245228 100644 > --- a/doc/PKG

Re: [pacman-dev] [PATCH] Quote values in the arch array in example PKGBUILD

2009-07-09 Thread Dieter Plaetinck
On Fri, 10 Jul 2009 00:46:52 +1000 Allan McRae wrote: > Dieter Plaetinck wrote: > > On Fri, 10 Jul 2009 00:32:43 +1000 > > Allan McRae wrote: > > > > > >> Signed-off-by: Allan McRae > >> --- > >> doc/PKGBUILD-example.txt |2

Re: [pacman-dev] Pacman 3.3 release imminent

2009-07-26 Thread Dieter Plaetinck
On Wed, 22 Jul 2009 20:35:47 -0500 Dan McGee wrote: > OK, here we go. > > We have two basic lists to chop through. One is here: > http://wiki.archlinux.org/index.php/Pacman_Roadmap#3.3_Final_Release_Plans. > Of course, Xavier blew my (short) list away and tried to sneak in a > much longer list.

Re: [pacman-dev] word-wrapping when not outputting to a tty

2009-08-26 Thread Dieter Plaetinck
On Wed, 26 Aug 2009 23:46:04 +0400 Oleg Finkelshteyn wrote: > I've noticed the following behaviour which makes it somewhat difficult > to use -Qi/-Si/etc. in a pipeline: > > $ pacman -Si binutils > ... > Description: A set of programs to assemble and manipulate binary > and object files > $

Re: [pacman-dev] Why not using the bash getopts buildin? Was: Removing deltas from repos

2009-09-16 Thread Dieter Plaetinck
On Wed, 16 Sep 2009 13:40:37 -0500 Aaron Griffin wrote: > On Wed, Sep 16, 2009 at 12:12 PM, Xavier wrote: > > On Wed, Sep 16, 2009 at 6:39 PM, Aaron Griffin > > wrote: > > Thanks for pointing that out. > I only did a quick look at the outputs of a recursive grep for getopt but >

Re: [pacman-dev] Why not using the bash getopts buildin? Was: Removing deltas from repos

2009-09-17 Thread Dieter Plaetinck
On Wed, 16 Sep 2009 18:10:24 -0500 Dan McGee wrote: > On Wed, Sep 16, 2009 at 6:08 PM, Allan McRae > wrote: > > Dieter Plaetinck wrote: > >> My 2 cents: portability is important, and code conciseness is more > >> important then having a fancy interface with man

Re: [pacman-dev] Why not using the bash getopts buildin? Was: Removing deltas from repos

2009-09-17 Thread Dieter Plaetinck
On Thu, 17 Sep 2009 18:58:07 +1000 Allan McRae wrote: > Dieter Plaetinck wrote: > > Hmm this was about makepkg right? > > makepkg --help | grep '-' | wc -l > > 24 > > > > lowercase + uppercase gives you 52 options. > > > > Right

Re: [pacman-dev] configurable shell for install scripts

2010-03-28 Thread Dieter Plaetinck
On Sun, 28 Mar 2010 21:44:28 +1000 Allan McRae wrote: > Hi, > > I thought I'd run this past people on this list before I spent the > two weeks that this would take me to figure out how to implement it! > > This is motivated by experience packaging for Arch. Install > scriptlets are written as

Re: [pacman-dev] [PATCH] Allow -Qo to perform a functional 'which'

2010-05-06 Thread Dieter Plaetinck
what's wrong with: pacman -Qo `which foo` ?

[pacman-dev] [PATCH] fix for incorrect checking of return code, which causes syntax errors

2010-05-15 Thread Dieter Plaetinck
--- scripts/makepkg.sh.in |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index e8aaa8b..9741879 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -693,10 +693,10 @@ extract_sources() { local

Re: [pacman-dev] [PATCH] fix for incorrect checking of return code, which causes syntax errors

2010-05-16 Thread Dieter Plaetinck
On Sun, 16 May 2010 10:13:46 +1000 Allan McRae wrote: > You should commit patches with "-s" so that you get the signoff line. aye! but i wonder what the relevancy of the signoff is. does it just mean "i tested it and approve this change" ? that sort of is already implicit since i submitted the p

Re: [pacman-dev] [PATCH] PKGBUILD-example.txt: Remove superfluous "|| return 1".

2010-09-16 Thread Dieter Plaetinck
On Wed, 15 Sep 2010 07:20:38 -0500 Dan McGee wrote: > On Tue, Sep 14, 2010 at 7:49 PM, Lukas Fleischer > wrote: > > --- > >  doc/PKGBUILD-example.txt |    2 +- > >  1 files changed, 1 insertions(+), 1 deletions(-) > > Thanks, good catch. > > -Dan > Why was it superfluous? Dieter

Re: [pacman-dev] [PATCH] PKGBUILD-example.txt: Remove superfluous "|| return 1".

2010-09-16 Thread Dieter Plaetinck
On Thu, 16 Sep 2010 20:35:27 +1000 Allan McRae wrote: > On 16/09/10 20:17, Dieter Plaetinck wrote: > > Why was it superfluous? > > > > http://projects.archlinux.org/pacman.git/commit/?id=545eac14 > Nice. Thanks. Dieter

[pacman-dev] should we show maintainer info in pacman -Qi / -Si ?

2011-02-13 Thread Dieter Plaetinck
with pacman -Qi or pacman -Si we show the person who packaged it, but not the maintainer. This makes it harder to get in touch with the right person then it should be. Often I will start talking to the packager (or assign a ticket to him), only to have that person to tell me "hey, i'm just the gu

Re: [pacman-dev] Pacman and CheckSpace on the install CD

2011-03-11 Thread Dieter Plaetinck
On Thu, 10 Mar 2011 22:08:34 -0600 Dan McGee wrote: > On Thu, Mar 10, 2011 at 9:21 PM, Allan McRae > wrote: > > On 11/03/11 12:17, Dan McGee wrote: > >> > >> Has anyone tried this yet? Or at least in a similar "let me mount a > >> bunch of drives under a folder and set my root to that" type > >>

Re: [pacman-dev] [PATCH 3/3] contrib/log2pkglist: new contribution

2011-07-08 Thread Dieter Plaetinck
On Sat, 09 Jul 2011 06:10:37 +1000 Allan McRae wrote: > On 09/07/11 00:17, Dave Reisner wrote: > > On Fri, Jul 08, 2011 at 08:51:51AM -0500, Dan McGee wrote: > >> On Fri, Jul 8, 2011 at 8:42 AM, Dave Reisner wrote: > >>> converts a pacman log file to a list of installed packages, which should >