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
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
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
version:
- Don't assume or hard-code PORTSDIR is in /usr.
- Set PINDEX_OVERRIDE based on the running OSVERSION.
- Fetch the ports/INDEX file if ENOENT.
- Group all exported variables together.
Sponsored by: The FreeBSD Foundation
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
I do not quite know why this was never committed here, but add
it now so next time I accidentally remove it, it is trivial to
get back.
Approved by: doceng (implicit)
Sponsored by: The FreeBSD Foundation