From owner-freebsd-ports@freebsd.org Tue Apr 6 16:57:06 2021 Return-Path: Delivered-To: freebsd-ports@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 092E55D77C8 for ; Tue, 6 Apr 2021 16:57:06 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFDG86Rk8z3qRX for ; Tue, 6 Apr 2021 16:57:04 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id ce75ee40; Tue, 6 Apr 2021 16:57:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=CbxVacMQ UTyG0RZm/89cVC1LYmI=; b=cVa+7MSCQR2OJOD07veBS/r2zXV6QmtbZ6ED7+AM xuctz/uJGtOBn4XgZaVRVL4NComz2jU8qExONR9Q4VLHauTG4PdrVqqWsD/SHpuZ dGHHHlqyMGqCtAnrc5hF8GoYcJ3rNEkGWpAS7eTjl0EMqDPw+BzQn8bZZlpVzoNw RspJfLIwvpuuKb4M59SV2RhyyRDy7KyWEQYeQ4KJn4EJd7TSMMcp4/5okp4KL4xk qOZg6GolUaDjNP0/gggIy3km8j2b3cP22e8a4tkNXBfxB0b8bEq6LKmFcfFglP0U XBZpPvBA4MbVdx0Q6uyF2Xw1Zr3uj74iSOvxfvc8jMoUNQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=Dv 7++hIlxqG5XDxzzHdOh+heuD0jXhEFA/+IKg0OEV2lh/zR1I+IN3B9kL9YnEpfWY XGlMkxDcWddDcpB6gCX9tUP96BG6FsJOWEzy5KTNerfhKihCHOyt9SIuNe/x4R0K GSAqLuTWP9CGRsiqz1Fdnd9VvaawPqseECyDKYtilIFOWIRd1nW8vl5BAbJ8zhgA JyqsQAaR07H6f+ck67Fd7NCXESxwwbdncx7RxtKOfCm76S8IXLUhgj9ILTLPWEz+ A1rP68l1hK7cGCS1me4eCXT8ZQd0tboQoEO6eyiYm2nH/QysXXvEpSTf89yKsbtx VkSkYpYzRFOuGIUHy6EA== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id ff3a305d (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Tue, 6 Apr 2021 16:57:01 +0000 (UTC) Date: Tue, 6 Apr 2021 18:56:38 +0200 From: Michael Gmelin To: Marco Beishuizen Cc: Helge Oldach , freebsd-ports@freebsd.org Subject: Re: cannot git clone into /usr/ports when separate filesystem Message-ID: <20210406185638.26fee27c@bsd64.grem.de> In-Reply-To: <91ba2d5b-606c-4277-fb3b-e622c927e1d6@xs4all.nl> References: <202104061632.136GW5Q8032095@nuc.oldach.net> <91ba2d5b-606c-4277-fb3b-e622c927e1d6@xs4all.nl> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FFDG86Rk8z3qRX X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=cVa+7MSC; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [1.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; URI_HIDDEN_PATH(1.00)[https://cgit.freebsd.org/ports/tree/.gitignore]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; DMARC_NA(0.00)[grem.de]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[213.239.217.29:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; NEURAL_HAM_LONG(-1.00)[-1.000]; FREEMAIL_TO(0.00)[xs4all.nl]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[213.239.217.29:from]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 16:57:06 -0000 On Tue, 6 Apr 2021 18:40:44 +0200 (CEST) Marco Beishuizen wrote: > On Tue, 6 Apr 2021, the wise Helge Oldach wrote: > > > Marco Beishuizen wrote on Tue, 06 Apr 2021 15:59:48 +0200 (CEST): > >> To avoid possible future problems I placed .sujournal into > >> $HOME/.gitexcludes as you suggested. > > > > That would work as there is no good reason a .sujournal file would > > be tracked by any git repo on your system but is kind of an odd > > placement. I would have added it to /usr/ports/.gitignore - that's > > the common file name, and this exclusion is obviosuly not global or > > system related, but specific to your /usr/ports repo being on a > > file system mount point. It's very common for .gitgnore to be checked into repos, so local customizations should never go there. Unsurprisingly, the FreeBSD ports repo also comes with a .gitignore file, see: https://cgit.freebsd.org/ports/tree/.gitignore So you really don't want to touch this for your local changes. Like I suggested, I would place .sujournal in my user's global exclusion file, as IMHO this is very specific to the system in question (and as .sujournal is something you never would want in any repo). If you really want to store this for some reason inside the /usr/ports tree (and lose the setting, next time you do a fresh checkout and long have forgotten about it), you would place it in /usr/ports/.git/info/exclude. Best, Michael > > Ok thanks. Will do that. > > Regards, > Marco > -- Michael Gmelin