The GitHub Actions job "autoconf" on subversion.git/trunk has succeeded.
Run started by GitHub user asfgit (triggered by asfgit).

Head commit for run:
5104da62c4ff962667457e7f90cf3eabd88ac380 / Timofei Zhakov <rin...@apache.org>
Print character encoding in `svn --version --verbose`.

- Add `locale encoding:` line to under machine information.

- Use apr_os_locale_encoding() to retrieve the name of the encoding. The
  same function is used to determine the encoding during xlate work, when
  converting from APR_LOCALE_CHARSET.

- The character encoding is being retrieved through the svn_version_extended_t
  structure.

Expected behaviors:

---

* running on x86_64-microsoft-windows6.2.9200
  - Windows 10 Pro, build 26100 [6.3 Client Multiprocessor Free]
  - character encoding: CP1252

---

* running on x86_64-unknown-linux-gnu
  - "Debian GNU/Linux 12 (bookworm)" [Linux 6.6.87.1-microsoft-standard-WSL2]
  - character encoding: UTF-8

---

* running on x86_64-unknown-linux-gnu
  - "Debian GNU/Linux 12 (bookworm)" [Linux 6.6.87.1-microsoft-standard-WSL2]
  - character encoding: ISO-8859-15

---

* subversion/include/svn_version.h
  (svn_version_ext_character_encoding): New function; Accesses character 
encoding.
* subversion/libsvn_subr/opt_subcommand.c
  (svn_opt__print_version_info): Add `character encoding` section and use
   the svn_version_ext_character_encoding() function to retrieve the name of
   the encoding.
* subversion/libsvn_subr/sysinfo.h
  (svn_sysinfo__character_encoding): Declare function; Detects the encoding.
* subversion/libsvn_subr/sysinfo.c
  (includes): Add apr_portable.h for apr_os_locale_encoding() function.
  (svn_sysinfo__character_encoding): Implement function; For now just a
   wrapper around apr_os_locale_encoding().
* subversion/libsvn_subr/version.c
  (svn_version_extended_t): Add character_encoding field and format code.
  (svn_version_extended): Initialize svn_version_extended_t::character_encoding
   using svn_sysinfo__character_encoding().
  (svn_version_ext_character_encoding): Implement accessor to 
character_encoding.

See related discussion on dev@s.a.o:
- https://lists.apache.org/thread/qyxgtkfmybwozz4ny8zxvc5hz16km8y7

Reviewed by: brane

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1926252 
13f79535-47bb-0310-9956-ffa450edef68

Report URL: https://github.com/apache/subversion/actions/runs/15519143957

With regards,
GitHub Actions via GitBox

Reply via email to