From mboxrd@z Thu Jan 1 00:00:00 1970 From: ison Subject: A few questions about channels Date: Wed, 24 Apr 2019 16:46:55 -0600 Message-ID: <20190424224654.td7fwnjjf4hnguyc@cf0> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJQgB-00040u-PW for help-guix@gnu.org; Wed, 24 Apr 2019 18:47:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJQfc-0000Kj-S4 for help-guix@gnu.org; Wed, 24 Apr 2019 18:47:17 -0400 Received: from mx1.cock.li ([185.10.68.5]:32949 helo=cock.li) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hJQfc-0000EI-6V for help-guix@gnu.org; Wed, 24 Apr 2019 18:47:16 -0400 Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Several questions about channels have been on my mind which I haven't been able to find any documentation on. So I figured I would ask them all in one place since they seem like fairly standard questions that could help others setting up channels in the future as well. 1) Is it possible to make a channel from a local git repository? (That is to say, a directory on the local machine initialized as a git repository) 2) Is it possible to use private remote repositories as channels? The issue here seems to be one of authentication. I'm wonder if there is (or should be) an "authentication" field one would add to the channel definition in the channels.scm file. 3) How can a channel provide patch files which can be used with "search-patches"? I attempted to look through the guix code in gnu/packages.scm and from what I can tell it looks like search-patches only looks in paths included from "%load-path". There is also a comment saying that it picks up the paths from $GUIX_PACKAGE_PATH, but I thought that variable was being deprecated in favor of channels. If so, shouldn't search-patches also look inside the channels repository for patch files?