From owner-freebsd-ports@FreeBSD.ORG Thu Sep 1 13:33:27 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A72D106564A for ; Thu, 1 Sep 2011 13:33:27 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 91D0A8FC0A for ; Thu, 1 Sep 2011 13:33:25 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBD7EB.dip.t-dialin.net [93.203.215.235]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p81DXNvL085077; Thu, 1 Sep 2011 13:33:24 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id p81DX8Lm011928; Thu, 1 Sep 2011 15:33:08 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id p81DX2sN081775; Thu, 1 Sep 2011 13:33:08 GMT (envelope-from jhs@fire.js.berklix.net) Message-Id: <201109011333.p81DX2sN081775@fire.js.berklix.net> To: Sergey Matveychuk From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Linux Unix Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com/~jhs/cv/ Date: Thu, 01 Sep 2011 15:33:02 +0200 Sender: jhs@berklix.com Cc: ports@FreeBSD.org Subject: suggestion for pkgdb from ports-mgmt/portupgrade: add more explanation X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2011 13:33:27 -0000 Hi, Suggestion: pkgdb is too cryptic even with -v, it needs more explanation what it is up to & particularly what decisions it asks from user (I started with 8.2-Release pkgdb then moved to current pkgdb, some fragments of run examples below): % pkgdb -F -v Checking for origin duplicates ...... Checking linkchecker-6.3 Stale dependency: linkchecker-6.3 -> tidy-lib-090315.c_1 (www/tidy-lib): Disclose depends for linkchecker-6.3 tidy-20000804_2 (score:19%) ? ([y]es/[n]o/[a]ll) [no] No clue is given what score means or what decision program wants user to make. % cd /var/db/pkg % echo linkchecker* linkchecker-6.3 % echo *tidy* py26-utidy-0.2_1 tidy-20000804_2 % pkg_info -r linkchecker-6.3 Depends on: Dependency: tidy-lib-090315.c_1 % vi -c/score: `which pkgdb` ruby. Oh well, read that source later meanwhile take default & rerun pkgdb again later, after its cleaned up some Pushed return Install stale dependency? ([y]es/[n]o/[a]ll) [yes] % pkgdb -F -v Checking docproj-1.17_4 Stale dependency: docproj-1.17_4 -> tidy-20000804_2 (www/tidy): Disclose depends for docproj-1.17_4 Install stale dependency? ([y]es/[n]o/[a]ll) [yes] .... Disclose depends for py26-utidy-0.2_1 tidy-lib-090315.c_1 ? ([y]es/[n]o/[a]ll) [yes] What ? Even 'stale dependency' is not clear. Is it missing or what. Doubtless could be figured out with enough other pkg commands & ls, but slightly extending various print commands within pkgdb would be nice. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; Indent with "> "; Cumulative like a play script. Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. http://www.softwarefreedomday.org 17th Sept, http://berklix.org/sfd/ Oct.