Commit graph

38 commits

Author SHA1 Message Date
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
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
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
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
f7900dd366 Set executable bit.
Sponsored by:	The FreeBSD Foundation
2014-02-18 18:07:00 +00:00
Glen Barber
8bd14a12f1 Update webupdate and webupdate.wrapper scripts to always
install from a clean build directory.

PUBDIR is where the installed files end up for the public
site.  DESTDIR is now suffixed with '-clean', and always
purged before a new build starts.

When the build finishes, rsync populates PUBDIR from the
resulting DESTDIR files.  When doing a full site refresh,
'rsync --delete' is used to purge stale files.

Sponsored by:	The FreeBSD Foundation
2014-02-18 18:04:03 +00:00
Glen Barber
c352ba6ed8 Re-enable relnotes8/{doc,man4}
Approved by:	doceng (implicit)
Sponsored by:	The FreeBSD Foundation
2013-11-08 00:37:59 +00:00
Glen Barber
2117dcdcf2 Add 'relnotes10/doc' and 'relnotes10/man4'.
Remove 'relnotes8/doc' and 'relnotes8/man4'.
Fix a case where 'relnotes8/man4' was listed twice, and
'relnotes9/man4' was excluded.

Approved by:	doceng (implicit)
Sponsored by:	The FreeBSD Foundation
2013-11-07 21:16:35 +00:00
Glen Barber
8642e83691 Synchronize the webupdate script with what is used in the FreeBSD
cluster.

Approved by:	doceng (implicit)
Sponsored by:	The FreeBSD Foundation
2013-11-07 20:49:52 +00:00
Gavin Atkinson
2e31b57355 Update this script to reflect the change from CVS to SVN. The code itself
has already been fixed, this just updates comments to match, and also
removes vestiges of the previous CVS-centric code that are no longer used.

Approved by:	bcr (mentor)
2012-12-02 18:37:32 +00:00
Hiroki Sato
620d7d1bce Sync with the latest version on www.FreeBSD.org. 2012-06-04 02:48:57 +00:00
Hiroki Sato
35babe0ae5 - Set svn:ketwords and svn:mime-type. Note that application/octet-stream is
set on some files as a workaround for binary check.
- Fix pathname for svn co in the webupdate script.

Approved by:	doceng (implicit)
2012-05-17 19:12:14 +00:00
Hiroki Sato
4fe414e55f - Move developers.sgml to the language-independent directory.
- Move files under <lang>/htdocs/share to <lang>/share.
- s/WEB_PREFIX/DOC_PREFIX/
- Update the webupdate script to use the SVN repository.
 
Approved by:	doceng (implicit)
2012-05-17 03:23:15 +00:00
Hiroki Sato
282a032540 - Remove junk directories.
- Repocopy from www/<lang> to head/<lang>/htdocs to eliminate duplicate
  information in the www and the doc directory.
- Add various administration files to svnadmin.
 
Approved by:	doceng (implicit)
2012-05-17 02:51:08 +00:00