From mboxrd@z Thu Jan 1 00:00:00 1970 From: mikadoZero Subject: Automated linting before master branch commit Date: Mon, 25 Mar 2019 12:49:59 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8So5-0003Cd-B6 for guix-devel@gnu.org; Mon, 25 Mar 2019 12:50:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8So4-0004WW-9d for guix-devel@gnu.org; Mon, 25 Mar 2019 12:50:41 -0400 Received: from forward101j.mail.yandex.net ([5.45.198.241]:44483) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h8So3-0004Ur-Ia for guix-devel@gnu.org; Mon, 25 Mar 2019 12:50:40 -0400 Received: from mxback19g.mail.yandex.net (mxback19g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:319]) by forward101j.mail.yandex.net (Yandex) with ESMTP id ABD821BE1059 for ; Mon, 25 Mar 2019 19:50:35 +0300 (MSK) 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 # Automated linting What do people think about automating package linting? This would be to make sure a package is linted before it is committed to the Guix repository master branch? I am not familiar with what Guix uses for continuous integration / deployment. I do not know if automated linting is already in place. The packages on the master branch that have linting issues could have been committed before automated linting was in place. # Acknowledgment It was brought to my attention by Tobias Geerinckx-Rice: "... tarballs aren't guaranteed to be stable over time (GitHub can regenerate them, changing the metadata and hence the hash, and has done so in the past). They must not be used. ..." https://lists.gnu.org/archive/html/help-guix/2019-03/msg00096.html # Guix master branch There are package in the Guix repository master branch that use an autogenerated tarball and have this lint output: "the source URI should not be an autogenerated tarball" # Number of packages Estimated number of packages with autogenerated tarball: 389 This is a low estimate as it is only counts GitHub autogenerated tarballs. This estimate is from this command run in the Guix repository. `grep github.*archive gnu/packages/*scm | wc -l`