From nobody Wed Sep 13 09:25:54 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 4Rlw6w0Y0yz4sqF5 for ; Wed, 13 Sep 2023 09:26:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rlw6t60Rnz4LMb for ; Wed, 13 Sep 2023 09:25:58 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de; dmarc=none Received: from [212.222.85.114] (helo=pureos) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qgM8C-0024RJ-ML for freebsd-ports@freebsd.org; Wed, 13 Sep 2023 11:25:56 +0200 Date: Wed, 13 Sep 2023 11:25:54 +0200 From: Matthias Apitz To: freebsd-ports@freebsd.org Subject: Re: problem with git-pull Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: freebsd-ports@freebsd.org 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 212.222.85.114 X-Spamd-Bar: / X-Spamd-Result: default: False [0.22 / 15.00]; FAKE_REPLY(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.987]; NEURAL_SPAM_MEDIUM(0.90)[0.903]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:178.254.4.101]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; DMARC_NA(0.00)[unixarea.de]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_XOIP(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[] X-Rspamd-Queue-Id: 4Rlw6t60Rnz4LMb I wrote yesterday: > El día martes, septiembre 12, 2023 a las 05:42:45p. m. +0200, Christoph Moench-Tegeder escribió: > > > ## Matthias Apitz (guru@unixarea.de): > > > > > but when I now say 'git pull .' it says only: > > > > Drop the ".", because: > > 1. the first non-option to "git pull" is the repository, so you're > > pulling from the current directory, which makes no sense for your > > case. > > 2. git updates the whole repository, which is a good thing[tm] (yes, > > there are ways and means, but in gereral one wants to keep a repo > > consistent). > > Thanks! I'm coming from a CVS and SVN background where updating only > sub-trees is possible (and with good intention also normal). > Without the "." it updated the full tree and I built successful the one > package in question with poudriere. > This was wrong. It didn't compiled anything at all, because I updated the wrong /usr/ports tree, not the one poudriere was using. When I realized my fault, I updated with 'git pull' the correct tree and restarted poudriere to only compile one port (security/wpa_supplicant). The result was, that poudriere detected the (massive) changes, deleted and recompiled around 10 ports and at the end successfully security/wpa_supplicant. I don't want to imagine a more massive recompilation due to changes in infrastructure ports. In short: Is there no way with git to pull only one special port for a recompilation? matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub