From owner-dev-commits-doc-all@freebsd.org Fri Jan 29 03:15:28 2021 Return-Path: Delivered-To: dev-commits-doc-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 4768E4FA49A for ; Fri, 29 Jan 2021 03:15:28 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DRjC41ZS9z3lPx; Fri, 29 Jan 2021 03:15:28 +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 2950A1B89C; Fri, 29 Jan 2021 03:15:28 +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 10T3FSM2015567; Fri, 29 Jan 2021 03:15:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 10T3FST9015566; Fri, 29 Jan 2021 03:15:28 GMT (envelope-from git) Date: Fri, 29 Jan 2021 03:15:28 GMT Message-Id: <202101290315.10T3FST9015566@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Kyle Evans Subject: git: 98844c28f4 - main - build: replace move-shared/copy-shared with a symlink MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 98844c28f4f56a39dce244cad5a72b5b9deb7e02 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2021 03:15:28 -0000 The branch main has been updated by kevans (ports, src committer): URL: https://cgit.FreeBSD.org/doc/commit/?id=98844c28f4f56a39dce244cad5a72b5b9deb7e02 commit 98844c28f4f56a39dce244cad5a72b5b9deb7e02 Author: Kyle Evans AuthorDate: 2021-01-28 04:06:37 +0000 Commit: Kyle Evans CommitDate: 2021-01-29 03:15:10 +0000 build: replace move-shared/copy-shared with a symlink The build should strive to not write to the shared space, so symlink these back to the one copy and remove the prep work needed. Reviewed-by: gjb, hrs Differential-Revision: https://reviews.freebsd.org/D28381 --- documentation/.gitignore | 3 --- documentation/Makefile | 5 ----- documentation/shared | 1 + website/.gitignore | 3 --- website/Makefile | 5 ----- website/shared | 1 + 6 files changed, 2 insertions(+), 16 deletions(-) diff --git a/documentation/.gitignore b/documentation/.gitignore index d703e3c524..467867ca9e 100644 --- a/documentation/.gitignore +++ b/documentation/.gitignore @@ -13,7 +13,4 @@ toc-3.adoc toc-4.adoc toc-5.adoc -# Shared folder -/shared - *.swp diff --git a/documentation/Makefile b/documentation/Makefile index f6192a459b..cdbed92057 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -7,7 +7,6 @@ # # all (default) - generate the books TOC and compile all the documentation # generate - generate the books TOC and build all the documentation -# copy-shared - move the shared AsciiDoc entities to the folder project MAINTAINER=carlavilla@FreeBSD.org @@ -17,7 +16,6 @@ LANGUAGES = en,es,pt-br,de,ja,zh-cn,zh-tw,ru,el,hu,it,mn,nl,pl,fr all: starting-message generate-books-toc run generate: starting-message generate-books-toc build -copy-shared: move-shared starting-message: @echo --------------------------------------------------------------- @@ -36,6 +34,3 @@ run: build: ${HUGO_CMD} --minify - -move-shared: - cp -R ../shared ./shared diff --git a/documentation/shared b/documentation/shared new file mode 120000 index 0000000000..8fba6b66ae --- /dev/null +++ b/documentation/shared @@ -0,0 +1 @@ +../shared \ No newline at end of file diff --git a/website/.gitignore b/website/.gitignore index 22591f65b4..0bba3cc84e 100644 --- a/website/.gitignore +++ b/website/.gitignore @@ -2,9 +2,6 @@ /public resources -# Shared folder -/shared - # Autogenerated content /data/releases.toml diff --git a/website/Makefile b/website/Makefile index 71445c4f05..96d0070c5a 100644 --- a/website/Makefile +++ b/website/Makefile @@ -7,7 +7,6 @@ # # all (default) - generate the releases.toml and compile all the website # generate - generate the releases.toml and build all the website -# copy-shared - move the shared AsciiDoc entities to the folder project MAINTAINER=carlavilla@FreeBSD.org @@ -16,7 +15,6 @@ HUGO_CMD = /usr/local/bin/hugo all: starting-message generate-releases run generate: starting-message generate-releases build -copy-shared: move-shared starting-message: @echo --------------------------------------------------------------- @@ -31,6 +29,3 @@ run: build: ${HUGO_CMD} - -move-shared: - cp -R ../shared ./shared diff --git a/website/shared b/website/shared new file mode 120000 index 0000000000..8fba6b66ae --- /dev/null +++ b/website/shared @@ -0,0 +1 @@ +../shared \ No newline at end of file