You are not logged in.

#1 2005-04-09 09:43:32

judfilm
Member
Registered: 2004-02-12
Posts: 229

Feature request idea - positive message at end

Hi

An idea for pacman. After the command "pacman -Syu" and no packages need updating pacman returns to shell without any notice (which is fine if you know whats going on). Is it possible for pacman to output a positive message like - "All packages are up to date." or something better?

Thanks

Offline

#2 2005-04-09 10:47:02

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Feature request idea - positive message at end

Fair point - post a feature request in the bug tracker

Offline

#3 2005-04-14 15:07:03

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Feature request idea - positive message at end

Yeah, I like the suggestion, too!    8)


oz

Offline

#4 2005-04-14 15:23:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Feature request idea - positive message at end

wouldn't something like this work:

# pacman -Syu && echo "all packages are up to date"

I would assume pacman returns successfully if there's nothing to do

Offline

#5 2005-04-14 18:14:16

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Feature request idea - positive message at end

"all packages are up to date" is not the propper sentence, as you could have some packages that are newer or some packages in IgnorePkg, so the propper sentence should be more like "no packages were installed"

Offline

#6 2005-04-14 18:27:09

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Feature request idea - positive message at end

Pajaro wrote:

"all packages are up to date" is not the propper sentence, as you could have some packages that are newer or some packages in IgnorePkg, so the propper sentence should be more like "no packages were installed"

well that echo will happen even if it installed packages... so it may install 3 packages and then say "no packages were installed" - I was trying to think of something that would cover both cases...

Offline

#7 2005-04-15 07:31:35

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Feature request idea - positive message at end

phrak - i know you are of the school that thinks anything scriptable in less than 10 (is it ten?) lines should not be added to pacman but i really think that some of this simple functionality really wouldn't make it any worse a product! smile

Offline

#8 2005-04-15 15:23:41

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Feature request idea - positive message at end

oh, yeah, I'm not saying it couldn't be done or wouldn't be a bad idea (it'd be one puts() statement really)
I'm just saying that if it's only a small number of people who want this, it might not be worth changing until there are larger things changed... so I was suggesting a fix for now

I'm just a big fan of the unix philosophy that basically says things like "why incorporate a spellchecker in your app when you can run it through aspell?"

Offline

#9 2005-04-15 16:33:45

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Feature request idea - positive message at end

I am generally against verbose output for correct behaviour. It muddles up scripts and log files.
wink
Conversely, failing noisily is a good thing.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#10 2005-06-11 23:40:06

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Feature request idea - positive message at end

i often fail noisely - i prefer to suceed quietly also smile

Offline

#11 2005-06-12 08:40:15

juergen
Developer
From: Frankfurt/Germany
Registered: 2005-04-11
Posts: 48
Website

Re: Feature request idea - positive message at end

Offline

Board footer

Powered by FluxBB