From owner-dev-commits-src-all@freebsd.org Sat Dec 26 02:57:49 2020 Return-Path: Delivered-To: dev-commits-src-all@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 F10BC4D394A; Sat, 26 Dec 2020 02:57:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D2pQP6SbPz4k6L; Sat, 26 Dec 2020 02:57:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D09315AC3; Sat, 26 Dec 2020 02:57:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 0BQ2vnjd041964; Sat, 26 Dec 2020 02:57:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 0BQ2vn9W041963; Sat, 26 Dec 2020 02:57:49 GMT (envelope-from git) Date: Sat, 26 Dec 2020 02:57:49 GMT Message-Id: <202012260257.0BQ2vn9W041963@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Philip Paeps Subject: git: 24c7311bff83 - share/zoneinfo: update import documentation for Git MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: philip X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 24c7311bff83fb9147b5d890aae4e9546903b6ef Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Commit messages for all branches of the src repository." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Dec 2020 02:57:50 -0000 The branch main has been updated by philip: URL: https://cgit.FreeBSD.org/src/commit/?id=24c7311bff83fb9147b5d890aae4e9546903b6ef commit 24c7311bff83fb9147b5d890aae4e9546903b6ef Author: Philip Paeps AuthorDate: 2020-12-26 02:55:57 +0000 Commit: Philip Paeps CommitDate: 2020-12-26 02:55:57 +0000 share/zoneinfo: update import documentation for Git Document the steps needed to import and MFC new versions of tzdata now that FreeBSD has moved from Subversion to Git. --- share/zoneinfo/Makefile | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile index 08867dc673fd..3cbca07c1b94 100644 --- a/share/zoneinfo/Makefile +++ b/share/zoneinfo/Makefile @@ -3,29 +3,31 @@ # # HOW TO UPDATE THE ZONEINFO DATA # -# With the use of subversion, this is a little bit simpler than the CVS method. -# # Import the new sources to the vendor branch: # -# $ cd ~/svn/vendor/tzdata/dist -# $ tar zxvf /usr/ports/distfile/tzdata2008X.tar.gz -# (check with "svn stat" and "svn diff" if it all makes sense) -# $ svn commit # Commit message: "Vendor import of tzdata2008X (+details)" +# $ cd ~/freebsd/src +# $ git worktree add ../tzdata vendor/tzdata +# $ pushd ../tzdata +# $ tar -xvf ../tzdata-latest.tar.gz +# (check with "git status" and "git diff" if it all makes sense) +# $ git add -A +# $ git commit -m "Import tzdata 20XXX" +# $ git tag -a -m "Tag import of tzdata 20XXX" +# $ git push --follow-tags freebsd vendor/tzdata +# $ popd # -# Tag it +# Merge-from-vendor # -# $ cd ~/svn/vendor/tzdata -# $ svn cp svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist \ -# svn+ssh://svn.freebsd.org/base/vendor/tzdata/tzdata2008X -# $ svn commit # Commit message: "Tag of tzdata2008X" +# $ git subtree merge -P contrib/tzdata vendor/tzdata +# (write a meaningful commit message) +# $ git push freebsd HEAD:main # -# Merge-from-vendor +# MFC # -# $ cd ~/svn/head/contrib/tzdata -# $ svn update -# $ svn merge -c X --accept=postpone \ -# svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist . -# $ svn commit # Commit message: "MFV of tzdata2008X" +# $ git checkout -b freebsd/stable/12 stable-12 +# $ git cherry-pick -x [hash of merge commit to main] -m 1 --edit +# (write a meaningful commit message) +# $ git push freebsd HEAD:stable/12 # .include