Commit graph

67 commits

Author SHA1 Message Date
Glen Barber
77c28ff525 docbuild: source 'local.conf' if it exists
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2021-01-04 13:50:48 -05:00
Glen Barber
3e766ab07c Add GITARGS to dobuild.sh
When local.conf exists, GITARGS can be used to append checkout-specific
arguments to git.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
2021-01-04 13:38:21 -05:00
Glen Barber
d89f64cb54 docbuild: source 'local.conf' for machine-specific variables if exists
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-30 23:24:38 -05:00
Glen Barber
e9a6e6f104 docbuild: update PDF file build scripts to use Git
Remove references to CVS/SVN and replace with Git equivalents.
Note the files are not automatically updated on the builder after
a change is committed.
Remove RCSIDs.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-30 11:52:21 -05:00
Glen Barber
cb1d034ab1 docbuild: add scripts used to build the PDF versions of the Handbook
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-30 11:40:07 -05:00
Rene Ladan
eaf07aef56 Update the build infrastructure to use Git instead of Subversion
Summary:
The doc repository is not mirrored to Subversion so updating the
repository from Subversion does not make sense. Remove
Subversion-specific files too.

While here remove now defunct $FreeBSD$ markers in affected files.

Test Plan:
make clean
make update
make

Reviewed by:	bcr, ygy, doceng (gjb)
Differential Revision: https://reviews.freebsd.org/D27678
Subscribers:	drewery, emaste
2020-12-23 20:06:07 +01:00
Glen Barber
d79b57d3cf Website build: remove 'svn co' references for doc tree operations.
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-13 16:31:39 -05:00
Glen Barber
b385a81223 Website build: comment the 'git clean', which is causing missing pages.
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-13 15:13:25 -05:00
Glen Barber
41c404416f Fix argument order from previous commit.
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-13 15:08:33 -05:00
Glen Barber
6d605a5aa5 Website/docs build: ensure rebase is specified when pulling new updates
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-13 15:05:19 -05:00
Glen Barber
e406313179 Website build: reset fail-mail back to freebsd-doc.
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-09 16:24:27 -05:00
Glen Barber
70637319d2 website build: update scripts to use the correct Git host.
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-09 15:51:42 -05:00
Glen Barber
31a16cde4a Remove 'head' from 'subtrees', and uncomment the 'main' addition.
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-05 02:02:09 +00:00
Glen Barber
74ea351cb4 Send fail-mail to me directly until I'm sure the transition to
building from the git sources is indeed fine.

Note: these scripts are not automatically updated on the builder,
so I will manually update them and monitor for failures.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-05 00:39:01 +00:00
Glen Barber
9cc5ea8ef8 Update the webupdate script to uncomment git calls prior to the
switchover for the repository.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-04 23:13:25 +00:00
Glen Barber
34ff65c7b3 Add (commented) logic to webupdate{,.wrapper} to prepare for the
conversion of the doc tree from Subversion to Git.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-12-04 18:55:43 +00:00
Glen Barber
9a3a8348bb Fix doc build failure email generation to the freebsd-doc mailing list.
Approved by:	doceng (implicit)
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-02-19 16:42:26 +00:00
Glen Barber
a3ddfeda79 No longer build release notes for stable/10, as it is EoL.
Approved by:	doceng (implicit)
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-02-19 15:23:14 +00:00
Glen Barber
ad614bb4d6 Revert r51386, re-enabling building status.png. I believe I have
fixed the underlying problem on the web build machine that was
generating errors.

Thank you to hrs@ for disabling this until it could be investigated,
and to bjk@ for emailing admins@ about the problem.

Sponsored by:	The FreeBSD Foundation
2018-01-17 20:04:30 +00:00
Hiroki Sato
cc490aab0f Disable generating status.png temporarily. 2018-01-15 03:45:04 +00:00
Wolfram Schneider
c6b8fe8a4c by default run with more processes than CPUs, but not much more CPUs (n+1) 2017-12-15 09:07:16 +00:00
Eitan Adler
5dc9d36fd3 tools/prstats: remove it
This this is specific to GNATS which FreeBSD no longer uses.
2017-12-11 07:05:27 +00:00
Wolfram Schneider
6d12d409fb path for sysctl(8) 2017-10-07 21:42:28 +00:00
Wolfram Schneider
a006f40003 by default run two processes per CPU 2017-10-07 20:53:47 +00:00
Wolfram Schneider
3fed2208d4 spaces 2017-10-07 09:07:53 +00:00
Wolfram Schneider
29cff92547 log full run time 2017-10-07 09:07:28 +00:00
Wolfram Schneider
cea67a94b2 log time for each test 2017-10-07 09:06:45 +00:00
Wolfram Schneider
cbd09402e8 GIT_REPO_FREEBSD_DOC -> FREEBSD_DOC_GIT_REPO 2017-10-07 09:06:20 +00:00
Wolfram Schneider
9d3d99045e enable to configure git branch 2017-10-07 09:05:37 +00:00
Wolfram Schneider
e1ff763ab1 Import a regression test script for the build of www.freebsd.org
The main purpose of the script is to validate the output after
a refactoring of the Makefile tool chain, and to improve the build speed.
2017-10-06 09:36:06 +00:00
Glen Barber
71dabb9f19 Enable update/checkout of src/share/man/man4 for the 12.0R hardware
page.

Sponsored by:	The FreeBSD Foundation
2017-10-05 20:17:33 +00:00
Glen Barber
d2b31f9423 Disconnect 12-CURRENT relnotes generation in the webupdate script.
Sponsored by:	The FreeBSD Foundation
2017-10-05 18:34:28 +00:00
Wolfram Schneider
3c2b982611 enable parallel web+doc build
PR: 222721
2017-10-03 11:42:23 +00:00
Wolfram Schneider
b26935af4f replace perl with sed 2017-10-01 19:47:14 +00:00
Wolfram Schneider
f136b7facb cleanup stale documentation
PR: 222721
2017-10-01 19:39:38 +00:00
Wolfram Schneider
f47cd915a4 disable "obj", too fragile, see also PR: 222488
PR: 222721
2017-10-01 19:29:43 +00:00
Wolfram Schneider
3f8d9a5fba display the latest rev. nummber / git id on failure
PR: 222721
2017-10-01 19:26:53 +00:00
Wolfram Schneider
02bb3f74fe call make all' first, than make install'
PR: 222721
2017-10-01 18:08:22 +00:00
Wolfram Schneider
274e691d92 switch to HTTPS for people.freebsd.org 2017-10-01 11:47:58 +00:00
Wolfram Schneider
b5b51affd0 switch to HTTPS 2017-09-29 09:58:05 +00:00
Glen Barber
d5112e7690 Enable parallel builds in the webupdate script.
Thank you to wosch@ for fixing the parallel build issues in the
doc tree, and for implementing this.

Sponsored by:	The FreeBSD Foundation
2017-09-19 15:24:47 +00:00
Warren Block
90c78f7750 Exclude all files in htdocs/releases, and better check and sanitize the
exclude path used.
2017-09-09 13:35:17 +00:00
Warren Block
7eccfc1233 Add a utility to convert documentation language subdirectories to UTF-8. 2017-09-09 00:06:46 +00:00
Glen Barber
79613b6027 Stop building 9-STABLE release notes.
Sponsored by:	The FreeBSD Foundation
2017-07-25 15:45:07 +00:00
Glen Barber
1615488996 Update the webupdate script to include stable/11.
Sponsored by:	The FreeBSD Foundation
2016-07-11 13:38:57 +00:00
Glen Barber
c1ab632d62 Redirect fetchindex output to the logfile.
Sponsored by:	The FreeBSD Foundation
2015-08-18 22:21:40 +00:00
Glen Barber
a8ac032f74 Remove stable/8, as it is no longer supported.
Approved by:	doceng (implicit)
Sponsored by:	The FreeBSD Foundation
2015-08-18 21:07:39 +00:00
Glen Barber
fed721c589 Move the ports INDEX fetch functionality from webupdate.wrapper
to webupdate to fix the weekly clean build failures.

When fullbuild-clean.flag exists, all of the trees are removed
and checked out cleanly.  This happens after the INDEX-${INDEXNUM}
is fetched, so when the build enters the htdocs/ports/ directory,
the INDEX-${INDEXNUM} no longer exists.

Approved by:	doceng (implicit)
Sponsored by:	The FreeBSD Foundation
2015-08-18 21:05:16 +00:00
Glen Barber
de2755b681 Update webupdate and webupdate.wrapper to fix several issues.
In webupdate:
 - Output the ports tree checkout to the log file.
 - Set the depth of ports/Mk/ to 'infinity', since its contents
   are needed for 'fetchindex' to work properly.
 - Reduce redundant explicit paths to use the value of 'subdirs'.

In webupdate.wrapper:
 - Set PORTSDIR to the actual path that is being updated by
   webupdate.
 - If PINDEX_OVERRIDE is set, remove the INDEX-INDEXNUM file.

Approved by:	doceng (implicit)
Sponsored by:	The FreeBSD Foundation
2015-06-24 15:41:33 +00:00
Glen Barber
ff02792b59 Revert previous commit, which broke the build.
The problem is the INDEX info isn't being properly generated,
and now I see why.  But I'm going to wait until the in-flight
email service migration stuff is done before fixing this.

Sponsored by:	The FreeBSD Foundation
2015-06-24 03:26:22 +00:00