Commit Graph

20 Commits

Author SHA1 Message Date
Andrew Kreimer
6e99fa99c7
Fix typos
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
2024-08-25 15:37:34 +08:00
Bruce Dubbs
872a378f5e Typos on comments.
These changes are all in comments that do not affect the books in any way.
2024-08-23 14:01:06 -05:00
Xi Ruoyao
fd02389a51
git-version: Use "-wip" as the version suffix instead of "+" for changes not committed yet
It's not allowed to use "+" in id attributes etc.
2024-01-19 12:23:30 +08:00
Pierre Labastie
8f7d945a66 git-version.sh: revert inadvertent commit 2024-01-18 21:38:50 +01:00
Pierre Labastie
5e423c8031 Change all input encodings to UTF-8 2024-01-18 21:09:26 +01:00
Xi Ruoyao
b91b12adf3
git-version: Always skip creating version.ent if LFS-RELEASE exists 2023-09-13 16:08:06 +08:00
Xi Ruoyao
c858ba4e17
build: Add "make dist"
For creating a tarball without .git directory easier.  The tarball will
include version.ent and LFS-RELEASE files so the book rendered from it
won't show "unknown" for all dates.
2023-09-13 14:10:38 +08:00
Xi Ruoyao
a9dc9724ae
git-version: Make shebang #!/bin/bash
There is some bash-ism in the script.
2023-09-13 14:02:32 +08:00
Thomas Trepl
c5fe6ee346 Do not retrieve yr from sysdate 2023-09-11 13:18:30 +02:00
Thomas Trepl
0627fc2281 Fix hardcoded copyright year 2023-09-11 11:26:10 +02:00
Bruce Dubbs
45a010ac7a Update timezone for builds 2023-01-02 14:15:43 -06:00
Pierre Labastie
c37e846f4b Replace tabs with spaces 2022-09-11 18:42:58 +02:00
Bruce Dubbs
ad89f7b0d6 Package updates.
Update to e2fsprogs-1.46.5.
Update to zstd-1.5.1.
Update to expat-2.4.2.
Update to shadow-4.10.
Update to sysvinit-3.01.
Update to linux-5.15.12.
Update to iana-etc-20211224.
Update to openssl-3.0.1.
Update to eudev-3.2.11.
Update lfs-latest-git.php currency for new eudev location.
2021-12-31 07:10:48 -06:00
Xi Ruoyao
7af57d2e6f
git-version: remove -g{sha} unconditionally 2021-10-13 19:30:53 +08:00
Pierre Labastie
4467b18d3f Add a conditional entity for sysv/systemd
This removes the need for versiond, and other xxxd entities. Those
entities will be removed in the next commits.
2021-09-22 23:11:52 +02:00
Xi Ruoyao
54ee51d41d
git-version: fix trunk branch detection 2021-05-02 16:22:08 +08:00
Xi Ruoyao
6ca780c12d git-version: simplify the versioning scheme
Now the version for trunk head is simply rx.y-z.  x.y is the last
release, and z is the number of commits after x.y.

For other commits, the version is rx.y-z-g{sha}.  An abbreviated sha
hash is added to distinguish commits with same x, y, and z on different
branches.

If there are uncommited changes, a "+" is appended to the version,
indicating the version is "unclean".

To make it works correctly, a tag "rx.y" have to be created on the last
commit on trunk of x.y release.
2021-05-01 21:00:30 +08:00
Bruce Dubbs
8186f16b0f Quiet git status check. Make sed more readable. 2021-04-06 17:28:27 -05:00
Xi Ruoyao
6b505dabb8
remove leading zero for day 2021-04-07 01:13:48 +08:00
Xi Ruoyao
5948380997
automatically generate version info from git HEAD 2021-04-07 01:01:01 +08:00