From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Updater coverage Date: Wed, 30 Nov 2016 18:09:22 +0100 Message-ID: <877f7kki7x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC8Ns-0006h6-IT for guix-devel@gnu.org; Wed, 30 Nov 2016 12:09:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cC8Np-0003cl-7d for guix-devel@gnu.org; Wed, 30 Nov 2016 12:09:28 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC8Np-0003ch-3s for guix-devel@gnu.org; Wed, 30 Nov 2016 12:09:25 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:50020 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cC8No-0000Cm-Fm for guix-devel@gnu.org; Wed, 30 Nov 2016 12:09:24 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel Hi Guix! I=E2=80=99ve pushed a few improvements to =E2=80=98guix refresh=E2=80=99 so= we have a clearer view of package coverage. A first one is to report the lack of an updater for packages specified on the command line so one can tell the difference between =E2=80=9Cno upda= ter=E2=80=9D and =E2=80=9Cup-to-date=E2=80=9D: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix refresh libreoffice gnu/packages/libreoffice.scm:711:2: warning: no updater for libreoffice --8<---------------cut here---------------end--------------->8--- Another one is to show the actual package coverage: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix refresh --list-updaters=20 Available updaters: - gnu: Updater for GNU packages (6.3% coverage) - gnome: Updater for GNOME packages (3.3% coverage) - kde: Updater for KDE packages (1.5% coverage) - xorg: Updater for X.org packages (3.9% coverage) - kernel.org: Updater for packages hosted on kernel.org (.6% coverage) - elpa: Updater for ELPA packages (.2% coverage) - cran: Updater for CRAN packages (3.6% coverage) - bioconductor: Updater for Bioconductor packages (1.1% coverage) - hackage: Updater for Hackage packages (5.9% coverage) - pypi: Updater for PyPI packages (3.9% coverage) - gem: Updater for RubyGem packages (3.1% coverage) - github: Updater for GitHub packages (8.6% coverage) 42.1% of the packages are covered by these updaters. --8<---------------cut here---------------end--------------->8--- 42% is not a lot. We could probably do 60% or so, notably by adding updaters for CPAN, SourceForge, and Savannah. I added the kernel.org updater and then realized that it only helps with 0.6% of the packages=E2=80=A6 Next we should aim for more automation: automatic update of the list of dependencies when possible (as Ricardo suggested), automatic build, commit with the right log upon success and to the right branch based on the number of rebuilds and/or submission as a patch. This is far from trivial but that should be our horizon. Thoughts? Ludo=E2=80=99.