From owner-freebsd-git@freebsd.org Wed Dec 16 19:49:16 2020 Return-Path: Delivered-To: freebsd-git@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 199064C5802 for ; Wed, 16 Dec 2020 19:49:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cx5L26fkkz3qsg for ; Wed, 16 Dec 2020 19:49:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72a.google.com with SMTP id 22so13814289qkf.9 for ; Wed, 16 Dec 2020 11:49:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5tD8XSHw1muCxYizZu6X+R53l9FvqPcWARvuG7dXZJY=; b=IaLdQrGtftNRHHsugvjNlJkxo2h+YmF877hpVigd0Ulk/RRSAjb0Uerybfz6CaSic2 Lx2WZPLZWhd2j9RAIODxvrayTMfEbCw20bCykRsCHt6TSc+FcKlAaPL7dfy+70C9/76R gFI6jfm9/8jxKigtTyexd7+Vnb3OyWA4SC4pHx6Ad0mx10WjSZ63Z1lRh9lsRCVKODNk hQAvaEL3ISEI4mdvTFToT7i+5BOL5kWOvjlLrUiZ/zRnvHMCY1fECbf8fTrN0QiWscwR 7Gf7FtJi9VKojZzH+qpEQlzvE6FZq2zuCJ70PFFX1tdHHs7grrNvYHzXCwoFV0RxbDaI jmrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5tD8XSHw1muCxYizZu6X+R53l9FvqPcWARvuG7dXZJY=; b=W0bsmtswQ8Q7hvFcqOtKz6qNLGlSqNsKxKdBJ7fKb+BeaDxIOIDepMbMBGHrKWL/IQ qlICqKnoJmewZ8mC0Yefuqb3vVrZ6m1tgE25jxs/IvpaXPmhBybEJVHe0KbIfxrUNS2C /BF+2zY6G/gyFPT98KQ/lU7ZmteHXsFl0FY8GT7VLOhUePtrrLcL6noOSnYFzIbjGteE UZ3jQWUlChIcOzgIZQ+cUJxxKEaRwad2AZXxRqzim01sADrLZ4owYWLBrX81Z0qqUrNi vVTi3MzhO6ygF7nEk52/0T326YSsxNSsIt8nkmqzugfNHQW0puaFgxY5Wq/l1JB1Z3cf HVmA== X-Gm-Message-State: AOAM53082ThA2vaeCfSrj4X8dR+DfnKEhaDuNJSIq+xBQWJuu1dO0W7m AlnPxwPwQ8bwxrf2MFkc7H22UmHRh4prb+yEXKlbm+xHPkpuaQ== X-Google-Smtp-Source: ABdhPJz74SNpmuF1VtvvFf1iu2IKlvmMLulEqsIsRXOAlGCuEYREWJL/B4qzyrX0n2etvy2Vzp/3X0IYxTuKIY/8m/o= X-Received: by 2002:a37:4a4e:: with SMTP id x75mr35017892qka.89.1608148153648; Wed, 16 Dec 2020 11:49:13 -0800 (PST) MIME-Version: 1.0 References: <202012160812.0BG8C7iT006176@slippy.cwsent.com> <202012161609.0BGG910P018294@slippy.cwsent.com> In-Reply-To: <202012161609.0BGG910P018294@slippy.cwsent.com> From: Warner Losh Date: Wed, 16 Dec 2020 12:49:02 -0700 Message-ID: Subject: Re: Vendor Imports To: Cy Schubert Cc: freebsd-git@freebsd.org X-Rspamd-Queue-Id: 4Cx5L26fkkz3qsg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=IaLdQrGt; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::72a) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; MAILMAN_DEST(0.00)[freebsd-git]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::72a:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72a:from]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::72a:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 19:49:16 -0000 On Wed, Dec 16, 2020 at 9:09 AM Cy Schubert wrote: > In message > om> > , Warner Losh writes: > > --0000000000002f35bf05b6945830 > > Content-Type: text/plain; charset="UTF-8" > > > > On Wed, Dec 16, 2020 at 1:12 AM Cy Schubert > > wrote: > > > > > Can we extrapolate that multilevel vendor trees, those with > > > subdirectories, > > > would need a cp -R or rsync? > > > > > > > It would. > > > > > > > The example shown says: > > > > > > % cd ../mtree > > > % cp ~/git/NetBSD/usr.sbin/mtree/* . > > > % > > > > > > cp -R would be appropriate for more complex software like openssl, > > > unbound, > > > and the like. Is this correct? > > > > > > > Yes. You're right. rsync with delete has been suggested, but I've not had > > time to update the example. > > Except that rsync duplicates hard link relationships whereas cp -R copies > them as if they are independent files in their own right. An rsync without > the -a or -H options should be suggested. Or does git treat hard links to > the same file as different files? (Meaning I'm talking through my hat?) > I'm unsure. An experiment is in order. Warner