From owner-freebsd-pkg@FreeBSD.ORG Sat May 31 12:54:48 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 925F3177 for ; Sat, 31 May 2014 12:54:48 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 39334270C for ; Sat, 31 May 2014 12:54:47 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s4VCsf3S091655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 31 May 2014 13:54:42 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s4VCsf3S091655 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1401540882; bh=VDKC/slR1ozarfFanvRQ4FDQ3UpFHSx8AGrqckVqVWA=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Sat,=2031=20May=202014=2013:54:34=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-pkg@fr eebsd.org|Subject:=20Re:=20Dependency=20graph?|References:=20<2014 0531065218.GB169@admin.sibptus.tomsk.ru>=20<538991E0.5000902@FreeB SD.org>=20<20140531122127.GA4538@admin.sibptus.tomsk.ru>|In-Reply- To:=20<20140531122127.GA4538@admin.sibptus.tomsk.ru>; b=XmWAKuAwc8gX3vjTYZRpoonyDh2DqKLc4hYS0tco3byimyCBqEpHh4lZRSnCwnyGz czUbSfm2oBydhtArJKsThokhihid7v02eDYvBcJD8f+GKsuEfNTjrUysMLHSBNHYw+ 0taFdW2ZKG+fNcmyIfIHDbNNc6jXbD0Eo+IaANNI= Message-ID: <5389D10A.9010608@infracaninophile.co.uk> Date: Sat, 31 May 2014 13:54:34 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Dependency graph? References: <20140531065218.GB169@admin.sibptus.tomsk.ru> <538991E0.5000902@FreeBSD.org> <20140531122127.GA4538@admin.sibptus.tomsk.ru> In-Reply-To: <20140531122127.GA4538@admin.sibptus.tomsk.ru> X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VPSMp5OCiTdEvb6wwehQ5QbpUHMwHp860" X-Virus-Scanned: clamav-milter 0.98.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2014 12:54:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VPSMp5OCiTdEvb6wwehQ5QbpUHMwHp860 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 31/05/2014 13:21, Victor Sudakov wrote: > Matthew Seaman wrote: >>> Sometimes you attempt to "pkg install" a simple package and find out >>> that it attempts to install a load of crap (like X libraries) because= of >>> some obscure dependency. >>> >>> Is there a tool that would analyze the repository metadata and displa= y >>> a dependency tree for a package? >>> >>> All the necessary dependency information is already in the repository= >>> in JSON (?) or sqlite format, perhaps someone has already come up wit= h >>> a script to display that? >> >> Not to my knowledge. Generating output suitable for feeding into dot >> should be pretty easy, just based on processing the output of 'pkg que= ry' >=20 > To my knowledge, 'pkg query' works with the locally installed packages.= =20 > Can it really query a remote repository, and if yes, could you please g= ive an > example query? >=20 > When I issue 'pkg query %do some_package_not_installed_locally', it > returns an empty result. pkg rquery is what I should have said. Apologies, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --VPSMp5OCiTdEvb6wwehQ5QbpUHMwHp860 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTidERXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATUFMP/13fZVGOwBYFuXe86BNKYSJ5 YVQQx04W1G3K4NlRr88i8qZ9NSDazvUxcNRDs3RHWqUx/F8W8AJGZjspLh8GYolt fy960yYXs8G3bhXcfFtdcwg6hyk6SIzZz0clkobEV6P5KSJVfWX2x+Wo+nFgufF5 a/MaeN+62EK0Z31OWMJbSziBlnrFvZ0DCvKKe1nvPxcxT5odzM1O9iQG5RGkPsch 1c1usew34RD5Cy1QiuDke9D+dgrY/sdu7Vrlv9RH5ZcKp8516Jee7Th/BqwMfJ1s q6Eh+nMgFfof52aAaIXOjmPsm0Igl75kuJNP7ur18/NAOpgaZcxHIbXsCcBh/mCJ BY+BsyJOv1+UFkavHvgZvUBbRUSqRhYeYc/T1W86l0vE1Fqqn/jd/lFBGFZsguPO L8LSg1biZ8VdCzF/vpe43IMrLe+4gsbHZGgnOhOE+AJHO5kI4WbOe1573nw6E/Wf Y7nOcIqxa2gnytCj2QHHtdrE0Njb5aJxSWFq7b6ZRskI6J0/LWMyiMBsc5+6bjnw kz6njVUcDlzI4v2S8s4tM1ETj6pp1l11ekOvwPoTkpyD+0WzjIqRgwyo3uu0HMaq mGnXIq3EVYjYXosvCNjhSBzMX2MV4S0oFff54tFF4CiAWXyzpMTRATt1skd89Fpl A7bquNDs57nSdGf93is9 =go1h -----END PGP SIGNATURE----- --VPSMp5OCiTdEvb6wwehQ5QbpUHMwHp860--