From owner-freebsd-git@freebsd.org Wed Jan 6 01:28:04 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 8DC824D96BD for ; Wed, 6 Jan 2021 01:28:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9Wvm2Xg3z4Swq for ; Wed, 6 Jan 2021 01:28:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.nyi.freebsd.org (Postfix) id 572094D97E0; Wed, 6 Jan 2021 01:28:04 +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 56DFA4D9737 for ; Wed, 6 Jan 2021 01:28:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 4D9Wvl2zK9z4T4p for ; Wed, 6 Jan 2021 01:28:03 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82c.google.com with SMTP id z20so1202423qtq.3 for ; Tue, 05 Jan 2021 17:28:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=NpYLJGZF3YA/wwJiwng/9L1VzBzFq837MEJj1LnGMk4=; b=2MyY48yktFcghcVriMLE4vHPKIAnL2XKXv2moB6PvH+ntuvUfrYyWcpABPlsYYyDvF Q8jkIqQ7UdS14AAYa/PQ4V19lLTrlEH0CHYWa1G+BMey8F+FvDMBxbNKHfepuJfYdMpK ziXi+cDBAYCEHE3+KyH+EAG8VGKszSo+nETN6Gtz8bNBLj7KOwdXu3zZGyXmjBm6HFls sIxyWC2q+dvDFTzxlII292HHdfPfDgOzrvGVshzgDeMIIK1W93qhMXD7r4AIj8dMoCfY a2bY9g+A6kItDpEksIOqvbIQnwG/AKwzZHfOLk+sEOSGgw7TipO5qFfWMkia11jFoNb3 A0hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NpYLJGZF3YA/wwJiwng/9L1VzBzFq837MEJj1LnGMk4=; b=f9v3od8BveO4zt55yq8VPbFQMM8Jic1d2fe95R4UkduOSr1l0A1aezQikp/kayZqqN aX7knbuOqzA3eMYcUpItDKMFmoqVhnOtPS7GvhuMITk22wMFK3JbL0eC4fbnZqv81ob5 6BpnHxe/5wjATvUOISttQ6mg7waaP1H/TN2AojWIm0ZPQsRzPNjo+MGZ1GHoUnaRLTTc 8IuNZQJP+4t1Vi2098BrGNwjvR2iz0O01i7EcCV1OanMUndMKvEHzA6PI/v0aMZHbT0d 97qX2f8SUYA4Hh5fd/O7/wZ8CeZQ96DXGwdEzOSDe6WxYM1vTmfPS9Y9e4EvhTklHJ20 m3Vw== X-Gm-Message-State: AOAM531A6Vjd6fACblK8twLYBAnl3cyXJt8O33l1nsFMekL1+d1KODJY c5s1GEym5W6+oCSFqRPGWHtqLpx4+X2sLYTfQ7tWQpTm/rFhTbie X-Google-Smtp-Source: ABdhPJxCT4VfCT8TLF0IbnLYahdw3eWOWdaaD78sW2vsj2Tt8zN1cLrzCDcgfULhwgA0aTWHAAIVQUrIZ4HvPzT5Xb8= X-Received: by 2002:ac8:51d8:: with SMTP id d24mr2125065qtn.73.1609896482155; Tue, 05 Jan 2021 17:28:02 -0800 (PST) MIME-Version: 1.0 From: Warner Losh Date: Tue, 5 Jan 2021 18:27:51 -0700 Message-ID: Subject: Git status update To: git@freebsd.org X-Rspamd-Queue-Id: 4D9Wvl2zK9z4T4p X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=2MyY48yk; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::82c) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_TWO(0.00)[2]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[git@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::82c:from:127.0.2.255]; DMARC_NA(0.00)[bsdimp.com]; 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::82c: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::82c:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[git] 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, 06 Jan 2021 01:28:04 -0000 [ note: bcc'd to developers@FreeBSD.org, followup to git@] Greetings! I thought I'd give a brief update on the git migration, as well as clarify a few important points. Basic status: We've cut over to git. The source of truth is in git now. All commits go into git. Minor issues remain. A number of project processes depended on subversion. Most of these have been converted over, and new ones that are discovered are being converted when found. The git2svn replay has been delayed by illness, but should go live in a day or two. We will be replaying git commits to stable/11, stable/12 and the associated releng branches into that for the life of the branches. We will not be replaying into the head branch in subversion due to logistical issues. We've restarted mirroring to github, gitlab and other hosting services popular in Asia and Europe. The old mirror is retained on github as freebsd-legacy should you need it to migrate to the new mirror. The old mirror has stopped being updated. The git working group is looking at ways to enforce better dates in our workflow. Other projects have various processes in place to ensure better date sanity. While not strictly required, it can be helpful to have good temporal consistency in a way that's not a significant source of friction. Mark Johnson has a script to streamline phabricator and git integration. This allows one to create a review stream from a branch with multiple commits, with automated updating of the commit message, reviewed by, and updating the review itself after feedback is applied. You can find it at https://github.com/markjdb/scripts/blob/master/git-arc. Since this is new code, please take extra care in reviewing commits before pushing to help guard against bugs. Mark plans to commit the script under src/tools in the future. At this time, $FreeBSD$ tags should not be removed. This causes merge conflicts (has already caused them). New code that will never be MFC'd needn't have them. We've turned off enforcement that almost all files have them. However, since future stable/12 releases will be created from subversion, the tags must remain until EOL stable/12. We'll revisit this policy in the second half of 2021 after 13.0 and 12.3 are out to see how it's working out. But for now resist the urge to purge $FreeBSD$ tags from the src repo. In addition, large scale changes should be minimized for now. The dynamics of the git tool are different than the svn tool. There's a number of ways that other projects mitigate the hassles of large scale changes which the git team is looking into (anybody on git@ can help!). Until we can publish a set of recommendations (by the spring 2021), we'd ask that you defer sweeping changes that aren't strictly required. It's looking increasingly unlikely that got or gitup will be ready for 13.0 to be included in base. However, support for both as packages will likely be integrated into the tree since these tools are a bit different from GPL git(1). Please ensure that your Author Name is the same as your FreeBSD committer name. We've noticed a few instances where this wasn't the case so far. We want to make sure that anybody doing this is doing so intentionally and not accidentally. For the moment, a reminder email will be sent only when it's noticed. git log freebsd/main..main Please be mindful to use a single line summary for commits to make git log --oneline more useful. This should be followed by a blank line and then the rest of the commit message. Please take a moment to consider what's in this line and ask yourself if it's the most important information or not. If not, consider including it later in the commit message. MFCs should continue to be done as before (except using git cherry-pick, and maybe a rebase to squash), with one exception. Please consider adding (or reusing from the original commit) a single summary line that describes the MFC. We know it's on stable/12, so you don't need MFC in this line. We're writing up documentation on how to easily bring in pull requests from github, gitlab, etc. While straight forward, there's a number of fiddly details that you need to know and we're collecting all this info in one place. This will help land changes, but won't fix the project's long-standing 'somebody has to read the submissions' problem. We hope to also have some recommendations on that. Please see https://github.com/bsdimp/freebsd-git-docs for more details. Please note: I'm a couple days behind on pull requests. Warner