From nobody Thu Feb 23 14:01:44 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PMvpV37hmz3tm1M for ; Thu, 23 Feb 2023 14:01:54 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [195.30.95.33]) (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 4PMvpT27t8z4KNj for ; Thu, 23 Feb 2023 14:01:53 +0000 (UTC) (envelope-from idefix@fechner.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fechner.net header.s=default header.b=FVFj9REb; spf=pass (mx1.freebsd.org: domain of idefix@fechner.net designates 195.30.95.33 as permitted sender) smtp.mailfrom=idefix@fechner.net; dmarc=pass (policy=none) header.from=fechner.net Received: from server2.idefix.lan (beta.fechner.net [89.58.45.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 7A4AF6082F for ; Thu, 23 Feb 2023 15:01:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fechner.net; s=default; t=1677160908; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uN+fvuH6eOQyFNMrRCL9JAOh6CuLmYtJMcIgh+ECxtw=; b=FVFj9REbmiBB8Z2D7xy1/3YhwFL4/WPrulVlf5WGIcWzuUv2VP0fbGwVIpUbAdjREuk/Ze AS+jMAuoguXd7fZOMsOhU6Br7RVDc4+RMzs/GkEShUPWVssJ6qbb5TUg9UoEeDIRv4rZJd k96cJRmiKc7ahYOOOYbu+9UgiQSRUwo= Received: from [192.168.0.151] (unknown [93.182.104.249]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by server2.idefix.lan (Postfix) with ESMTPSA id 1363D123F14 for ; Thu, 23 Feb 2023 15:01:48 +0100 (CET) Message-ID: <612cb315-7f3e-599a-ef47-cf2762939da3@fechner.net> Date: Thu, 23 Feb 2023 16:01:44 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: FreeBSD ports list Content-Language: en-US From: Matthias Fechner Subject: Cache go packages to speed up builds in poudriere Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Server: anny.lostinspace.de X-Rspamd-Action: no action X-Spamd-Result: default: False [-6.70 / 15.00]; DWL_DNSWL_MED(-2.00)[fechner.net:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[fechner.net,none]; R_SPF_ALLOW(-0.20)[+a]; RCVD_IN_DNSWL_MED(-0.20)[195.30.95.33:from]; R_DKIM_ALLOW(-0.20)[fechner.net:s=default]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:5539, ipnet:195.30.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[fechner.net:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PMvpT27t8z4KNj X-Spamd-Bar: ------ X-ThisMailContainsUnwantedMimeParts: N Dear all, is there a way that go (that is used by ports in poudriere) can cache go packages? I ask because if I e.g. make a new port for devel/gitaly which uses go and I make a test build, it takes about 30-45 minutes to download the packages. And it seems that it is downloading the packages again and again with each testbuild. As I have a really slow internet connection here, this is really very time-consuming. Thanks a lot for any tips. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook