Re: [pacman-dev] pacman -Qs first-run performance

2011-09-01 Thread Karol Blazewicz
On Thu, Sep 1, 2011 at 7:33 PM, Philipp wrote: > Hi there, > pacman works very well for me, with one exception: searching for > installed packages. For me a -Ss takes about 5 seconds, a -Qs 25 > seconds. I also noticed that this seems to be true for the first search > run only, the following ones

Re: [pacman-dev] pacman -Qs first-run performance

2011-09-01 Thread Karol Blazewicz
On Thu, Sep 1, 2011 at 8:37 PM, Philipp Überbacher wrote: > Excerpts from Dan McGee's message of 2011-09-01 20:17:47 +0200: >> On Thu, Sep 1, 2011 at 1:14 PM, Denis A. Altoé Falqueto >> wrote: >> > On Thu, Sep 1, 2011 at 2:57 PM, Philipp Überbacher >> > wrote: >> >> It's really kind of weird th

Re: [pacman-dev] Feature request: Show exact matches first

2011-10-19 Thread Karol Blazewicz
On Wed, Oct 19, 2011 at 9:37 PM, Markus Jochim wrote: > Dear developers, > > I'd like to request a feature. When I search for some package, let's say > openconnect: > > $ pacman -Ss openconnect (or -Qs) > > it takes quite a while until I get any results on my netbook (Atom N450 > cpu). Maybe this

Re: [pacman-dev] checkupdates

2011-10-24 Thread Karol Blazewicz
On Tue, Oct 25, 2011 at 12:34 AM, keenerd wrote: > Here is a version that conforms to more of our coding guidelines. > > Any feedback? > > -Kyle > http://kmkeen.com > Seems to work :-) This is what I got when I run it the first time: [karol@black test]$ ./checkupdates warning: database file for

Re: [pacman-dev] checkupdates

2011-10-24 Thread Karol Blazewicz
On Tue, Oct 25, 2011 at 1:17 AM, keenerd wrote: > On 10/24/11, Karol Blazewicz wrote: >> Can you rearrange your script so that the warnings go away? > > Whoops.  I added that bug in while trying to avoid routing everything > to /dev/null so legit errors could be seen.  Gues

Re: [pacman-dev] Multiple Keyservers?

2011-12-06 Thread Karol Blazewicz
On Tue, Dec 6, 2011 at 12:35 PM, Kevin Chadwick wrote: > I had some keys for the community repo coming back unknown. > > I added a second keyserver line (hkp://pgp.mit.edu) to pacman-keys gpg > config. > > It worked but I'm not sure if it was just a temporary timeout issue or > it tried both? Migh

[pacman-dev] [pacman 4] error: failed to prepare transaction (could not find database)

2012-01-05 Thread Karol Blazewicz
If pacman 3.5.4-4 can't connect to a repo that's listed in pacman.conf, it will throw a bunch of errors error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db' error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to

Re: [pacman-dev] [translation] Ukrainian pacman translation

2012-04-18 Thread Karol Blazewicz
On Wed, Apr 18, 2012 at 9:48 PM, Ivan Kovnatsky wrote: > Fixed a few keywords in translation, please include this patch. Are you a member of the translation team: https://www.transifex.net/projects/p/archlinux-pacman/language/uk/ ?

Re: [pacman-dev] [PATCH] Document that -dd is different from -d in a clear and concise way.

2012-07-20 Thread Karol Blazewicz
On Fri, Jul 20, 2012 at 11:51 PM, Micahel J. Evans wrote: > From: "Micahel J. Evans" > > Signed-off-by: Micahel J. Evans > --- > doc/pacman.8.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt > index 0ad8188..926d6e1 100644 > --- a/doc/pacman.8.t

Re: [pacman-dev] [PATCH] Document that -dd is different from -d in a clear and concise way.

2012-07-20 Thread Karol Blazewicz
On Sat, Jul 21, 2012 at 12:13 AM, Michael Evans wrote: > I am unaware of other double letter instances; it is likely that those > too should be documented in a similar way. Some people are for such change: http://mailman.archlinux.org/pipermail/arch-general/2011-April/019795.html but the people i

Re: [pacman-dev] [PATCH] Inform the user to generate entropy

2012-07-20 Thread Karol Blazewicz
On Sat, Jul 21, 2012 at 1:36 AM, Daniel Wallace wrote: > +%echo Please do something to help gather entropy https://bugs.archlinux.org/task/28027 An example would be welcome. As one forum member remarked, going off to do some house-cleaning doesn't help ;P

Re: [pacman-dev] optdepends and pacman -Qdt

2013-05-30 Thread Karol Blazewicz
On Thu, May 30, 2013 at 4:35 PM, 郑文辉(Techlive Zheng) wrote: > When packages listed in a package's 'optdepeds' field are installed > using `--asdeps` option, as long as the package which list these > packages as 'optdepends' exists, these packages should not be listed > bu `pacman -Qdt`. See https

[pacman-dev] Make pacscripts faster

2013-06-11 Thread Karol Blazewicz
I noticed that for bigger packages that are in the cache, but are not installed, pacscripts takes a long time reading the archive, even though it prints the install script almost instantaneously. $ diff -Naur /usr/bin/pacscripts{,.alt} --- /usr/bin/pacscripts2013-05-07 05:36:51.0 +0200

[pacman-dev] Question about the '-h' switch of pacman utils

2013-06-11 Thread Karol Blazewicz
I've noticed some commands provided by the pacman package have help messages that could be improved. Is it something that already is on some todo list? What kind of suggestions are welcome and which ones draw ire of the developers? Anyone cares about colons, dashes and capital letters? There is a s

[pacman-dev] [PATCH] pacscripts: don't read the whole package from cache

2013-06-11 Thread Karol Blazewicz
From: Karol Blazewicz '-q' means "Exit as soon as each specified pattern or filename has been matched." There is no reason to keep reading the rest of the package from cache when the install script has already been printed to stdout. Signed-off-by: Karol Bła

Re: [pacman-dev] [PATCH] pacscripts: don't read the whole package from cache

2013-06-11 Thread Karol Blazewicz
On Tue, Jun 11, 2013 at 10:19 PM, Karol Blazewicz wrote: > From: Karol Blazewicz > > '-q' means "Exit as soon as each specified pattern or filename has > been matched." There is no reason to keep reading the rest of the > package from cache when the install s

Re: [pacman-dev] [PATCH 2/2] pacscripts: No need to run as root.

2013-06-17 Thread Karol Blazewicz
On Sun, Jun 16, 2013 at 8:04 AM, Allan McRae wrote: > On 12/06/13 07:16, Karol Błażewicz wrote: >> Signed-off-by: Karol Błażewicz >> --- >> contrib/pacscripts.sh.in | 4 ++-- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/contrib/pacscripts.sh.in b/contrib/pacscripts.sh.in >

[pacman-dev] [PATCH 1/2] pacscripts: don't read the whole package from cache

2013-06-17 Thread Karol Blazewicz
'-q' means "Exit as soon as each specified pattern or filename has been matched." There is no reason to keep reading the whole package from the cache when the install script has already been printed to stdout. Signed-off-by: Karol Błażewicz --- contrib/pacscripts.sh.in | 3 ++- 1 file changed, 2

[pacman-dev] [PATCH 2/2] pacscripts: no need to run as root

2013-06-17 Thread Karol Blazewicz
Things have changed since 2009 when this script was created and now you need to pass '-d' twice to skip all checks. Signed-off-by: Karol Błażewicz --- contrib/pacscripts.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/pacscripts.sh.in b/contrib/pacscripts.sh

Re: [pacman-dev] Question about the '-h' switch of pacman utils

2013-06-23 Thread Karol Blazewicz
On Sun, Jun 16, 2013 at 8:10 AM, Allan McRae wrote: > On 11/06/13 19:23, Karol Blazewicz wrote: > > >> I don't know if there's any interest among the developers in making >> the -h' output (and later the man pages) better and if the ideas I >> presen

Re: [pacman-dev] [PATCH 3/3] Improve --help switch output for pacman utils

2013-07-30 Thread Karol Blazewicz
On Tue, Jul 23, 2013 at 3:35 AM, Jason St. John wrote: > On Tue, Jul 23, 2013 at 3:27 AM, Allan McRae wrote: >> On 22/07/13 11:09, Jason St. John wrote: >>> Unify the formatting of the --help switch for pacman utils. >>> All of the pacman utils will now output help text using the following >>> fo

Re: [pacman-dev] pacman-disowned

2013-09-30 Thread Karol Blazewicz
On Mon, Sep 30, 2013 at 2:10 PM, Jeremy Heiner wrote: > Thanks, Andrew. > My apologies to everyone. Consider my two patches rescinded. I'll > figure out how to configure git to send email and then resubmit. > Sorry! > Jeremy https://wiki.archlinux.org/index.php/Super_Quick_Git_Guide Please stop

Re: [pacman-dev] Discrepancy between -Si and -Qi output

2013-12-20 Thread Karol Blazewicz
On Sat, Dec 21, 2013 at 2:52 AM, Jason St. John wrote: > I noticed that "Required By" and "Optional For" are shown in the > output of "pacman -Qi ", but these fields are missing from > the output of "pacman -Si ". > > Is this omission intentional or should I file a bug on the bug tracker? > > Jaso

Re: [pacman-dev] Discussion on changelogs

2014-02-07 Thread Karol Blazewicz
On Fri, Feb 7, 2014 at 9:39 AM, Jerome Leclanche wrote: > Hi list > > The subject came up at FOSDEM on a packaging discussion. I thought > it'd be worth bringing up here. > Pacman has extremely basic and non-advertised support for changelogs. > These are maintainer changelogs, not upstream changel

Re: [pacman-dev] Display messages from install scripts after all packages have been installed

2015-12-23 Thread Karol Blazewicz
On Wed, Dec 23, 2015 at 7:14 AM, Jashandeep Sohi wrote: > Install scripts bundled with packages sometimes print *important* > changes/warnings when a package is installed or upgraded. These > warnings are clearly visible when installing a single package, but > tend to get lost when installing lots