Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package re2 for openSUSE:Factory checked in at 2025-07-21 19:58:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/re2 (Old) and /work/SRC/openSUSE:Factory/.re2.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "re2" Mon Jul 21 19:58:40 2025 rev:64 rq:1294426 version:MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/re2/re2.changes 2025-07-02 12:08:04.023122763 +0200 +++ /work/SRC/openSUSE:Factory/.re2.new.8875/re2.changes 2025-07-21 19:58:44.543217311 +0200 @@ -1,0 +2,6 @@ +Fri Jul 18 17:05:26 UTC 2025 - Andreas Stieger <andreas.stie...@gmx.de> + +- update to 2025-07-17: + * re2: allow and test RE2(NULL) + +------------------------------------------------------------------- Old: ---- re2-2025-06-26b.tar.gz New: ---- re2-2025-07-17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ re2.spec ++++++ --- /var/tmp/diff_new_pack.N4Uwqj/_old 2025-07-21 19:58:46.139282807 +0200 +++ /var/tmp/diff_new_pack.N4Uwqj/_new 2025-07-21 19:58:46.155283463 +0200 @@ -17,7 +17,7 @@ # -%global longver 2025-06-26b +%global longver 2025-07-17 %global shortver %(echo %{longver}|sed 's|-||g') %define libname libre2-11 Name: re2 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.N4Uwqj/_old 2025-07-21 19:58:46.387292985 +0200 +++ /var/tmp/diff_new_pack.N4Uwqj/_new 2025-07-21 19:58:46.419294298 +0200 @@ -1,6 +1,6 @@ -mtime: 1751368015 -commit: f8371ed877510e2b16a8b5b4a6125ff5434296735dd5b34539adbac1908e0e77 +mtime: 1752858396 +commit: 0fd68f63e1cbb9e94f1be178e4bf547bdb85baa1593e5731ed5a9902517582ba url: https://src.opensuse.org/chromium/re2.git -revision: f8371ed877510e2b16a8b5b4a6125ff5434296735dd5b34539adbac1908e0e77 +revision: 0fd68f63e1cbb9e94f1be178e4bf547bdb85baa1593e5731ed5a9902517582ba projectscmsync: https://src.opensuse.org/chromium/_ObsPrj.git ++++++ build.specials.obscpio ++++++ ++++++ re2-2025-06-26b.tar.gz -> re2-2025-07-17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2025-06-26b/.github/workflows/ci-bazel.yml new/re2-2025-07-17/.github/workflows/ci-bazel.yml --- old/re2-2025-06-26b/.github/workflows/ci-bazel.yml 2025-06-26 21:00:46.000000000 +0200 +++ new/re2-2025-07-17/.github/workflows/ci-bazel.yml 2025-07-17 23:29:18.000000000 +0200 @@ -15,11 +15,11 @@ env: BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v4.1.7 - - uses: bazel-contrib/setup-bazel@0.8.5 + - uses: actions/checkout@v4.2.2 + - uses: bazel-contrib/setup-bazel@0.15.0 with: bazelisk-version: '1.x' - - uses: actions/setup-python@v5.1.0 + - uses: actions/setup-python@v5.6.0 with: python-version: ${{ matrix.ver }} - name: Prepare Python ${{ matrix.ver }} environment diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2025-06-26b/.github/workflows/ci-cmake.yml new/re2-2025-07-17/.github/workflows/ci-cmake.yml --- old/re2-2025-06-26b/.github/workflows/ci-cmake.yml 2025-06-26 21:00:46.000000000 +0200 +++ new/re2-2025-07-17/.github/workflows/ci-cmake.yml 2025-07-17 23:29:18.000000000 +0200 @@ -12,7 +12,7 @@ matrix: build_shared_libs: [OFF, ON] steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 - name: Install Abseil, GoogleTest and Benchmark run: | vcpkg update @@ -29,7 +29,7 @@ matrix: build_shared_libs: [OFF, ON] steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 - name: Install Abseil, GoogleTest and Benchmark run: | brew update @@ -44,7 +44,7 @@ matrix: build_shared_libs: [OFF, ON] steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 - name: Install Abseil, GoogleTest and Benchmark run: | vcpkg update diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2025-06-26b/.github/workflows/ci.yml new/re2-2025-07-17/.github/workflows/ci.yml --- old/re2-2025-06-26b/.github/workflows/ci.yml 2025-06-26 21:00:46.000000000 +0200 +++ new/re2-2025-07-17/.github/workflows/ci.yml 2025-07-17 23:29:18.000000000 +0200 @@ -21,7 +21,7 @@ # (The other two flags are the default provided for CXXFLAGS in Makefile.) CXXFLAGS: -O3 -g -std=c++${{ matrix.ver }} steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 - name: Install Abseil, GoogleTest and Benchmark run: | brew update @@ -40,7 +40,7 @@ CXX: clang++-${{ matrix.ver }} PKG_CONFIG_PATH: /usr/local/share/vcpkg/installed/x64-linux/lib/pkgconfig steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 - name: Install Clang ${{ matrix.ver }} run: | # Avoid `Conflicts: python3-lldb-x.y` between packages. @@ -57,8 +57,7 @@ - run: make && make test shell: bash build-gcc: - # TODO(junyer): Switch back to `ubuntu-latest` when this becomes that. - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2025-06-26b/.github/workflows/pages.yml new/re2-2025-07-17/.github/workflows/pages.yml --- old/re2-2025-06-26b/.github/workflows/pages.yml 2025-06-26 21:00:46.000000000 +0200 +++ new/re2-2025-07-17/.github/workflows/pages.yml 2025-07-17 23:29:18.000000000 +0200 @@ -17,8 +17,8 @@ # Bazel fails if the username is unknown. USER: runner steps: - - uses: actions/checkout@v4.1.7 - - uses: bazel-contrib/setup-bazel@0.8.5 + - uses: actions/checkout@v4.2.2 + - uses: bazel-contrib/setup-bazel@0.15.0 with: bazelisk-version: '1.x' - run: app/build.sh @@ -37,5 +37,5 @@ environment: github-pages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 - uses: actions/deploy-pages@v4.0.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2025-06-26b/.github/workflows/pr.yml new/re2-2025-07-17/.github/workflows/pr.yml --- old/re2-2025-06-26b/.github/workflows/pr.yml 2025-06-26 21:00:46.000000000 +0200 +++ new/re2-2025-07-17/.github/workflows/pr.yml 2025-07-17 23:29:18.000000000 +0200 @@ -15,7 +15,7 @@ pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 - uses: actions/github-script@v7.0.1 with: script: | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2025-06-26b/.github/workflows/python.yml new/re2-2025-07-17/.github/workflows/python.yml --- old/re2-2025-06-26b/.github/workflows/python.yml 2025-06-26 21:00:46.000000000 +0200 +++ new/re2-2025-07-17/.github/workflows/python.yml 2025-07-17 23:29:18.000000000 +0200 @@ -26,8 +26,7 @@ matrix: arch: - { name: X64, python-name: x86_64, runs-on: [ubuntu-latest] } - # TODO(junyer): Update the label after ARM64 graduates from beta. - - { name: ARM64, python-name: aarch64, runs-on: [arm-ubuntu-arm-22.04-4core] } + - { name: ARM64, python-name: aarch64, runs-on: [ubuntu-24.04-arm] } os: [manylinux_2_28] ver: ['3.8', '3.9', '3.10', '3.11', '3.12'] env: @@ -36,11 +35,11 @@ # Bazel fails if the username is unknown. USER: runner steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 # Stash the timestamp for the commit SHA that triggered the workflow. - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" shell: bash - - uses: bazel-contrib/setup-bazel@0.8.5 + - uses: bazel-contrib/setup-bazel@0.15.0 with: bazelisk-version: '1.x' - name: Prepare Python ${{ matrix.ver }} environment @@ -68,7 +67,7 @@ "${PYTHON}" re2_test.py shell: bash working-directory: python - - uses: actions/upload-artifact@v4.3.3 + - uses: actions/upload-artifact@v4.6.2 with: name: ${{ hashFiles('python/google_re2-*.whl') }} path: python/google_re2-*.whl @@ -101,10 +100,10 @@ # Stash the timestamp for the commit SHA that triggered the workflow. - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" shell: bash - - uses: bazel-contrib/setup-bazel@0.8.5 + - uses: bazel-contrib/setup-bazel@0.15.0 with: bazelisk-version: '1.x' - - uses: actions/setup-python@v5.1.0 + - uses: actions/setup-python@v5.6.0 with: python-version: ${{ matrix.ver }} - name: Prepare Python ${{ matrix.ver }} environment @@ -133,7 +132,7 @@ python re2_test.py shell: bash working-directory: python - - uses: actions/upload-artifact@v4.3.3 + - uses: actions/upload-artifact@v4.6.2 with: name: ${{ hashFiles('python/google_re2-*.whl') }} path: python/google_re2-*.whl @@ -153,11 +152,11 @@ BAZEL_CPU: ${{ matrix.arch.bazel-name }}_windows PLAT_NAME: ${{ matrix.arch.python-name }} steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 # Stash the timestamp for the commit SHA that triggered the workflow. - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" shell: bash - - uses: bazel-contrib/setup-bazel@0.8.5 + - uses: bazel-contrib/setup-bazel@0.15.0 with: bazelisk-version: '1.x' # Lowercase the architecture name for `actions/setup-python`. @@ -165,7 +164,7 @@ ARCHITECTURE=${{ matrix.arch.name }} echo "architecture=${ARCHITECTURE,,}" >> "${GITHUB_ENV}" shell: bash - - uses: actions/setup-python@v5.1.0 + - uses: actions/setup-python@v5.6.0 with: python-version: ${{ matrix.ver }} architecture: ${{ env.architecture }} @@ -194,7 +193,7 @@ python re2_test.py shell: bash working-directory: python - - uses: actions/upload-artifact@v4.3.3 + - uses: actions/upload-artifact@v4.6.2 with: name: ${{ hashFiles('python/google_re2-*.whl') }} path: python/google_re2-*.whl @@ -210,11 +209,11 @@ id-token: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 # Stash the timestamp for the commit SHA that triggered the workflow. - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" shell: bash - - uses: actions/setup-python@v5.1.0 + - uses: actions/setup-python@v5.6.0 with: python-version: '3.x' - name: Prepare Python 3.x environment @@ -230,7 +229,7 @@ python -m build --sdist shell: bash working-directory: python - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v4.3.0 with: path: python - name: Set build number to ${{ inputs.build }} @@ -246,6 +245,6 @@ shell: bash working-directory: python - if: inputs.build >= 1 - uses: pypa/gh-action-pypi-publish@v1.9.0 + uses: pypa/gh-action-pypi-publish@v1.12.4 with: packages-dir: python/dist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2025-06-26b/.github/workflows/release.yml new/re2-2025-07-17/.github/workflows/release.yml --- old/re2-2025-06-26b/.github/workflows/release.yml 2025-06-26 21:00:46.000000000 +0200 +++ new/re2-2025-07-17/.github/workflows/release.yml 2025-07-17 23:29:18.000000000 +0200 @@ -16,7 +16,7 @@ env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v4.1.7 + - uses: actions/checkout@v4.2.2 - run: | gh release create "${GITHUB_REF_NAME}" \ --generate-notes --latest --verify-tag \ @@ -34,6 +34,6 @@ inputs: '*.tar.gz *.zip' - run: | gh release upload "${GITHUB_REF_NAME}" \ - *.tar.gz *.zip *.sigstore.json \ + *.tar.gz *.zip *.sigstore* \ --repo "${GITHUB_REPOSITORY}" shell: bash diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2025-06-26b/re2/re2.cc new/re2-2025-07-17/re2/re2.cc --- old/re2-2025-06-26b/re2/re2.cc 2025-06-26 21:00:46.000000000 +0200 +++ new/re2-2025-07-17/re2/re2.cc 2025-07-17 23:29:18.000000000 +0200 @@ -143,6 +143,11 @@ RE2::RE2(const char* pattern) { + // If absl::string_view becomes an alias for std::string_view, + // it will stop allowing NULL to be converted. + // Handle NULL explicitly to keep callers working no matter what. + if (pattern == NULL) + pattern = ""; Init(pattern, DefaultOptions); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2025-06-26b/re2/testing/re2_test.cc new/re2-2025-07-17/re2/testing/re2_test.cc --- old/re2-2025-06-26b/re2/testing/re2_test.cc 2025-06-26 21:00:46.000000000 +0200 +++ new/re2-2025-07-17/re2/testing/re2_test.cc 2025-07-17 23:29:18.000000000 +0200 @@ -1688,4 +1688,12 @@ ASSERT_EQ(s, "\x61\x63"); } +TEST(RE2, InitNULL) { + // RE2::RE2 accepts NULL. Make sure it keeps doing that. + RE2 re(NULL); + ASSERT_TRUE(re.ok()); + ASSERT_TRUE(RE2::FullMatch("", re)); + ASSERT_TRUE(RE2::FullMatch("", NULL)); +} + } // namespace re2