From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA370138334 for ; Mon, 24 Dec 2018 16:02:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C7A7E0ACB; Mon, 24 Dec 2018 16:02:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B4BEE0ACB for ; Mon, 24 Dec 2018 16:02:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B22F335C6F for ; Mon, 24 Dec 2018 16:02:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4B1D45B for ; Mon, 24 Dec 2018 16:02:50 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1545667350.6cc0db6da1808164e159ad6f0f6fbc8b623f6fb8.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: README.md TODO.md X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 6cc0db6da1808164e159ad6f0f6fbc8b623f6fb8 X-VCS-Branch: master Date: Mon, 24 Dec 2018 16:02:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 166cd867-ebab-4e0a-9366-449478744fac X-Archives-Hash: 11adc25c9d8c7426040a864ae42edd79 commit: 6cc0db6da1808164e159ad6f0f6fbc8b623f6fb8 Author: Fabian Groffen gentoo org> AuthorDate: Mon Dec 24 16:02:30 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Dec 24 16:02:30 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=6cc0db6d docs: update Signed-off-by: Fabian Groffen gentoo.org> README.md | 25 +++++++++++++++---------- TODO.md | 22 +++++----------------- 2 files changed, 20 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 59692a7..8400c68 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,10 @@ | What | How | | -------- | --------------------------------------------------------- | -| HOMEPAGE | https://wiki.gentoo.org/wiki/Portage-utils | -| GIT | git clone git://anongit.gentoo.org/proj/portage-utils.git | +| HOMEPAGE | https://wiki.gentoo.org/wiki/Q\_applets | +| GIT | https://anongit.gentoo.org/git/proj/portage-utils.git | | VIEWVCS | https://gitweb.gentoo.org/proj/portage-utils.git/ | +| GITHUB | https://github.com/gentoo/portage-utils | | STATUS | [![Build Status](https://travis-ci.org/gentoo/portage-utils.svg?branch=master)](https://travis-ci.org/gentoo/portage-utils) [![Coverity Status](https://scan.coverity.com/projects/9213/badge.svg)](https://scan.coverity.com/projects/gentoo-portage-utils) | portage-utils is a small set of utilities for working with Portage, Gentoo @@ -18,40 +19,41 @@ Alternatively, run `configure` followed by `make`. ## Helping out -There's a large [TODO](./TODO.md) list with various ideas for improvements. +There's a large [TODO](./TODO.md) list with various ideas for +improvements. File a bug on Gentoo's Bugzilla, or use Github's issues +and pull requests. There's also a [HACKING](./HACKING.md) doc to help you get started. ## Examples -* find elf files linking to old openssl
+* find elf files linking to old openssl (using app-misc/pax-utils)
`qlist -ao | scanelf -BqgN libssl.so.0.9.6 -f -` -* print a package.use
+* produce a package.use file for currently installed packages
`qlist -UCq | grep ' ' > package.use` * find orphan files not owned by any package in /lib and /usr/lib
`qfile -o {,/usr}/lib/*` * get PORTDIR
- `DEBUG=: ./q -Ch 2>&1 | grep ^PORTDIR | awk '{print $3}` + `env DEBUG=: q -Ch 2>&1 | grep ^PORTDIR | awk '{print $3}` * Verify all packages
- `qcheck -a` + `qcheck` ## Contact ### Bugs Please file bugs at: - https://bugs.gentoo.org/enter_bug.cgi?product=Portage%20Development&format=guided - -Use Component of "Third-Party Tools". + https://bugs.gentoo.org/enter_bug.cgi?product=Portage%20Development&component=Tools&format=guided ### Developers * solar@gentoo.org * vapier@gentoo.org +* grobian@gentoo.org ## Notes @@ -59,6 +61,9 @@ Use Component of "Third-Party Tools". Having your PORTDIR and VDB on the right file system helps dramatically +Nowadays this should rarely matter, but on smaller scale (embedded) or +older hardware, consider the following. + IDE raid with PORTDIR on reiserfs: ```sh diff --git a/TODO.md b/TODO.md index 86ebbd7..24e5eca 100644 --- a/TODO.md +++ b/TODO.md @@ -1,9 +1,9 @@ # Common - unify match behavior: - - default *foo* + - default \*foo\* - -e foo - - -r (-R ?) regexp foo.* + - -r (-R ?) regexp foo.\* - disable color when tty = NULL; may break less? @@ -25,10 +25,9 @@ - only 32bit values are supported for revision (-r#) - only 64bit values are supported in any individual version component - foo-(1234)_alpha(56789) + foo-(1234)\_alpha(56789) - these limits should not be an issue for all practical purposes - need to handle USE deps like: cat/pkg-123[foo(+)] -- show support slots like: qmerge -U automake:1.12 # qmerge @@ -40,21 +39,14 @@ - gpg sign the packages file (before compression) - binary vdb (sqlite) ... talk to zmedico - remote vdb -- don't bother emitting any "DIR" entries to CONTENTS ? - - auto rmdir any empty dirs -- avoid Packages fetching all the damned time - parallel fetch tbz2s -- check order of pkg_{pre,post}{inst,rm} during install, unmerge, and upgrade -- env is not saved/restored between pkg_{pre,post}inst (see portage and REPO_LAYOUT_CONF_WARN) +- check order of pkg\_{pre,post}{inst,rm} during install, unmerge, and upgrade +- env is not saved/restored between pkg\_{pre,post}inst (see portage and REPO\_LAYOUT\_CONF\_WARN) - support installing via path to tbz2 package - support TTL field in binpkgs file - merge duplicate atoms on the CLI (`qmerge -Uq nano nano nano`) - unmerging should clean out @world set -# qcache - -- need to convert it to new metadata/md5 style - # qdepends - support querying uninstalled packages (via metadata/md5 cache) @@ -71,7 +63,3 @@ # qsync - rewrite to use new repos.conf standard - -# qlist - -- support atoms instead of exact matches