Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2019 23:51:12 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r52900 - head/en_US.ISO8859-1/books/porters-handbook/special
Message-ID:  <201903282351.x2SNpCD8080797@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik (ports committer)
Date: Thu Mar 28 23:51:12 2019
New Revision: 52900
URL: https://svnweb.freebsd.org/changeset/doc/52900

Log:
  Porter's Handbook: Document CARGO_USE_GITLAB
  
  - Remove mention of CARGO_GH_CARGOTOML after ports r496795
  - Update CARGO_USE_GITHUB description.  It does not patch Cargo.lock.
    That is done automatically during the configure phase by cargo
    itself and is not worth mentioning here.
  
  Approved by:	mat
  Differential Revision:	https://reviews.freebsd.org/D19697

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml	Thu Mar 28 19:22:00 2019	(r52899)
+++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml	Thu Mar 28 23:51:12 2019	(r52900)
@@ -997,21 +997,19 @@ CMAKE_OFF=	VAR3</programlisting>
 	      <entry><literal>no</literal></entry>
 	      <entry>Enable fetching of crates locked to specific Git
 		commits on GitHub via <varname>GH_TUPLE</varname>.
-		This will try to patch both
-		<filename>Cargo.lock</filename> and
-		<filename>Cargo.toml</filename> to point to the
+		This will try to patch all
+		<filename>Cargo.toml</filename> under
+		<varname>WRKDIR</varname> to point to the
 		offline sources instead of fetching them from a
-		Git repository during the build.  Use with caution
-		as transitive Git dependencies are not resolved and
-		patched correctly.</entry>
+		Git repository during the build.</entry>
 	    </row>
 
 	    <row>
-	      <entry><varname>CARGO_GH_CARGOTOML</varname></entry>
-	      <entry><literal>${CARGO_CARGOTOML}</literal></entry>
-	      <entry>List of <filename>Cargo.toml</filename> that
-		will be patched when using
-		<varname>CARGO_USE_GITHUB</varname>.</entry>
+	      <entry><varname>CARGO_USE_GITLAB</varname></entry>
+	      <entry><literal>no</literal></entry>
+	      <entry>Same as <varname>CARGO_USE_GITHUB</varname>
+		but for GitLab instances and
+		<varname>GL_TUPLE</varname>.</entry>
 	    </row>
 	  </tbody>
 	</tgroup>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903282351.x2SNpCD8080797>