Skip to content

Commit

Permalink
Prepare the release of a new web site (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
swebb2066 authored Oct 18, 2024
1 parent bb327eb commit e4abf29
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 26 deletions.
3 changes: 3 additions & 0 deletions admin/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ Steps
1. Tag the released version
- `git checkout v1.3.0-RC1`
- `git push origin tag rel/v1.3.0`
1. Set your details in `src/site/CMakeLists.txt`
- Set your name in the LOG4CXX_RELEASE_MANAGER variable
- Set your GnuPG key in the LOG4CXX_RELEASE_MANAGER_KEY variable
1. Enter the release date in `src/site/markdown/change-report-gh.md`
- Commit the change
- Update the staged web site using [the update procedure](staging.md)
Expand Down
8 changes: 4 additions & 4 deletions admin/staging.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Steps to update the Log4cxx web site
-----

1. Use Doxygen to generate the HTML, PNG, JS and CSS files
- `git clone https://github.com/apache/logging-log4cxx /tmp/log4cxx`
- `git clone --depth=1 https://github.com/apache/logging-log4cxx /tmp/log4cxx`
- `cmake -B /tmp/build -S /tmp/log4cxx -DBUILD_SITE=on`
- `cmake --build /tmp/build -t doc_doxygen`
1. Check out the `asf-staging` branch of `logging-log4cxx-site`
Expand All @@ -28,7 +28,7 @@ Steps to update the Log4cxx web site
- `git add 1.3.0`
1. Push the `asf-staging` branch to Github and wait a bit
- `git commit -m "Improved the ... documentation"`
- `git push`
- `git push origin asf-staging`
1. Check https://logging.staged.apache.org/log4cxx (after a minute or two)
- are you seeing the correct releases page?

Expand All @@ -37,7 +37,7 @@ Steps to add a new version to the Log4cxx web site
-----

1. Use Doxygen to generate the HTML, PNG, JS and CSS files
- `git clone https://github.com/apache/logging-log4cxx /tmp/log4cxx`
- `git clone --depth=1 https://github.com/apache/logging-log4cxx /tmp/log4cxx`
- `cmake -B /tmp/build -S /tmp/log4cxx -DBUILD_SITE=on`
- `cmake --build /tmp/build -t doc_doxygen`
1. Check out the `asf-staging` branch of `logging-log4cxx-site`
Expand All @@ -59,7 +59,7 @@ Steps to add a new version to the Log4cxx web site
- `git add .htaccess`
1. Push the `asf-staging` branch to github and wait a bit
- `git commit -m "Add the 1.3.0 documentation"`
- `git push`
- `git push origin asf-staging`
1. Check https://logging.staged.apache.org/log4cxx (after a minute or two)
- Are you seeing the new pages?
- Download links for the new version should (at this point) not work
Expand Down
8 changes: 8 additions & 0 deletions src/site/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ if(BUILD_SITE)

find_package( Doxygen REQUIRED dot )

set(LOG4CXX_SOURCE_PACKAGE_FILE_NAME "apache-log4cxx-${LOG4CXX_RELEASE_VERSION}")
set(LOG4CXX_SOURCE_MIRROR_URL "https://www.apache.org/dyn/closer.cgi/logging/log4cxx/${LOG4CXX_RELEASE_VERSION}/${LOG4CXX_SOURCE_PACKAGE_FILE_NAME}")
set(APACHE_LOGGING_DISTRIBUTION_URL "https://www.apache.org/dist/logging")
set(LOG4CXX_DOCUMENTATION_URL "https://logging.apache.org/log4cxx")
set(LOG4CXX_DISTRIBUTION_URL "${APACHE_LOGGING_DISTRIBUTION_URL}/log4cxx/${LOG4CXX_RELEASE_VERSION}/${LOG4CXX_SOURCE_PACKAGE_FILE_NAME}")
set(LOG4CXX_RELEASE_MANAGER "Stephen Webb")
set(LOG4CXX_RELEASE_MANAGER_KEY "C6FC425C96722EFC4E2D02D5D4305EBC16B4A78D")

configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/doxy/Doxyfile.in
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile )

Expand Down
2 changes: 1 addition & 1 deletion src/site/markdown/change-report-gh.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Change Log {#changelog}

| Version | Date | Description |
| ------------------- | ---------- | -------------------- |
| [1.3.0](#rel_1_3_0) | 2024-XX-XX | Maintenance release |
| [1.3.0](#rel_1_3_0) | 2024-10-21 | Maintenance release |
| [1.2.0](#rel_1_2_0) | 2024-01-01 | Maintenance release |
| [1.1.0](#rel_1_1_0) | 2023-05-01 | General bugfix release |
| [1.0.0](#rel_1_0_0) | 2023-01-01 | Major release to standardize the library and make it ABI stable |
Expand Down
34 changes: 13 additions & 21 deletions src/site/markdown/download.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ Download {#download}

| | Mirrors | Checksum | Signature |
|-------------------------|---------|----------|-----------|
| Apache Log4cxx ${LOG4CXX_RELEASE_VERSION} (tar.gz) | [apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz] | [apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz.sha512] | [apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz.asc] |
| Apache Log4cxx ${LOG4CXX_RELEASE_VERSION} (zip) | [apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.zip] | [apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.zip.sha512] | [apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.zip.asc] |
| Apache Log4cxx ${LOG4CXX_RELEASE_VERSION} (tar.gz) | [source archive](${LOG4CXX_SOURCE_MIRROR_URL}.tar.gz) | [sha512](${LOG4CXX_DISTRIBUTION_URL}.tar.gz.sha512) [sha256](${LOG4CXX_DISTRIBUTION_URL}.tar.gz.sha256) | [GnuPG signature](${LOG4CXX_DISTRIBUTION_URL}.tar.gz.asc) |
| Apache Log4cxx ${LOG4CXX_RELEASE_VERSION} (zip) | [source archive](${LOG4CXX_SOURCE_MIRROR_URL}.zip) | [sha512](${LOG4CXX_DISTRIBUTION_URL}.zip.sha512) [sha256](${LOG4CXX_DISTRIBUTION_URL}.zip.sha256) | [GnuPG signature](${LOG4CXX_DISTRIBUTION_URL}.zip.asc) |

It is essential that you verify the integrity of the downloaded files using the PGP or SHA512 signatures.
Please read [Verifying Apache HTTP Server Releases](https://httpd.apache.org/dev/verification.html) for more
information on why you should verify our releases.

The PGP signatures can be verified using PGP or GPG. First download the [KEYS](https://www.apache.org/dist/logging/KEYS)
The PGP signatures can be verified using PGP or GPG. First download the [KEYS](${APACHE_LOGGING_DISTRIBUTION_URL}/KEYS)
as well as the asc signature file for the relevant distribution. Make sure you get these files from the
[main distribution directory](https://www.apache.org/dist/logging/), rather than from a mirror. Then verify the signatures using:
[main distribution directory](${APACHE_LOGGING_DISTRIBUTION_URL}/), rather than from a mirror. Then verify the signatures using:

~~~
% gpg --import KEYS
% gpg --verify apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz.asc apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz
% gpg --verify ${LOG4CXX_SOURCE_PACKAGE_FILE_NAME}.tar.gz.asc ${LOG4CXX_SOURCE_PACKAGE_FILE_NAME}.tar.gz
~~~

* apache-log4cxx-${LOG4CXX_RELEASE_VERSION} is signed by ${releaseManager} (${releaseKey})
* ${LOG4CXX_SOURCE_PACKAGE_FILE_NAME} is signed by ${LOG4CXX_RELEASE_MANAGER} (${LOG4CXX_RELEASE_MANAGER_KEY})

Alternatively, you can verify the SHA512 signature on the files. A unix program called sha512 or sha512sum is included
in many unix distributions.
Expand All @@ -56,18 +56,10 @@ in many unix distributions.

| Version | Release Date |
| :--------------------------: | :----------------------: |
| [1.2.0](https://logging.apache.org/log4cxx/1.2.0/download.html) | Jan-2024 |
| [1.1.0](https://logging.apache.org/log4cxx/1.1.0/download.html) | May-2023 |
| [1.0.0](https://logging.apache.org/log4cxx/1.0.0/download.html) | Jan-2023 |
| [0.13.0](https://logging.apache.org/log4cxx/0.13.0/download.html) | Aug-2022 |
| [0.12.1](https://logging.apache.org/log4cxx/0.12.1/download.html) | Sept-2021 |
| [0.11.0](https://logging.apache.org/log4cxx/0.11.0/download.html) | Aug-2020 |
| [0.10.0](https://logging.apache.org/log4cxx/0.10.0/download.html) | 2008 |


[apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz]:https://www.apache.org/dyn/closer.cgi/logging/log4cxx/${LOG4CXX_RELEASE_VERSION}/apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz
[apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz.sha512]:https://www.apache.org/dist/logging/log4cxx/${LOG4CXX_RELEASE_VERSION}/apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz.sha512
[apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz.asc]:https://www.apache.org/dist/logging/log4cxx/${LOG4CXX_RELEASE_VERSION}/apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.tar.gz.asc
[apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.zip]:https://www.apache.org/dyn/closer.cgi/logging/log4cxx/${LOG4CXX_RELEASE_VERSION}/apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.zip
[apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.zip.sha512]:https://www.apache.org/dist/logging/log4cxx/${LOG4CXX_RELEASE_VERSION}/apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.zip.sha512
[apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.zip.asc]:https://www.apache.org/dist/logging/log4cxx/${LOG4CXX_RELEASE_VERSION}/apache-log4cxx-${LOG4CXX_RELEASE_VERSION}.zip.asc
| [1.2.0](${LOG4CXX_DOCUMENTATION_URL}/1.2.0/download.html) | Jan-2024 |
| [1.1.0](${LOG4CXX_DOCUMENTATION_URL}/1.1.0/download.html) | May-2023 |
| [1.0.0](${LOG4CXX_DOCUMENTATION_URL}/1.0.0/download.html) | Jan-2023 |
| [0.13.0](${LOG4CXX_DOCUMENTATION_URL}/0.13.0/download.html) | Aug-2022 |
| [0.12.1](${LOG4CXX_DOCUMENTATION_URL}/0.12.1/download.html) | Sept-2021 |
| [0.11.0](${LOG4CXX_DOCUMENTATION_URL}/0.11.0/download.html) | Aug-2020 |
| [0.10.0](${LOG4CXX_DOCUMENTATION_URL}/0.10.0/download.html) | 2008 |

0 comments on commit e4abf29

Please sign in to comment.