Bug 136722 - ports-mgmt/portupgrade - portversion issues Stale lock warning to stdout, should send to stderr
Summary: ports-mgmt/portupgrade - portversion issues Stale lock warning to stdout, sho...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 17:50 UTC by Steven Friedrich
Modified: 2009-10-26 14:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Friedrich 2009-07-13 17:50:01 UTC
I often use portverion -L'='|tee /dev/tty|wc -l to count how many ports need to be updated. When a stale lock is left behind, portversion emits a Stale lock message to stdout, but should be sending it to stderr.

Fix: 

Use stderr instead of stdout as the destination for the Stale lock message.
How-To-Repeat: Issue the command mentioned while portupgrade is running.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-13 22:26:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-07-25 02:50:22 UTC
Responsible Changed
From-To: sem->ruby

sem@ has turned over maintainership of portupgrade to the ruby mailing list.
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-10-26 14:01:08 UTC
stas        2009-10-26 14:00:59 UTC

  FreeBSD projects repository

  Modified files:
    pkgtools/lib         pkgdbtools.rb 
  Log:
  - Emit database locking errors messages to stderr instead of spamming
    stdout with them.
  
  PR:             ports/136722
  Reported by:    Steven Friedrich <StevenFriedrich@InsightBB.com>
  
  Revision  Changes    Path
  1.9       +3 -3      projects/pkgtools/lib/pkgdbtools.rb
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Stanislav Sedov freebsd_committer freebsd_triage 2009-10-26 14:01:58 UTC
State Changed
From-To: open->closed

Fixed, thanks!