From owner-freebsd-current@freebsd.org Wed Sep 2 18:49:46 2020 Return-Path: Delivered-To: freebsd-current@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 EAE093C4FBA for ; Wed, 2 Sep 2020 18:49:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) (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 4BhXzt2ZMNz43NH for ; Wed, 2 Sep 2020 18:49:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x744.google.com with SMTP id o5so654575qke.12 for ; Wed, 02 Sep 2020 11:49:46 -0700 (PDT) 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=3WZQhRvv0fxa841wzpp0pK3jSnfWV8s1kRvVFYtf01w=; b=GlZrjs+f9B7EkOBTjJVvPnIjwF7nMUCRwSA7sGq8pLj1SxTJiSTSLNFUbhlhz7ANl8 RbuMgp8hXCrZ3ZoALQ/wYj6bOpmwZtwcIZfyRERIEe8qEAlp1ec0HOkmxeTR0d4LRi5k 9EPWLRCMwLMZ1+9QOc0BCwXxcFrrfLuv2dVNmTQj2ufpSxgFfUuBp6nFIZwzJZj22yzh oBQhvSxz//R4qJOngtgVeSW6faRXqJWMQUQ+r2KpQMlpNHi0IK5tOoWn4cmQEZv4Ya6B hSCqWqoXzYgVSgmN7YT2zx3midpFRCSsDTPNYj6f8CNfq+RxH29xkWyggLpV82EvY5le xvtQ== X-Gm-Message-State: AOAM531axnDqJnA+By9GmtStzyk9o02OpPYGl3KI4cADYdif1qHXyESm 2gLPWWYhVwtyn2YuKtr7/+eNxiT6lEIHuioe4e80/vHW0qsl4Q== X-Google-Smtp-Source: ABdhPJxf7sVahObapw8OFVh/Z5tTyEs+Y6TvTpfTfh6efYV1GGoJlPDf4cpFdX5De1A5mj55ZJRO8NkNBKjTwRK8AEc= X-Received: by 2002:ae9:e315:: with SMTP id v21mr8589769qkf.215.1599072585341; Wed, 02 Sep 2020 11:49:45 -0700 (PDT) MIME-Version: 1.0 References: <20200902045939.GA15897@eureka.lemis.com> <20200902060117.GG53210@home.opsec.eu> <20200902063136.GA47543@troutmask.apl.washington.edu> <20200902164706.GA49777@troutmask.apl.washington.edu> <5c89b4d27281f5dfffc3252a90013b0ac6c763d7.camel@freebsd.org> In-Reply-To: <5c89b4d27281f5dfffc3252a90013b0ac6c763d7.camel@freebsd.org> From: Warner Losh Date: Wed, 2 Sep 2020 12:49:34 -0600 Message-ID: Subject: Re: Plans for git (was: Please check the current beta git conversions) To: Ian Lepore Cc: Steve Kargl , FreeBSD Current X-Rspamd-Queue-Id: 4BhXzt2ZMNz43NH X-Spamd-Bar: / X-Spamd-Result: default: False [-0.59 / 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(-0.86)[-0.861]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.30)[0.305]; NEURAL_HAM_LONG(-1.04)[-1.039]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::744: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:~]; 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-current]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 18:49:47 -0000 On Wed, Sep 2, 2020 at 12:36 PM Ian Lepore wrote: > On Wed, 2020-09-02 at 11:11 -0600, Warner Losh wrote: > > On Wed, Sep 2, 2020 at 10:47 AM Steve Kargl < > > sgk@troutmask.apl.washington.edu> wrote: > > > > > On Wed, Sep 02, 2020 at 12:14:08PM -0400, Ed Maste wrote: > > > > On Wed, 2 Sep 2020 at 02:31, Steve Kargl > > > > wrote: > > > > > > > > > > > A short intro on git for svn users: > > > > > > https://hackmd.io/ML5TSl8mQ5-27B5eqDf7YA?view > > > > > > > > > > > > > > > > ROTFL. From the "short intro", 2nd sentence. > > > > > > > > > > New committers are assumed to already be familiar with the > > > > > basic > > > > > operation of Git. If not, start by reading the Git Book. > > > > > > > > This doc started as a direct translation of the Subversion > > > > primer, > > > > which has as its first sentence: > > > > > New committers are assumed to already be familiar with the > > > > > basic > > > > > > operation of Subversion. If not, start by reading the Subversion > > > Book. > > > > > > > > As with the Subversion primer the doc is intended to provide a > > > > quick > > > > reference for day-to-day commands, but not act as a reference or > > > > introduction to the entire theory of operation of the associated > > > > VCS. > > > > > > Like GCC, which did the svn to git dance at start of the year, > > > FreeBSD is throwing away a decade+ of corporate knowledge of > > > working with svn and /usr/src. What is needed is a succinct > > > translation of the most common svn commands translated to git. > > > > > > Checking out /usr/src as user@freebsd.org > > > > > > svn checkout svn+ssh://user@svn.freebsd.org/base/head /usr/src > > > > > > git ... > > > > > > Checking out /usr/src without freebsd.org account > > > > > > svn checkout https://svn.freebsd.org/base/head > > > ${HOME}/freebsd/src > > > > > > git ... > > > > > > Creating diff against updated head. > > > > > > svn update > > > svn diff > patch.diff > > > > > > git ... > > > > > > Adding a new file > > > > > > svn add /usr/src/libm/msun/src/_s_sinpi.c > > > > > > git ... > > > > > > Committing a change to /usr/src > > > > > > svn update > > > svn diff | more (everyone does one last check, > > > right?) > > > svn commit > > > > > > git ... > > > > > > > This is an insultingly stupid comment to make. We don't need people > > to say > > the obvious. > > > > This sort of comment isn't helpful. People will just ignore you if > > you make > > too many of them like it. > > > > Seriously, Warner? > > I applaud Steve's message as being the first one in this thread that > has any real value at all. Unlike everyone else, he has clearly seen > what the basic problem is (zero communications about this impending > cutover to the people who need to work with it every day), and he > summarized it in a completely practical way. > > This assumption that everyone knows how to use git is mind-boggling. I > think I installed it once, a few years ago. Then I uninstalled it > because of how abysmally hard it was to try to learn even a few > commands to do anything with it. > > I guess Steve & I are a couple dinosaurs and the whole rest of the > freebsd user and committer community is laughing at our ignorance and > thinking "we don't need their contributions anyway, so let's just mock > them and move on." > I'm just extra grumpy today. First, the doc has what Steve requested already, so the high level snarkiness isn't helpful. Second, the doc isn't done, but there was no feedback on where in the doc it isn't clear, so the message isn't helpful. Third, you're reading too much into the first paragraph, which was copied verbatim from the current guide. That's what lead to my outburst. Warner