From owner-freebsd-git@freebsd.org Sat Feb 20 19:24:30 2021 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 C3527551AFB for ; Sat, 20 Feb 2021 19:24:30 +0000 (UTC) (envelope-from ilya@bakulin.de) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (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 4Djdg2231hz4Zn4 for ; Sat, 20 Feb 2021 19:24:29 +0000 (UTC) (envelope-from ilya@bakulin.de) Received: by mail-ej1-x62b.google.com with SMTP id e13so19046480ejl.8 for ; Sat, 20 Feb 2021 11:24:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bakulin-de.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e+SDs56hGuTgBN93ORmSobgBOZf0mcujs6P8M7HabBk=; b=jj3NeuPC7c3JWQNxVLtOc0SEzTUdrfBH97avFw6nxNI6YbUn11lbay3UjdsY3zryuE TPRrIaMt23S4bLj64zLxZHBofRO0lWAbZxedw9BIdNpc5CCQwyowsuJ0AKUrBoIwk65c xmW8n6pgYeAYZi48xoWH76J5OjRrrh8zhvk6W6xscdfPEn3XyFCXVvLl+Sl1l5Y3R0+D PCIcRhfxG8wJgvycWyRGv37jFHBem06ZgOUMQBzMW9dd9ROYmowazTuV+Yz5kbNjaRR9 Kp0azwzWHsMNcsUTj4FsIZChqLcNbHmwWxCIg8tXcbeaOArZEjzu3eYriY77MXs4eyP3 I5hQ== 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=e+SDs56hGuTgBN93ORmSobgBOZf0mcujs6P8M7HabBk=; b=l3erJUrG5eaY8ujRjhwk0KYr9w17MKIPa63NzkAChLUTKwmii8PBEKC3m6EIGfFIOY Rry+8JyOZOWC7gcxxlhlyZRfkcMgjJX2C2/h74kfc8+ZMg3JflIbvSlI94vWTAq7AKxF rjFefS6aKjOGPq0amNhpF5ZLHj6XqpLajSqSGpseXrkfLGGud7TuoGDGz9F0xmOfUBLv sw6R3scWxi8Pmu7O8ohiS/3SCkUauYvdaOGxDSeWFAOkO7ocQMnS/MQ5CytR5BbS4ZRj 2i0rHlYEQ3LHWy4xKt212YhmvZ5SyVxYlgagWN/y/2IQTcDsKgzx66/gqK1PUnfFmMZS Wb6w== X-Gm-Message-State: AOAM5338Th5bAeG5aIiaHDt7YBKiHiEzX+K6Zmhtfse2Xw4U32ect/4F S5Q1WoVkvvSpGSaPBoijoU5FvG2KOrsHzwsOHklQ2fgExCg= X-Google-Smtp-Source: ABdhPJx8rgsN3BQH+2xvpdWXL08dolqxTvfXhYk8F7x1vZwL51BDdB8pvzcUYkfViP+KtO5VcyWQOY06G0ezndbXAEU= X-Received: by 2002:a17:906:ca58:: with SMTP id jx24mr11264778ejb.482.1613849068803; Sat, 20 Feb 2021 11:24:28 -0800 (PST) MIME-Version: 1.0 References: <49046db6-88d9-d59d-85f5-ecc1321b07c6@siemens.com> In-Reply-To: From: Ilya Bakulin Date: Sat, 20 Feb 2021 20:24:03 +0100 Message-ID: Subject: Re: got(1) in base (was: Re: gitup(1) in base) To: Christian Weisgerber Cc: freebsd-git@freebsd.org X-Rspamd-Queue-Id: 4Djdg2231hz4Zn4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bakulin-de.20150623.gappssmtp.com header.s=20150623 header.b=jj3NeuPC; dmarc=none; spf=none (mx1.freebsd.org: domain of ilya@bakulin.de has no SPF policy when checking 2a00:1450:4864:20::62b) smtp.mailfrom=ilya@bakulin.de X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bakulin-de.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[ilya]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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)[bakulin.de]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62b:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bakulin-de.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62b:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::62b:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-git] X-Mailman-Approved-At: Sun, 21 Feb 2021 02:20:44 +0000 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: Sat, 20 Feb 2021 19:24:30 -0000 Last time I asked this question I didn't receive any convincing reply so I'd like to try again... What exactly does "makes base system complete" mean? What's wrong with having a good port? On Wed, Feb 10, 2021 at 7:15 PM Christian Weisgerber wrote: > "Uni T. Runker": > > > Using the portable version as a base for FreeBSD makes sense to me. > > > > However, Christian did a lot of work to make got run on FreeBSD. > Christian > > - what's your opinion on this? > > Well, I created the existing devel/got port. It identifies all > portability issues that concern FreeBSD and solves them. It should > be the obvious starting point for an import into base. > > I'll happily contribute to get a "-portable" effort to build on > FreeBSD eventually, but that's orthogonal to importing got into > base. > > -- > Christian "naddy" Weisgerber naddy@mips.inka.de > _______________________________________________ > freebsd-git@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-git > To unsubscribe, send any mail to "freebsd-git-unsubscribe@freebsd.org" > From owner-freebsd-git@freebsd.org Sun Feb 21 03:53:22 2021 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 3FF8B547913 for ; Sun, 21 Feb 2021 03:53:22 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Djry95KPzz3QfW for ; Sun, 21 Feb 2021 03:53:21 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 11L3rAnS082660; Sat, 20 Feb 2021 19:53:17 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) MIME-Version: 1.0 Date: Sat, 20 Feb 2021 19:53:10 -0800 From: Chris To: Ilya Bakulin Cc: Christian Weisgerber , freebsd-git@freebsd.org Subject: Re: got(1) in base (was: Re: gitup(1) in base) In-Reply-To: References: <49046db6-88d9-d59d-85f5-ecc1321b07c6@siemens.com> User-Agent: UDNSMS/17.0 Message-ID: <2f2261c230f5549a355f8533937c19db@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Djry95KPzz3QfW X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] 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: Sun, 21 Feb 2021 03:53:22 -0000 On 2021-02-20 11:24, Ilya Bakulin wrote: > Last time I asked this question I didn't receive any convincing reply so > I'd like to try again... What exactly does "makes base system > complete" mean? What's wrong with having a good port? Define good. IOW ask 9 people what is long. Then ask 9 people what is short. You don't expect to get the same answer, do you? ;-) As to; makes base system complete? It used to mean that it had everything required to make a fully functional system. What's wrong with having a good port? Nothing. Everyone can get their "good port" installed as simply as pkg install good port. :-) > > On Wed, Feb 10, 2021 at 7:15 PM Christian Weisgerber > wrote: > >> "Uni T. Runker": >> >> > Using the portable version as a base for FreeBSD makes sense to me. >> > >> > However, Christian did a lot of work to make got run on FreeBSD. >> Christian >> > - what's your opinion on this? >> >> Well, I created the existing devel/got port. It identifies all >> portability issues that concern FreeBSD and solves them. It should >> be the obvious starting point for an import into base. >> >> I'll happily contribute to get a "-portable" effort to build on >> FreeBSD eventually, but that's orthogonal to importing got into >> base. >> --Chris From owner-freebsd-git@freebsd.org Sun Feb 21 17:30:11 2021 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 2D47B55C1E8 for ; Sun, 21 Feb 2021 17:30:11 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (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 4DkC4f1vB3z4vgx for ; Sun, 21 Feb 2021 17:30:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72c.google.com with SMTP id x14so10567805qkm.2 for ; Sun, 21 Feb 2021 09:30:10 -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=qnggrmj8NSmK9kvYeTGANJITWdrjRf156elgngElAaY=; b=mJcDfkt4lJMJMvFqKlVStN7iBauncAqh98QTd+8Tp5+skwP4MV6/GRg7G94Ssc7EqD HVds67eWGvAEgByk9q4QF9WMtfNuZq1FBB1Nv11JWE+MUitCr/caVcHaPz9G5k+DmbGR sqnT28PGzwJDNHTurwBdYcFWTZZHJ3nW0zbRxGzbqOgk0yICBC2BVD0Ow3FvSQ5v5/RI OflBseCDfCTJe3W8W6F3T65B2OzFrvS8x9poKDiLI4Euh0yI/42hZ3VjIq0vjA0qVIWa 2iJL6urYIobB1kCsy7n0xjijnqQN7IS+oN5m6RwlNolC6caZOKkK9GZ8C4MLQ9YX9F0j TL2g== 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=qnggrmj8NSmK9kvYeTGANJITWdrjRf156elgngElAaY=; b=Ig21bJox8i/MwHtLIR9j9OhCBMrDJBBBTeDUeMluRNWv/bOGulttF34+FTFX+VQ4yC 9PDTdEl13UzPTiUh9D8DW5BXztAzoiwTAuXjcdpKU1ExEs+HHISEnOJ6Ep/MrKm1Ca6Z hY5bLdtuG4RGq0BjwW7oSop1IREP81aoZ5bAIQBNMff0GbDslircTWp0reGY0kQlSCoW R42fE8ltOcrf2PybqbRFUVPN9sQ5XYlaFIZK1fGXqJGvOknM5U5p9ksFX/4N1eK/3eT/ gXC0DUwMiQZh+H+KFotSsxX/TxqOXRpiZ+hYw6eZ3IF3JgJ0XdoCUmrkEju63jdA70mF No2w== X-Gm-Message-State: AOAM532BULGdPw/9ChnXkkYOcueN8kS2sQZ3iOs1Byw1A1DzH7Jfgd6u PK03K1KieZxpHMwZyWdg5CkpgQYelgoKTZRKtWpb6xXjXLCdcw== X-Google-Smtp-Source: ABdhPJzYhEDVdllrDfDvecMVPvzqnvz8Mn3ouCWVa0ueezcu4iFFQDEBYh3cfCv0pa2FCYJk6o/rHVQofN+Jvzk3gVk= X-Received: by 2002:a05:620a:12d1:: with SMTP id e17mr17520522qkl.89.1613928609143; Sun, 21 Feb 2021 09:30:09 -0800 (PST) MIME-Version: 1.0 References: <49046db6-88d9-d59d-85f5-ecc1321b07c6@siemens.com> In-Reply-To: From: Warner Losh Date: Sun, 21 Feb 2021 10:29:58 -0700 Message-ID: Subject: Re: got(1) in base (was: Re: gitup(1) in base) To: Ilya Bakulin Cc: Christian Weisgerber , freebsd-git X-Rspamd-Queue-Id: 4DkC4f1vB3z4vgx X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=mJcDfkt4; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::72c) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; 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::72c:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72c:from]; 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::72c:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-git]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 21 Feb 2021 17:30:11 -0000 On Sat, Feb 20, 2021 at 7:20 PM Ilya Bakulin wrote: > Last time I asked this question I didn't receive any convincing reply so > I'd like to try again... What exactly does "makes base system > complete" mean? What's wrong with having a good port? > Both got and gitup aren't quite to the maturity level we can commit to the planned 5 year lifetime of the 13.x tree. Both will be ports in 13.0, but reevaluated for 13.1. Warner > On Wed, Feb 10, 2021 at 7:15 PM Christian Weisgerber > wrote: > > > "Uni T. Runker": > > > > > Using the portable version as a base for FreeBSD makes sense to me. > > > > > > However, Christian did a lot of work to make got run on FreeBSD. > > Christian > > > - what's your opinion on this? > > > > Well, I created the existing devel/got port. It identifies all > > portability issues that concern FreeBSD and solves them. It should > > be the obvious starting point for an import into base. > > > > I'll happily contribute to get a "-portable" effort to build on > > FreeBSD eventually, but that's orthogonal to importing got into > > base. > > > > -- > > Christian "naddy" Weisgerber naddy@mips.inka.de > > _______________________________________________ > > freebsd-git@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-git > > To unsubscribe, send any mail to "freebsd-git-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-git@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-git > To unsubscribe, send any mail to "freebsd-git-unsubscribe@freebsd.org" > From owner-freebsd-git@freebsd.org Sun Feb 21 18:06:54 2021 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 33CDB55D505 for ; Sun, 21 Feb 2021 18:06:54 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 4DkCv142hQz3DnC for ; Sun, 21 Feb 2021 18:06:53 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x432.google.com with SMTP id t15so16668070wrx.13 for ; Sun, 21 Feb 2021 10:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=V2YovGSJJay6/cidCUh2uagQnJWvrRuD06qCicfZDmI=; b=BLzJ/hOQMDLZvCP6NXkDiTULb4QFnfzs9u9gv3/vknSeImYTajdSGCFnxis8IWZEvk SSFtV8iT7wI4eFEjwQfQetraYZATiD4uSDFnkKiZDK7icL5vgtFWVO/8vg2mlCS1xb02 BBgGbeqT3Qfjlmow0V0buzZMlLvKQAmxciNdKq0KV/hFo8l+IkS0ZZWxdYuFnggAhI3n gvGdbeZwVOILo9y3J2I0r9hzmLPWFXqxJyojbYH+nXMoCGm+4dEB1muJHzIOVQZMG09w 74zGWUVVkvdrr0vzj35ws5rbgAZeyZ405fAy1GqGlRv6QvPSVeIqtna1wN/vdXKrL7Nv 4zlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=V2YovGSJJay6/cidCUh2uagQnJWvrRuD06qCicfZDmI=; b=jFKTmjB3w8Ofeqc87nUjS3ZWUS0NIOLc5GeTeiA/YEwjReFeJHA+n0xFiPi/uVqDB6 BQMRNY1oeWdyxWUheXASDcaBhdI8Z+2T9BXqfAoEFcAYrdOa/4UkrmZIBrwB+8zDZoWY 8wbme04AR8AM/lUkhwbg/ofmizEVPp4cNILnop+IMrAYKcmSkMduPiAcJxkeUP8pJgaF 4g83ALpvYayIIIBJJXBxNnRbd0nHP+ZPU49M19Le5oAtMOBsjDSCGboUakTwgGcunjAN JfxM5F47g9Z2TgMQx05XuLJqsMldFzBYj1dzgSLFZtDwjj5OXK35DdD+B38m4v0ob0+h cTew== X-Gm-Message-State: AOAM53342UDgT7NJBIypAvtnDYBr8RezqMn6twTyj5K0Xgz8QzVi9VLR 8xHt89yfeMWy3qjobY5aEZLTcP7TSacCQw== X-Google-Smtp-Source: ABdhPJxvDt3oHllBIda5oedf5aDSxiFi6pgnuZvhP9xIL5OzBFOvLnqZbvrX6KFG5VSkBP3sWxmINw== X-Received: by 2002:adf:f089:: with SMTP id n9mr18581396wro.98.1613930810821; Sun, 21 Feb 2021 10:06:50 -0800 (PST) Received: from [192.168.1.13] (88-105-96-80.dynamic.dsl.as9105.com. [88.105.96.80]) by smtp.gmail.com with ESMTPSA id y16sm24942410wrw.46.2021.02.21.10.06.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Feb 2021 10:06:50 -0800 (PST) Subject: devel/gh (was: got(1) in base (was: Re: gitup(1) in base)) To: freebsd-git@freebsd.org References: <49046db6-88d9-d59d-85f5-ecc1321b07c6@siemens.com> From: Graham Perrin Message-ID: <04b41f72-2424-05bf-1aa3-dea788300f78@gmail.com> Date: Sun, 21 Feb 2021 18:06:50 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4DkCv142hQz3DnC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BLzJ/hOQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::432 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.64 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.64)[-0.637]; RECEIVED_SPAMHAUS_PBL(0.00)[88.105.96.80:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::432:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::432:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::432:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-git] 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: Sun, 21 Feb 2021 18:06:54 -0000 On 21/02/2021 17:29, Warner Losh wrote: > On Sat, Feb 20, 2021 at 7:20 PM Ilya Bakulin wrote: > >> Last time I asked this question I didn't receive any convincing reply so >> I'd like to try again... What exactly does "makes base system >> complete" mean? What's wrong with having a good port? >> > Both got and gitup aren't quite to the maturity level we can commit to the > planned 5 year lifetime of the 13.x tree. Both will be ports in 13.0, but > reevaluated for 13.1. > > Warner … Maybe a stupid question (I'm not a developer): * do gh(1) and related commands lack   what's required for 'simple' use? Not intended to spark a huge debate, or muddy the waters with regard to what might be included in base. I'm just curious. Thanks % gh repo clone --help Clone a GitHub repository locally. If the "OWNER/" portion of the "OWNER/REPO" repository argument is omitted, it defaults to the name of the authenticating user. Pass additional 'git clone' flags by listing them after '--'. USAGE   gh repo clone [] [-- ...] INHERITED FLAGS   --help   Show help for command LEARN MORE   Use 'gh --help' for more information about a command.   Read the manual at https://cli.github.com/manual % From owner-freebsd-git@freebsd.org Sun Feb 21 20:52:22 2021 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 7326053A26B for ; Sun, 21 Feb 2021 20:52:22 +0000 (UTC) (envelope-from adridg@freebsd.org) Received: from lb2-smtp-cloud8.xs4all.net (lb2-smtp-cloud8.xs4all.net [194.109.24.25]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.xs4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkHYy0R5Pz3Q8x for ; Sun, 21 Feb 2021 20:52:21 +0000 (UTC) (envelope-from adridg@freebsd.org) Received: from cust-d4a83f22 ([IPv6:fc0c:c11d:cecc:f58a:eaa1:c0:9d8f:c143]) by smtp-cloud8.xs4all.net with ESMTPA id DviFlkLhKfIMiDviGloZfM; Sun, 21 Feb 2021 21:52:20 +0100 From: Adriaan de Groot To: freebsd-git@freebsd.org Subject: Re: devel/gh (was: got(1) in base (was: Re: gitup(1) in base)) Date: Sun, 21 Feb 2021 21:52:14 +0100 Message-ID: <4828803.7IPSAfTSoR@beastie.bionicmutton.org> Organization: FreeBSD In-Reply-To: <04b41f72-2424-05bf-1aa3-dea788300f78@gmail.com> References: <49046db6-88d9-d59d-85f5-ecc1321b07c6@siemens.com> <04b41f72-2424-05bf-1aa3-dea788300f78@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1773989.GETTdP9EZa"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-CMAE-Envelope: MS4xfM+1+hjxq+ewg3K+GZHheCVT8amyoinp7JEJToGZ16PyHKQ3j6V7H29faz0v6OIuiXj+7UnipFb0bLa1R8nNK0ybfrLqwcgAZJ5N1UiThBhEJNDsg4xv m/HXk82rzG5AORSzcefPyj1A1nyT+cwbc5F88jgpQEcMGdtomnCBaf4UrMGixIwQ3n1xEWadgDlLVvacyaaF+lfe+myKSUC70NnWt0tzfpgId9/qCtus8kqo LZ/HP4C06U1zixVc7pdr0ccNgMr9uTxbLPOqeZOOITd7txPZUNfSCpiga4vumPEl X-Rspamd-Queue-Id: 4DkHYy0R5Pz3Q8x X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] 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: Sun, 21 Feb 2021 20:52:22 -0000 --nextPart1773989.GETTdP9EZa Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Adriaan de Groot To: freebsd-git@freebsd.org Cc: Graham Perrin Subject: Re: devel/gh (was: got(1) in base (was: Re: gitup(1) in base)) Date: Sun, 21 Feb 2021 21:52:14 +0100 Message-ID: <4828803.7IPSAfTSoR@beastie.bionicmutton.org> Organization: FreeBSD In-Reply-To: <04b41f72-2424-05bf-1aa3-dea788300f78@gmail.com> References: <49046db6-88d9-d59d-85f5-ecc1321b07c6@siemens.com> <04b41f72-2424-05bf-1aa3-dea788300f78@gmail.com> On Sunday, 21 February 2021 19:06:50 CET Graham Perrin wrote: > * do gh(1) and related commands lack > what's required for 'simple' use? I think that's an orthoganal question: 'simple' use vs a 'simple' tool; for base system we'd be looking more at the latter. Answer along one axis: 'gh' is a GitHub client. Git is not GitHub. GitHub is not git. 'gh' also manages all the project-management things that GitHub provides, not just the git parts. Answer along another axis: 'gh' RUN_DEPENDS on devel/git, so at that point you might as well just use git itself. So: while 'gh' may provide a simpler interface for users (it might; I haven't actually tried it), it's very, *very* heavyweight and not a simple tool at all. [ade] --nextPart1773989.GETTdP9EZa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEhrjttu2OP5apuuy1z93JbxKxkVwFAmAyx/4ACgkQz93JbxKx kVw2Zgv+MOiA+LlQpr8ePJLdObVaw8OCRBYVGjgyHpYnx4vEupUYt23jxCwj/aji C5dT3EE3Suwd70JcWjiGP0dednG797ZAEuiqetz5u1HHV1z3Ma814tcY631a/SXm QKnWdL5Xdd2wMtVEnQ7H2/V4MDoWifwmUMH7DVQx8XEoAvtenD4tXXDIpKrcWeBA FTer0273Rtt2zoIsJVcVmnYOCiY5rZtSmFzwSyy9qvDCIW+UOAB8oOvHnbt/rDFb Qm/fkrMsq4dBu7Dl5hith6nweVyelw65ODdvybNigfcYG+/rJfzGhIRy2tIpQ2i9 ozgnipa7HhpsbWhjSGpgkGLor/ZV5+9q2lZ+FVje5pKQ/bCetOqb1vy7POnIBwS2 KVmAeq4fbKY5RCYM4FHASLCp8glcauwt3ln+/nZIBf8nqpHHgc5VOxdrl8W1Vamf NjO/qrCUAwInU+mVFTSTvX+1hvpg4WQW5AOWfTd2b6oO+7BaBUUWM5X9sJjqijGe N5gB7SfW =JAZj -----END PGP SIGNATURE----- --nextPart1773989.GETTdP9EZa-- From owner-freebsd-git@freebsd.org Mon Feb 22 10:25:55 2021 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 8184D5505AD for ; Mon, 22 Feb 2021 10:25:55 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dkdcg3HmBz3C7t for ; Mon, 22 Feb 2021 10:25:55 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6EB3D550478; Mon, 22 Feb 2021 10:25:55 +0000 (UTC) Delivered-To: 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 6D595550616 for ; Mon, 22 Feb 2021 10:25:55 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a05:fc87:1:5::15]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.spoerlein.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dkdcf721Cz3CMX for ; Mon, 22 Feb 2021 10:25:54 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from localhost (acme.spoerlein.net [IPv6:2a05:fc87:1:5:0:0:0:15]) by acme.spoerlein.net (8.16.1/8.15.2) with ESMTPS id 11MAPjIa059523 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 22 Feb 2021 11:25:45 +0100 (CET) (envelope-from uqs@freebsd.org) Date: Mon, 22 Feb 2021 11:25:45 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: git@freebsd.org Subject: HEADS UP: hashes changing for the freebsd-ports repo on Sunday yet again Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/2.0.3 (2020-12-04) X-Rspamd-Queue-Id: 4Dkdcf721Cz3CMX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:39540, ipnet:2a05:fc87::/32, country:CH] 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: Mon, 22 Feb 2021 10:25:55 -0000 Hey folks, me again with the bi-monthly reminder that ports' hashes will change due to an authorname change. Affected will be all commits _after_ Feb 10. All earlier history will remain the same. By now you know the drill, rebasing should be trivial and merging should mostly work out of the box, as the window of divergence is rather small. Please let me know if you will need help with any of that. I hope to push the changes on Feb 28th. Cheers Uli From owner-freebsd-git@freebsd.org Mon Feb 22 14:31:38 2021 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 2F4E3556AF2 for ; Mon, 22 Feb 2021 14:31:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dkl4B0npWz3jVH; Mon, 22 Feb 2021 14:31:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id E8DB024049; Mon, 22 Feb 2021 14:31:37 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::a402:511d:72ed:2a2d] (unknown [IPv6:2001:470:7a58:0:a402:511d:72ed:2a2d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id CCF891948A; Mon, 22 Feb 2021 15:31:35 +0100 (CET) From: Dimitry Andric Message-Id: <46D53766-0D69-4518-91D0-298D1075E2B6@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_933D0504-C256-4537-86E7-1E987BD4E802"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: devel/gh (was: got(1) in base (was: Re: gitup(1) in base)) Date: Mon, 22 Feb 2021 15:31:26 +0100 In-Reply-To: <04b41f72-2424-05bf-1aa3-dea788300f78@gmail.com> Cc: freebsd-git@freebsd.org To: Graham Perrin References: <49046db6-88d9-d59d-85f5-ecc1321b07c6@siemens.com> <04b41f72-2424-05bf-1aa3-dea788300f78@gmail.com> X-Mailer: Apple Mail (2.3445.104.17) 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: Mon, 22 Feb 2021 14:31:38 -0000 --Apple-Mail=_933D0504-C256-4537-86E7-1E987BD4E802 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 21 Feb 2021, at 19:06, Graham Perrin wrote: >=20 > On 21/02/2021 17:29, Warner Losh wrote: ... > Maybe a stupid question (I'm not a developer): >=20 >=20 > * do gh(1) and related commands lack > what's required for 'simple' use? >=20 > Not intended to spark a huge debate, or muddy the waters with regard = to what might be included in base. I'm just curious. devel/gh has Git as a run-time dependency, not to mention a whole load of Go dependencies. It is actually much bigger than Git itself, so it would be simpler to import the "real" Git in that case. :) -Dimitry --Apple-Mail=_933D0504-C256-4537-86E7-1E987BD4E802 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYDPAPgAKCRCwXqMKLiCW o/xuAJ4xsE5m+iYkW1YeVl8Is+u8kXSPcgCgjzZ7bU//YhkSSO6vYLcAuckFb78= =LsIF -----END PGP SIGNATURE----- --Apple-Mail=_933D0504-C256-4537-86E7-1E987BD4E802-- From owner-freebsd-git@freebsd.org Mon Feb 22 19:45:20 2021 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 0C4FF54BCDD for ; Mon, 22 Feb 2021 19:45:20 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dkt266NWCz4f3K for ; Mon, 22 Feb 2021 19:45:18 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.229.168]) by shaw.ca with ESMTPA id EH8slYwdinRGtEH8ulKINS; Mon, 22 Feb 2021 12:45:16 -0700 X-Authority-Analysis: v=2.4 cv=cagXElPM c=1 sm=1 tr=0 ts=603409cc a=7AlCcx2GqMg+lh9P3BclKA==:117 a=7AlCcx2GqMg+lh9P3BclKA==:17 a=xqWC_Br6kY4A:10 a=kj9zAlcOel0A:10 a=qa6Q16uM49sA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=aezfhCZThtJYn-b418MA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [IPv6:fc00:1:1:1::5b]) by spqr.komquats.com (Postfix) with ESMTPS id 5020C3F3 for ; Mon, 22 Feb 2021 11:45:13 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.16.1/8.16.1) with ESMTP id 11MJjCiO063445 for ; Mon, 22 Feb 2021 11:45:12 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <202102221945.11MJjCiO063445@slippy.cwsent.com> X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: freebsd-git@freebsd.org Subject: Ports Repocopy Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 22 Feb 2021 11:45:12 -0800 X-CMAE-Envelope: MS4xfCN4OFxvb6JN+vKMdb3N8qjOWBLwfrmhpLTh5+TX5C1P6OjRxZNgSbbqLyxLZOiBWAvFAy6NbgHwKKlzU0Y16/dAHVc31xgb4AZtEZ+pIBoiMeSWlzEa XVSP3pcbJ1/CJDsrpms+rpwVLd9P1Mldf+D3/CnQnKbO49M6P6d8UcRXuqygKD4EYkcZYprVsUJDkNzAAIaOaHsoOPPRUxJv4eY= X-Rspamd-Queue-Id: 4Dkt266NWCz4f3K X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.136.137) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-1.69 / 15.00]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[64.59.136.137:from]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-0.99)[-0.990]; RECEIVED_SPAMHAUS_PBL(0.00)[70.67.229.168:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[64.59.136.137:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; DMARC_NA(0.00)[cschubert.com: no valid DMARC record]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[64.59.136.137:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[64.59.136.137:from]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[freebsd-git] 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: Mon, 22 Feb 2021 19:45:20 -0000 When ports switches to GIT, given that there is no GIT equivalent to svn copy will repocopy become a thing of the past? Will we live with this or will there be some kind of procedure ports committers must follow to approximate a repocopy? -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org The need of the many outweighs the greed of the few. From owner-freebsd-git@freebsd.org Mon Feb 22 20:35:01 2021 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 0802854DD3F for ; Mon, 22 Feb 2021 20:35:01 +0000 (UTC) (envelope-from rene@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dkv7S6rzmz4khf; Mon, 22 Feb 2021 20:35:00 +0000 (UTC) (envelope-from rene@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1614026101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=obKRMkaBmwjphkM499DXzjqxeNZDLywBpnA+ikH+C6k=; b=s4NoXFZioYOF14I5NqzducU5MLX7rydXnryFi1yDkbmns/UYEnIZOErfwAGMSJSUTz7IzY bslKQmP+B1jBUK+w9LvEgNgoQqHdHR7qswuEsuEEI1e+sa8CUw+2xXK4TiBgCJF9R52DIr vMAWSzTYPenuJtsT87WwY23UwUaR4trG/KYcddpFn5fF9jIhsKhrSCKaPBYItEsU5h8TV8 Z48rROVF/MWCON0elfuRvgxSSJC555CZc17a8hEi6A/wJKxxLdR+c0+kPqtHrlb3bS2Ikt TRaPEvYUh6NlTKxB2/IIBubRueqq2cac8pjv+Ksu+AfC82Z8WHmXJee4aBjk9g== Received: by freefall.freebsd.org (Postfix, from userid 1185) id E446E1A734; Mon, 22 Feb 2021 20:35:00 +0000 (UTC) Date: Mon, 22 Feb 2021 20:35:00 +0000 From: Rene Ladan To: Cy Schubert Cc: freebsd-git@freebsd.org Subject: Re: Ports Repocopy Message-ID: <20210222203500.GA75838@freefall.freebsd.org> References: <202102221945.11MJjCiO063445@slippy.cwsent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202102221945.11MJjCiO063445@slippy.cwsent.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1614026101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=obKRMkaBmwjphkM499DXzjqxeNZDLywBpnA+ikH+C6k=; b=jZaX8Xr64jXQns3pRBNvv672W5wsuwNGTD1KLbLqlLcGJ5mJ2MiFgGmlO0dQRFG7TqOAn2 06PLZRbgYddNlVEl+0vV3AF7aULXv+pucFXCx4BP4K8CqR+P5i12BWqB970dL8zNUhHNvE NVaoDc55JxvfujxoWslomvRc24NUihzU87GscDnNmCDrtB+lDargXCnTBHv5uERtaPsETV RWrE1KEOz9GBc4LaZ8fY31Ch78Rn1iGzRUwx1IjFNP3miAH8aTlIB4NtDr44CtInK5hT2T fTofRBnST1u4RVDNkYSMJi+v9Xw95fuIYQX6BFW7hik3UHWwnFp19/avolciqA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1614026101; a=rsa-sha256; cv=none; b=o5NtWhS0rgaUz/Al4V3bqOBbp4Jg59GjhZ6s4wVUGb/n9riMoD/I/dOqRgLxqq0aZZLsZ2 Y3I7p5ltELBfu5idpcBgr6sGTGa5P9eux48ylAnLAoirWjEDBsH/LYCxpcHof22f+ALY2a 4jkBDbem3L4cZez3LgOyjbIr6CwF3ZNpduZmTSPPyUbl1doBcwT1DBVWkP1OG+w8Gpiknx cjth5fp+O+uPVXCPJbPfnARw4T5+W2ylr+QugA7wXIETtIH3Fw5N7m5WF5bRVuTkuFtcLg ScrC3im4h/DjWnfZKxlR/TXC/rXPTRP+UoCLiLc6n3PkQVaz5comhBTgwBjRKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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: Mon, 22 Feb 2021 20:35:01 -0000 On Mon, Feb 22, 2021 at 11:45:12AM -0800, Cy Schubert wrote: > When ports switches to GIT, given that there is no GIT equivalent to svn > copy will repocopy become a thing of the past? Will we live with this or > will there be some kind of procedure ports committers must follow to > approximate a repocopy? > There is indeed no "git cp", only "git mv", so unless I'm mistaken repocopies will be a past thing. It might be possible to (credits to portmgr): - create a branch, - copy/move the files and commit the copy/moves without any changes, - change the stuff, - commit, - merge into the main branch. Similar for resurrecting a port: - create a branch from before the port was removed, - change stuff, - commit, - merge into the main branch (using something like "git merge -s their" so that the resurrection branch overwrites the removal) But this would warrant a new script if it turns out to be feasible. I have not tried this yet. René From owner-freebsd-git@freebsd.org Mon Feb 22 20:47:01 2021 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 9C27354DE62 for ; Mon, 22 Feb 2021 20:47:01 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkvPK3qQlz4kyv for ; Mon, 22 Feb 2021 20:47:01 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 7520A27054 for ; Mon, 22 Feb 2021 20:47:01 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 1624F27C0054 for ; Mon, 22 Feb 2021 15:47:00 -0500 (EST) Received: from imap38 ([10.202.2.88]) by compute3.internal (MEProxy); Mon, 22 Feb 2021 15:47:01 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeefgddugedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdluddtmdenucfjughrpefofgggkfgjfhffhffvufgtsehttdertder redtnecuhfhrohhmpedfuehrrghnughonhcuuegvrhhgrhgvnhdfuceosggurhgrghhonh eshfhrvggvuefuffdrohhrgheqnecuggftrfgrthhtvghrnhepteetleffuddvtddtuedv hfefheejvddvgfdvkedvfeethfegkedvkeelveeuvddunecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepsggurhgrghhonhdomhgvshhmthhprghu thhhphgvrhhsohhnrghlihhthidquddtgedvfeehkeeigedqudekuddtkeehuddqsggurh grghhonheppefhrhgvvgeuufffrdhorhhgsehimhgrphdrtggt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7FAD6CA005D; Mon, 22 Feb 2021 15:47:00 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-141-gf094924a34-fm-20210210.001-gf094924a Mime-Version: 1.0 Message-Id: In-Reply-To: <202102221945.11MJjCiO063445@slippy.cwsent.com> References: <202102221945.11MJjCiO063445@slippy.cwsent.com> Date: Mon, 22 Feb 2021 14:46:40 -0600 From: "Brandon Bergren" To: "John Mehr via freebsd-git" Subject: Re: Ports Repocopy Content-Type: text/plain 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: Mon, 22 Feb 2021 20:47:01 -0000 On Mon, Feb 22, 2021, at 1:45 PM, Cy Schubert wrote: > When ports switches to GIT, given that there is no GIT equivalent to svn > copy will repocopy become a thing of the past? Will we live with this or > will there be some kind of procedure ports committers must follow to > approximate a repocopy? > Renames and copies in git are inferred, not tracked. About all you can do to make following stuff easier across a copy is to cp -a and immediately commit, before making any changes, so that it shows up in the index with identical file hashes as what it was copied from. Following a file's history across a copy is dependent on the settings the person looking at the history is using. It is not enabled by default because it is an extremely expensive operation -- it is O(n^2) where n is the number of files in the tree, plus even then it only works if the original file was modified in the same commit. Otherwise you have to use --find-copies-harder which is an even more expensive option. If the commit was done by committing an unmodified version first, you can theoretically use `git log --follow -C100% --find-copies-harder ` which should probably be able to do its work without having to compute similarities on all of the objects. But if you have many files with the same contents, I don't really know what the log will look like past that point. I *think* it will just randomly mix history. I haven't tested it though. I suppose writing a tool that adds metadata about the copy to a git note or something would be the best way to track this stuff... -- Brandon Bergren bdragon@FreeBSD.org From owner-freebsd-git@freebsd.org Mon Feb 22 20:51:25 2021 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 B14FE54E10D for ; Mon, 22 Feb 2021 20:51:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 4DkvVN5yb0z4l9R for ; Mon, 22 Feb 2021 20:51:24 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82e.google.com with SMTP id e15so10321049qte.9 for ; Mon, 22 Feb 2021 12:51:24 -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=vI1YWNEj6sZ1pIxE4Urf0kD+RUF+DxUQhInvbEauDZY=; b=qtnIbUEn/mwBXBfLLeOwKDbM1SzKM3qQJwDtZJ5L3WrcNjpSsnp5R6vNpi7igaubjG 6wHC/qZyi79uUK+QPy3FfKS5XSa89+roea5dwZo8QyptIzCN+AuZ69WJqw1A6lFrxiu4 CySZn5hhZIPd3WJuX96+PRG4C7vgiUCYEPKrknjMQrMMVO/IwCn24A7yf6L58Z8IX/0q J7w/9Tx1YPKq+GqyVbnHTgwy01Pf1sRB2IJb2ZZ718sbsGubzhFOQtTp8L8boMyG52F9 c/LOW/2mpOphs+Ghq1/BWL1ip0B9Wy//mIb6ooLPppd7pk93fCiBXL4tQZuh5CZOuNtq 9FIA== 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=vI1YWNEj6sZ1pIxE4Urf0kD+RUF+DxUQhInvbEauDZY=; b=U2e8xsHpfnRLhSx0hYBTVnweAU2Efs/VSlGGO4sY/GfZL8aYjLaAzrsGCbH4DVFHLA oBoEZRkgeEWMsLBPx6hqbyVNEiVj8B0ZSd2+85Mqzn12wxaukUQcCiLUtZpH9uNYrbEI cd96AQdT1VA6Wx+tPhsZNyo10FfiWJvnXKQuMY4zzMGYGQcsOiBCyBt9LJrSzEKfk0t0 6RrgnnI6Ct02CQDx7/R0bqPopyqIdxw3U4erHIxzQxfwC0G4DUg+hAg8hxHyTTS+UeM0 62gAdGSHno3N6R4MW5A+JCMN/QHCPoiv4JzgiBHfJYAbmnjGZNFu6qsaOJdqxh1FPB2o rbxw== X-Gm-Message-State: AOAM531im5bza/IlYsuBAkfdN1eenXBuyWwwMFEJFW4v081atL3G3XC8 v6qr2SGg8P843dssm8ypuJIdHIfdTvvKCZslhV3oTA== X-Google-Smtp-Source: ABdhPJw87xgTJupCKHXvtG+/Lz1EKTkOsilVxXOZbDrSZB+DfMS43V5ma8L/CApE+C4dTp46rOLSMpKhLC5ks/yBEbs= X-Received: by 2002:a05:622a:90:: with SMTP id o16mr21012254qtw.49.1614027083915; Mon, 22 Feb 2021 12:51:23 -0800 (PST) MIME-Version: 1.0 References: <202102221945.11MJjCiO063445@slippy.cwsent.com> <20210222203500.GA75838@freefall.freebsd.org> In-Reply-To: <20210222203500.GA75838@freefall.freebsd.org> From: Warner Losh Date: Mon, 22 Feb 2021 13:51:13 -0700 Message-ID: Subject: Re: Ports Repocopy To: Rene Ladan Cc: Cy Schubert , freebsd-git X-Rspamd-Queue-Id: 4DkvVN5yb0z4l9R X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=qtnIbUEn; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::82e) 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)[]; RCPT_COUNT_THREE(0.00)[3]; 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::82e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82e:from]; 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::82e: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: Mon, 22 Feb 2021 20:51:25 -0000 On Mon, Feb 22, 2021 at 1:35 PM Rene Ladan wrote: > On Mon, Feb 22, 2021 at 11:45:12AM -0800, Cy Schubert wrote: > > When ports switches to GIT, given that there is no GIT equivalent to svn > > copy will repocopy become a thing of the past? Will we live with this or > > will there be some kind of procedure ports committers must follow to > > approximate a repocopy? > > > There is indeed no "git cp", only "git mv", so unless I'm mistaken > repocopies > will be a past thing. It might be possible to (credits to portmgr): > - create a branch, > - copy/move the files and commit the copy/moves without any changes, > - change the stuff, > - commit, > - merge into the main branch. > > Similar for resurrecting a port: > - create a branch from before the port was removed, > - change stuff, > - commit, > - merge into the main branch (using something like "git merge -s their" so > that the resurrection branch overwrites the removal) > > But this would warrant a new script if it turns out to be feasible. I have > not > tried this yet. > There's two additional lines of attack on this that have been discussed. The radical one is to create a vendor branch per port (or maybe related set of ports). This would be updated and then merged to main as the port evolves. It then becomes easy to delete a port and bring it back since you'd just re-merge from the vendor branch. This would take a lot of time and effort to get right today, though, but might be useful for 'big' or 'important' sets of ports. The second idea is to be explicit in the commit message about where things were copied from, or what hash was used to resurrect a port so the history could be followed if need be without introducing a lot of loops into the ports tree which will only cause problems in time. This is like the branch idea above, but would optimize for 'ease of use' while still preserving enough data to reconstruct things in the event that git's guessing code goes awry. In this scenario, you'd want scripts to add these 'markers' in a consistent way. Warner From owner-freebsd-git@freebsd.org Mon Feb 22 21:10:32 2021 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 D6A8E54E730 for ; Mon, 22 Feb 2021 21:10:32 +0000 (UTC) (envelope-from rene@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkvwS5nllz4m74; Mon, 22 Feb 2021 21:10:32 +0000 (UTC) (envelope-from rene@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1614028232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wpyqRXh4ozFSx9/ayHAqOlQ72dZonOHgFOfVPdwcI+k=; b=ox/+IqS1zCp/Np7uAXhN25xW09S9sOVqc0Ni0Fn4M6zDNz1GmR7vbeenLhy7+W6F7kMLbx QFZm1dsuZsEEEtbFdeehX4nx6DPlYvVfau4sXH0u+Y8eLuDjmofgFD7p0LupO30aYGpC99 QLHbyMV3axEkwVH5VY4qGF5E8q585HG5S+V7oVkzkpnjPF99aUp6367IJNuJJcZk7nfRw4 7AWuywuuWli6Uk/IwV23iXXcULmGNm6ZhiBgkKlHSdTEaavTRJwvFz5kakdWcsMJrovjJt vjx7WK3XT6mPRviOwMcAH6gNTI6u9/kTvo0dKeEQUl3F3xoMab6BoQwWlvIWAg== Received: by freefall.freebsd.org (Postfix, from userid 1185) id BCFF61AB4F; Mon, 22 Feb 2021 21:10:32 +0000 (UTC) Date: Mon, 22 Feb 2021 21:10:32 +0000 From: Rene Ladan To: Brandon Bergren Cc: John Mehr via freebsd-git Subject: Re: Ports Repocopy Message-ID: <20210222211032.GA21063@freefall.freebsd.org> References: <202102221945.11MJjCiO063445@slippy.cwsent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1614028232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wpyqRXh4ozFSx9/ayHAqOlQ72dZonOHgFOfVPdwcI+k=; b=A4teTJv4//RpLeqcfIyG4RMO+oHmi6b8I7z9R9vS1ZuF8UzuXMTf/b88Vnx6f4mZ24diBa 3GhGNi6FglT5t3m5P+Z/r3eBG+uIl0zjaDAd7/H6THalVEglbAOKvU6H2imbLPG5gExtkb bSDB624OhJ0j5OX713chRvI/bNqven7KKt1/g3mT9NGxQkraszAD0P2J098nvnx5e2PW4F oBaiD5jcsMLz4rfgNSkat8YfY+JKQitfEXQitLyqQyW90W+ZV+kk0eAb329toYmCvKfdAs 2Hah34BfTvpN1437Ah0JzwqSbzVLcBV/DwUozcy3QW/psDU11ClHe3BwRPHLIA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1614028232; a=rsa-sha256; cv=none; b=wDAiHTyTnq2DDfvOLLt20OYgFMDGLUDtYDug8+C0M1Ai5Nt79p1fXGx+uROqE3bCFhPwDK 2PrfYY4aM+J+vgapGhMTw6hgHWYyCv988okQ8eePmMsLSbwjSzGC3DJmflHM00stutVfrL cTS86iNNnvKDg/6eRTepuo/GC9V63BcF2y9tutR7ZGJtvXXkgcbCHp1zLhGknFo6KuaFsc EXacLiLdBGxGFnr9xcFEvkLBGf05OugivPowNUzu+gZ0cvrcUkx5wCyyyePKnpRV8GNKf1 NrRpMgtdNOPMuur7yiNO/eYTg84Td5FfT03hj/RdfR1n/pVEM1+SrSrOTRTDQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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: Mon, 22 Feb 2021 21:10:32 -0000 On Mon, Feb 22, 2021 at 02:46:40PM -0600, Brandon Bergren wrote: > On Mon, Feb 22, 2021, at 1:45 PM, Cy Schubert wrote: > > When ports switches to GIT, given that there is no GIT equivalent to svn > > copy will repocopy become a thing of the past? Will we live with this or > > will there be some kind of procedure ports committers must follow to > > approximate a repocopy? > > > > Renames and copies in git are inferred, not tracked. > > About all you can do to make following stuff easier across a copy is to cp -a and immediately commit, before making any changes, so that it shows up in the index with identical file hashes as what it was copied from. > > Following a file's history across a copy is dependent on the settings the person looking at the history is using. > > It is not enabled by default because it is an extremely expensive operation -- it is O(n^2) where n is the number of files in the tree, plus even then it only works if the original file was modified in the same commit. Otherwise you have to use --find-copies-harder which is an even more expensive option. > > If the commit was done by committing an unmodified version first, you can theoretically use `git log --follow -C100% --find-copies-harder ` which should probably be able to do its work without having to compute similarities on all of the objects. But if you have many files with the same contents, I don't really know what the log will look like past that point. I *think* it will just randomly mix history. I haven't tested it though. > > I suppose writing a tool that adds metadata about the copy to a git note or something would be the best way to track this stuff... Hm, or just write something at the bottom of the commit message, like cherry-pick -x does? I remmber that emaste suggested something like this in the last git working group meeting. René From owner-freebsd-git@freebsd.org Mon Feb 22 21:30:14 2021 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 D446754FC60 for ; Mon, 22 Feb 2021 21:30:14 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkwM95YwDz4p7f; Mon, 22 Feb 2021 21:30:13 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.229.168]) by shaw.ca with ESMTPA id EImPlvV4NeHr9EImRlzumQ; Mon, 22 Feb 2021 14:30:11 -0700 X-Authority-Analysis: v=2.4 cv=Yq/K+6UX c=1 sm=1 tr=0 ts=60342264 a=7AlCcx2GqMg+lh9P3BclKA==:117 a=7AlCcx2GqMg+lh9P3BclKA==:17 a=xqWC_Br6kY4A:10 a=kj9zAlcOel0A:10 a=qa6Q16uM49sA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=R-PVL-mpIl3oI1DEKSMA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [IPv6:fc00:1:1:1::5b]) by spqr.komquats.com (Postfix) with ESMTPS id 57A2C618; Mon, 22 Feb 2021 13:30:08 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.16.1/8.16.1) with ESMTP id 11MLU7tD032546; Mon, 22 Feb 2021 13:30:07 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <202102222130.11MLU7tD032546@slippy.cwsent.com> X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Warner Losh cc: Rene Ladan , Cy Schubert , freebsd-git Subject: Re: Ports Repocopy In-reply-to: References: <202102221945.11MJjCiO063445@slippy.cwsent.com> <20210222203500.GA75838@freefall.freebsd.org> Comments: In-reply-to Warner Losh message dated "Mon, 22 Feb 2021 13:51:13 -0700." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 22 Feb 2021 13:30:07 -0800 X-CMAE-Envelope: MS4xfD2epQeRC6Ay5gKaee6KD5U25GJ6OdKKZSdcze7hKU0dYFrS7OxjIhZH2qz1dvgi/X16NIK49Ocyt+Su1EkMK02SpPO3mGTcGUJPcJkc7q2oEHQWsxGH LbSIoUq7EzJgcy0RvScBROyi3enH9BRunZVbElD0+i3dEHIsMnKJy3MEu4JovNjfSbR0szHW4A3QwWt6IXBASC2WY9I8dUqGMyi5oifOXuOTd3QZ5foSJVLQ QY7AX5L0GbsOxXf2r9cyhw== X-Rspamd-Queue-Id: 4DkwM95YwDz4p7f X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.134.12) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-1.70 / 15.00]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[64.59.134.12:from]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[70.67.229.168:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[64.59.134.12:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cschubert.com: no valid DMARC record]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[64.59.134.12:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[64.59.134.12:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[freebsd-git] 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: Mon, 22 Feb 2021 21:30:15 -0000 In message , Warner Losh writes: > --000000000000feba3d05bbf2f652 > Content-Type: text/plain; charset="UTF-8" > > On Mon, Feb 22, 2021 at 1:35 PM Rene Ladan wrote: > > > On Mon, Feb 22, 2021 at 11:45:12AM -0800, Cy Schubert wrote: > > > When ports switches to GIT, given that there is no GIT equivalent to svn > > > copy will repocopy become a thing of the past? Will we live with this or > > > will there be some kind of procedure ports committers must follow to > > > approximate a repocopy? > > > > > There is indeed no "git cp", only "git mv", so unless I'm mistaken > > repocopies > > will be a past thing. It might be possible to (credits to portmgr): > > - create a branch, > > - copy/move the files and commit the copy/moves without any changes, > > - change the stuff, > > - commit, > > - merge into the main branch. > > > > Similar for resurrecting a port: > > - create a branch from before the port was removed, > > - change stuff, > > - commit, > > - merge into the main branch (using something like "git merge -s their" so > > that the resurrection branch overwrites the removal) > > > > But this would warrant a new script if it turns out to be feasible. I have > > not > > tried this yet. > > > > There's two additional lines of attack on this that have been discussed. > > The radical one is to create a vendor branch per port (or maybe related set > of ports). This would be updated and then merged to main as the port > evolves. It then becomes easy to delete a port and bring it back since > you'd just re-merge from the vendor branch. This would take a lot of time > and effort to get right today, though, but might be useful for 'big' or > 'important' sets of ports. But you can still cd category && git diff $HASH2 $HASH1 . | git apply to resurrect the port. This assumes the category had no intervening commits between $HASH1 and $HASH1 or one would need to put the diff into a file, edit, and apply. The history is gone but you have what once was. Answering the question how important the history is will guide us to the answer. > > The second idea is to be explicit in the commit message about where things > were copied from, or what hash was used to resurrect a port so the history > could be followed if need be without introducing a lot of loops into the > ports tree which will only cause problems in time. This is like the branch > idea above, but would optimize for 'ease of use' while still preserving > enough data to reconstruct things in the event that git's guessing code > goes awry. In this scenario, you'd want scripts to add these 'markers' in a > consistent way. This makes the most sense. Though I feel history is important, a vendor branch adds complexity and complexity which leads to brokenness and dysfunction. Simpler is better. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org The need of the many outweighs the greed of the few. From owner-freebsd-git@freebsd.org Tue Feb 23 14:40:53 2021 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 E87815460CA; Tue, 23 Feb 2021 14:40:53 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (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 4DlMDP2D4Hz3M1B; Tue, 23 Feb 2021 14:40:53 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f45.google.com with SMTP id f20so17280731ioo.10; Tue, 23 Feb 2021 06:40:53 -0800 (PST) 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=xGqfduC2Kn2D6HE72lop/AxWBAVipZhzNFenYDKAb+4=; b=sh34/MG0IT5D04LSsnILCeq/CErxqFy1mZCuNoE9Y1Gk6zuWu/lHdd7g0lAgSb2xSn +4zb7JdT/Fx1IRmlyD3RIdO0BzJNALk2EmVlWyeX1PtGEE0sF8uDsTM9WAqM1zb9gnWC OuHU3/3axKVpztlSUkRGq3cFNXTvgmgc9z7mWSF99T5Gxl3ALoyGPqo8R6asSjgqBR1w HtDHLahYUmMESf0P6qe5dQzhCmYK65Sgy/onv6yCLPO4atV0K3QZlDhNt1ecdg7YXwXA cZblYJgAjcPHSeCLR2XJWIz0RQXukKcxNATFy4T8lthPf825ekkmZ0SFM6Dg+Nnd5w3b xbcA== X-Gm-Message-State: AOAM530j5zYICEi5A41D6/lYl7cugZhiqSp7dkFsPbZUCRH2bxlxz4Y0 /EeS/d1JBL9SUHOFAuXDvNrfr4R8rKENYR15xN/9uZ3USO8= X-Google-Smtp-Source: ABdhPJzdZpKIpI0d1VvjJj2l7d5k/l6SboaYHwvrZrF9oeAXgpoRbVqxilQIn5t756XQOLgqnAm3Ay3JtTXybGQ0Z9o= X-Received: by 2002:a05:6602:2e14:: with SMTP id o20mr20145986iow.179.1614091251435; Tue, 23 Feb 2021 06:40:51 -0800 (PST) MIME-Version: 1.0 References: <5b6e1fd1-1aa6-9031-78df-9dab1f05b21a@sentex.net> In-Reply-To: From: Ed Maste Date: Tue, 23 Feb 2021 09:40:22 -0500 Message-ID: Subject: Re: stable/12 git -> svn mirror delayed To: freebsd-stable stable Cc: freebsd-git , mike tancsa , Warner Losh Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DlMDP2D4Hz3M1B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.45 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-2.85 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.166.45:from]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[carpeddiem]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; RCVD_TLS_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[209.85.166.45:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.973]; RCVD_IN_DNSWL_NONE(0.00)[209.85.166.45:from]; NEURAL_HAM_MEDIUM(-0.87)[-0.872]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.166.45:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; MAILMAN_DEST(0.00)[freebsd-stable,freebsd-git] 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: Tue, 23 Feb 2021 14:40:54 -0000 On Thu, 18 Feb 2021 at 15:29, Ed Maste wrote: > > The git-svn stable/12 mirror is currently stuck. It encountered an > issue with the OpenSSL 1.1.1j import (e3a8c0df593b) and hasn't been > able to make progress past it. It's under investigation and will > hopefully be resolved soon. This was fixed and restarted at the end of last week; the Subversion tree is up-to-date. (Warner manually imported the git merge commit that was responsible for the issue.) From owner-freebsd-git@freebsd.org Thu Feb 25 13:20:05 2021 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 54308563091 for ; Thu, 25 Feb 2021 13:20:05 +0000 (UTC) (envelope-from dan@langille.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 4DmYLD3StVz4j4Y for ; Thu, 25 Feb 2021 13:20:04 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0F49F5C00DA for ; Thu, 25 Feb 2021 08:20:03 -0500 (EST) Received: from imap36 ([10.202.2.86]) by compute4.internal (MEProxy); Thu, 25 Feb 2021 08:20:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=erb5B/89QVHoPy+zFu9Bufcgz+EVKBrYx07JEdmuM4c=; b=sDB+Msrf +LlA6CEzaOm2UesdYRMi7u/5ZihnJIU2L0+iQeWV63YdYG1UhMVE4BA7/FsP+F4w GmIwtEgY4It9v/zYR+Sn5B1DHs4u1oOm3hp6fIfO7HhDePp0yq5fpK9X5PbeRm+z EXSOI+gzGXHieodOzH4ywWvT47lhXh6XxXGefFroNqtOjVTcHyxa0ezC8qIBkXQk swkIWjKYWaq/ae75OIDo384EflKESYDfBB1AvZfxfGqTBO/2vosqr4gNBrfwVm32 qNqq52TM7hTxCTcPJRyk2o/XtPC8BErpfJG4NXnVcwR67RWBumKp0RTfWeldQvqt OxFpZy0QrKXBdw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=erb5B/89QVHoPy+zFu9Bufcgz+EVK BrYx07JEdmuM4c=; b=Vni2/LLl1rk6rtdMJTS8d2pVw+p2lDNzVQcjNmO0++ZHr 6s/cTwNr6R7yF0HZI7LgTP3Q3NURmoYscUaC8/mOZzGRR6FEToFWBQU3vKsNQxEn EZb/wvv2PO7fCYOq+PSNdrrrOgZ4pwlWtYVmy/G1U9sp4Yhhx+Oev2ktzyWc1ybO AfcgaWSwPBZgEmfl5+TRPlwRFFgxmxqdpIZLzWfQhq4UpBY/8VEdX219jPjYiq9r 08r6NxrlcY4MyfWpwGxCs+tN+w/HqcmdaEOnD4t4ZjyiyQe7g8k77LrtlRseEcud 91+7ZR6RxqXKKzwkV8uSr6JvHKtKEc1D5DJVrbzvQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeelgdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdffrghnucfnrghnghhilhhlvgdfuceouggrnheslhgrnhhgihhl lhgvrdhorhhgqeenucggtffrrghtthgvrhhnpefhkeeikeeitdeihffgkeetleeuudefje eltedufeduvdekkeduleelffevvddtteenucffohhmrghinhepfhhrvggvsghsugdrohhr ghdpghhithhhuhgsrdgtohhmpdhfrhgvshhhphhorhhtshdrohhrghenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghnsehlrghnghhilhhl vgdrohhrgh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id BBD1310E0065; Thu, 25 Feb 2021 08:20:02 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-141-gf094924a34-fm-20210210.001-gf094924a Mime-Version: 1.0 Message-Id: <0bd4ecf6-2797-41da-902a-94fed6887abd@www.fastmail.com> Date: Thu, 25 Feb 2021 08:19:38 -0500 From: "Dan Langille" To: freebsd-git@freebsd.org Subject: replacement for ident(1) Content-Type: text/plain X-Rspamd-Queue-Id: 4DmYLD3StVz4j4Y X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm3 header.b=sDB+Msrf; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=Vni2/LLl; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-3.09 / 15.00]; XM_UA_NO_VERSION(0.01)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.29:from]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.29:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm3,messagingengine.com:s=fm2]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.29:from:127.0.2.255]; MID_RHS_WWW(0.50)[]; MAILMAN_DEST(0.00)[freebsd-git] 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: Thu, 25 Feb 2021 13:20:05 -0000 Post git, what do we use instead of ident(1)? >From https://www.freebsd.org/cgi/man.cgi?query=ident&sektion=1 NAME ident -- identify RCS keyword string in files Example, pertinent to my use case: $ ident security/vuxml/vuln.xml security/vuxml/vuln.xml: $FreeBSD: head/security/vuxml/vuln.xml 566520 2021-02-25 02:33:12Z philip $ Here is the 15-year old code which uses it: https://gist.github.com/dlangille/c7aee2ce3a717443d73e3d7f86a74130 Those four bits of information are used here: https://www.freshports.org/vuxml.php?all e.g. The last vuln.xml file processed by FreshPorts is: Revision: 566519 Date: 2021-02-25 Time: 02:33:09Z Committer: philip I could extract this separately during each commit of security/vuxml but wanted to check if there was another way first. Thank you. -- Dan Langille dan@langille.org From owner-freebsd-git@freebsd.org Sat Feb 27 02:23:21 2021 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 0376B5581C8 for ; Sat, 27 Feb 2021 02:23:21 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 4DnVgW6kxqz3lqQ; Sat, 27 Feb 2021 02:23:19 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pj1-x102f.google.com with SMTP id e9so7198289pjj.0; Fri, 26 Feb 2021 18:23:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:message-id:date:mime-version:user-agent:reply-to:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=+BV/rffiP8OW4Kg/myb9P26KrXphUycBIwQ91vDGhJI=; b=SP1AY29UekpGRSkpHBk5WlP3JJEdGbfRmXkWfW5DkZRPM9CjYmabpINegHlb95s+jr jSae5JQXptctTRPRyGu2zbYZhASmx/WxjP+tfOI9b4vxCO+709YeuXYOAYnlkDMWqnsr vHFYQSz6MCWYx+aXi0O2ICwJF1PvvabZgWWWwYeafPBFYtUAVaXMFoDQoNOu8PQdvLEp /dN6fdFkqtqxYZpbH72pGc1y6LsGf+E95I9OwvjEDjMhqK4dFHfjPVqR5njL8pigWbFi +vttrZ/KcmXq6iQ0qn2w5nEbLcVYl29ov+8W/zFHo4SI6NoLZvyhBoCgCiAmaVN4FlZJ 486A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :reply-to:subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=+BV/rffiP8OW4Kg/myb9P26KrXphUycBIwQ91vDGhJI=; b=FeFYk4w8Aom7cPk5jXUMY16rcPxn2msjq6AMEQAPX7ZVUC065GyTTwpHXyGN7FoLsZ rCjCFI+8NWzdKs5a2K5Tw+lrPApIHHX57SarQe1/a3srr54K2mbbsIasMjo+U4QVW5J6 8DjovLtaxdg91xuJAP4gVeSZ3tgZn6ooWlT5h4clpiyDZki1r7iyEV43Qf7JvPwiA8DQ MeCRY9zfqq1OEY3SvCJkXfZ6sZDOvxh02ik0FhFU5JZSYo5wYR3qOD++92qriRaHsAWS y1GqDF91PPsoUhK1LhrpN8N/1GEOZAHNFVxMB9SI5eLOitPKs9eJeKSCYPlilBYb/+X1 2KsA== X-Gm-Message-State: AOAM531QFYpvgmsrwMOxsOlKcQED2OI5QlRuRTJoxlUiOlIOvbyEVcYE dl+qKgtKCwiSOZcLcCAmQiaNJ4szB8w= X-Google-Smtp-Source: ABdhPJzbrl0GFo+dfFiteqDgu6CN3/4Q3lNve2Qww5ByFbAxOJJXFVIs6O8d9z9eDTPc7c0b70xRgg== X-Received: by 2002:a17:90b:1284:: with SMTP id fw4mr6212845pjb.157.1614392598237; Fri, 26 Feb 2021 18:23:18 -0800 (PST) Received: from ?IPv6:2403:5800:7500:3601:6c96:2af:6952:e9bc? (2403-5800-7500-3601-6c96-2af-6952-e9bc.ip6.aussiebb.net. [2403:5800:7500:3601:6c96:2af:6952:e9bc]) by smtp.gmail.com with UTF8SMTPSA id q95sm130014pjq.20.2021.02.26.18.23.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Feb 2021 18:23:17 -0800 (PST) Sender: Kubilay Kocak Message-ID: <5695f4e8-3f05-c7f6-6ddc-7ad3b2a5a091@FreeBSD.org> Date: Sat, 27 Feb 2021 13:23:14 +1100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Thunderbird/88.0a1 Reply-To: koobs@FreeBSD.org Subject: Re: Adopting "Fixes" trailer Content-Language: en-US To: Ed Maste , John Baldwin Cc: freebsd-git References: <75c9ad1e-c7ca-8a22-cfe5-6434b3685ccc@FreeBSD.org> From: Kubilay Kocak In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DnVgW6kxqz3lqQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=SP1AY29U; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::102f as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-1.20 / 15.00]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::102f:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(1.00)[0.999]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::102f:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102f:from]; MAILMAN_DEST(0.00)[freebsd-git] 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: Sat, 27 Feb 2021 02:23:21 -0000 On 19/02/2021 6:30 am, Ed Maste wrote: > On Thu, 18 Feb 2021 at 11:53, John Baldwin wrote: >> >>> https://reviews.freebsd.org/D28693 >> >> Huh, at first I thought this was to auto-close issues on GitHub. I think >> this is a good idea. If we had a wrapper script for MFC's it could >> auto-squash those as an option perhaps. > > Ah, I think that's typically "Closes: " > > Indeed we could search for Fixes in an MFC wrapper; the MFC reminder > mails and https://gitmfc.kernelnomicon.org could also be extended to > list related Fixes commits. Fixes/Closes & References within commit log messages are common keywords to close, and add comments to (respectively) to issues (as properties: or trailers, or within commit bodies (non trailer)) It would be nice to reserve/use those for issue tracker integration/automation. One possible dual-use is "References[:] " but the value parsing ambiguity between a commit hash and issue number can sometimes cause problems or be less than robust. (that ive seen from other projects) > It is used to identify a commit that is a follow-up bug > fix to a previous commit, and could generally be used instead of "MFC with" > or "X-MFC-with". One nice aspect is that it conveys fix metadata also for > commits that aren't intended for MFC, which may be useful for downstream > projects. Could you clarify this use case, and provide a couple of examples? Sounds like we want a way to link/ref/relate a sequence or particular set/series of commits so they can be identified as logically/functionally related, so as to take a consistent set of actions with them as a group (merge, or anything else) Is that a decent summary? From owner-freebsd-git@freebsd.org Sat Feb 27 22:30:23 2021 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 6D02E556462 for ; Sat, 27 Feb 2021 22:30:23 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (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 4Dp1SH2Tjlz4Thx; Sat, 27 Feb 2021 22:30:23 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f53.google.com with SMTP id i8so13609633iog.7; Sat, 27 Feb 2021 14:30:23 -0800 (PST) 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=7t6MOOwacQktQMrkN+vC8byTD3NIrxeO2NLGyYlVRIE=; b=dG3/tmOQYWlX2beyCuVd+GTKc0+pdPkO5n+cZu62TSf82z/IVtod5VxfFf4OY0Q1Ea xSR6VabCg06DAMyefw4Ht1c15yfF/mZkA+lZQIDPr27poecB6r3id0BbS591X5Pfr/GI VUm6w6miqvIl6IaYhTDzLqueB+Eo8mahsi8A8x0U1IyZeeMfuAblKytJZjlGaw9Tr/Hs ofMBkFmUzM1ZjvG8xV9tPefQ3rWvyj4MKVRDXCJ2WRsVzfgphdbIBMPJlQjd1PV3sDfk mU0LR9Un0WEVVi/JSpNoS31yzOPg7irXbs0eaL/8ejUX8P/U3bpO43fZcGRywQEOYKii hUbg== X-Gm-Message-State: AOAM532ZzfYjSjfK4r3EZ0lu5+Xzn6T3DKCtnktai2pPExpxTHSFCTgj P4L0Mhp834inPgROduSgBcyVts0Kv8lGDemad0Rgkb61TgMa5w== X-Google-Smtp-Source: ABdhPJxQlmQJSG7AeJ9U8wEMasZ317Oq/B7TjzX/FUczxjZT5npv1P9V1T/sDLG2exrTBCxpdDGUEPHZfY7UNVJB75o= X-Received: by 2002:a6b:fc16:: with SMTP id r22mr7748765ioh.102.1614465020826; Sat, 27 Feb 2021 14:30:20 -0800 (PST) MIME-Version: 1.0 References: <75c9ad1e-c7ca-8a22-cfe5-6434b3685ccc@FreeBSD.org> <5695f4e8-3f05-c7f6-6ddc-7ad3b2a5a091@FreeBSD.org> In-Reply-To: <5695f4e8-3f05-c7f6-6ddc-7ad3b2a5a091@FreeBSD.org> From: Ed Maste Date: Sat, 27 Feb 2021 17:29:55 -0500 Message-ID: Subject: Re: Adopting "Fixes" trailer To: Kubilay Kocak Cc: John Baldwin , freebsd-git Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Dp1SH2Tjlz4Thx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Sat, 27 Feb 2021 22:30:23 -0000 On Fri, 26 Feb 2021 at 21:23, Kubilay Kocak wrote: > > Sounds like we want a way to link/ref/relate a sequence or particular > set/series of commits so they can be identified as > logically/functionally related, so as to take a consistent set of > actions with them as a group (merge, or anything else) Correct. Here's a recent example from Linux: https://github.com/torvalds/linux/commit/6a6660d049f88b89fd9a4b9db3581b245f7782fa > ALSA: hda/realtek - Improved routing for Thinkpad X1 7th/8th Gen > ... > Fixes: d2cd795 ("ALSA: hda - fixup for the bass speaker on Lenovo Carbon X1 7th gen")