Currently '/usr/local/bin/python3.7' is used as the value of
PYTHON_CMD. Right now this works because 3.7 is the default version of
Python 3 in the ports tree. However, at some point in the future, this
will be undoubtedly be changed.
It is also possible that users already might be building versions
newer than the default port/package, which needs to be an supported as
well.
In addition, the FDP recommends installing the 'python3' package. This
meta port/package depends on the default version of python, and
automatically creates a symlink to the default version.
With all this in mind, use '/usr/local/bin/python3' is used as the value
of PYTHON_CMD, since this means that the instructions will work
irrespective of which version is assigned.
In order for hugo to build all links correctly, it is necessary to
define baseURL - but in order to do this, we need some way of adding a
hostname. This change adds the HOSTNAME variable to accomplish this.
Another advantage is that if HOSTNAME is set to something other than
localhost, hugo can be run on a different (more powerful) machine which
can shorten the time it takes to build.
A note about this will need to be added to the FDP later.
The gitref macro added in commit fb36cfdfb2 handles changes in both src,
doc and ports trees, takes up less space, and is quicker to write, so
update all uses of the commit shortcode.
While here, also update the canonical sample that's commented out.
Also re-arrange some items which were initially placed in the wrong
sections.
Since the shortcode is now no longer used, remove it.
Pursuant to the DocBook->AsciiDoctor migration, status reports are
similarily moving from MarkDown to AsdiiDoctor, as there should be no
functional change in how report entries are handled by commiters or
contributors.
While here, remove sample file that has never been referred to anywhere,
and update the README used by the status project team.
With this extension a git hash can be easily referenced.
The porters handbook versions chapter uses this extension
as an example in the FreeBSD 14.0 version table.
An example of use
gitref:hash[repository="src|doc|ports",length=hash-longitude]
The repository should be src, doc or ports.
And if no length it's specified the macro will use 12 characters
of the specified hash.
PR: 253050
Submitted by: jhb@
The package name 'hugo' refers to emulators/hugo, a PC Engine
(TurboGrafx 16) emulator, whereas the hugo that is required by the new
framework is www/gohugo. A similar case applies with the package name of
AsciiDoctor, which is 'rubygem-asciidoctor'.
Therefore fix package names so they refer to proper ones.
PR: 253470
Add release notes for bin/calendar, usr.bin/gh-bc (contrib/bc), and
the new getlocalbase() function in libutil
This is the first commit regarding actual changes of base components
in this document and I'm not sure about the style and format expected.
Feel free to edit and adapt the text from this commit (or let me know
how it should be changed) to make it better align with later additions
to this file.
Approved by: re
Summary:
The AsciiDoc conversion, out of necessity, was rather conservative in
removing paragraphs. However, this leaves some entries with tags and
some without tags.
Test Plan: Ran make
Reviewers: carlavilla
Differential Revision: https://reviews.freebsd.org/D28353
While here, implement a template for cgit links called 'commit' for lack
of a better term.
This fixes the only build issue with this patch, and has been tested in
Firefox with the run target as well.