From owner-freebsd-current@freebsd.org Thu Jan 7 08:55:05 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4003D4C8A9E for ; Thu, 7 Jan 2021 08:55:05 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DBKn43Dswz4k5Q for ; Thu, 7 Jan 2021 08:55:04 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4DBKmx0bM7z6dQ0; Thu, 7 Jan 2021 09:54:57 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id ANIJq__7YoSG; Thu, 7 Jan 2021 09:54:54 +0100 (CET) Subject: Re: poudriere && moving from svn to git for downloading source To: freebsd-current@freebsd.org References: Cc: Matthias Apitz From: Guido Falsi Message-ID: <38b6b56e-bd5e-9816-fc6a-88f828265677@madpilot.net> Date: Thu, 7 Jan 2021 09:54:54 +0100 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DBKn43Dswz4k5Q X-Spamd-Bar: / X-Spamd-Result: default: False [0.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[159.69.1.99:from]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MISSING_MIME_VERSION(2.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[159.69.1.99:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[madpilot.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_LONG(1.00)[1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2021 08:55:05 -0000 On 07/01/21 09:27, Matthias Apitz wrote: > > Hello, > > I use poudriere to compile my used ports. Could someone please explain > or point me to a document which explains the now to be used syntax to > create (i.e. checkout) the jail and the ports tree. Actually I'm using > something like: > > # poudriere jail -c -j freebsd-r368166 -m svn+http -v head@r368166 > > or > > # poudriere jail -c -j freebsd-head -m svn+http > I updated yesterday using git. I could not find a way to force a specific commit via git in poudriere for base, so I created my own for of the sources in github, which I will update manually, in this way I can reference there and know exactly which "revision" I'm getting. This setup would also allow me to test patches by creaating branches and can be used to submit patches and even commit them(if I'm authorized, having only a ports commit bit) I used this command to recreate the jail: poudriere jail -c -j 13amd64 -v main -a amd64 -m git+https where main is the main branch, just like head used to be. > and for the ports tree > > # poudriere ports -c -p ports-20201130 -m svn -U svn://svn.freebsd.org/ports/ > AFAIK the ports tree is still on subversion, so I'm keeping my old setup (using portshaker). When the ports tree will move I also plan to create my own fork of the ports tree repo, with some branches I will use for testing things and have poudriere grab those. I have not tested using git for ports but I guess command line would look like this: poudriere ports -c -p ports-testing -m git -B testing -U https://github.com/user/ports-fork.git Obviously if a user is not interested in testing things or create patches he/she have no need to create a fork and can grab bits directly from https://git.freebsd.org/ports.git. AFAIK creating forks and a lot of branches is "the git way". -- Guido Falsi