Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package wire for openSUSE:Factory checked in at 2026-03-11 20:51:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wire (Old) and /work/SRC/openSUSE:Factory/.wire.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wire" Wed Mar 11 20:51:32 2026 rev:12 rq:1338023 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/wire/wire.changes 2024-02-20 21:16:03.485744881 +0100 +++ /work/SRC/openSUSE:Factory/.wire.new.8177/wire.changes 2026-03-11 20:52:23.606712785 +0100 @@ -1,0 +2,17 @@ +Tue Mar 10 14:09:43 UTC 2026 - Jeff Kowalczyk <[email protected]> + +- Update to version 0.7.0: + * README: add a note that wire is no longer maintained (#434) + * all: update the x/tools dependency to fix the build with Go 1.25 (#432) +- Packaging improvements: + * Drop update_go_version.patch no longer needed due to updated + x/tools dependency. go.mod toolchain required version is still + very old at go1.12, but now builds with current go1.x versions. + * _service change disabled to manual per osc deprecation warning: + WARNING: Command 'disabledrun/dr' is obsolete, please convert + your _service to use 'manual' and then 'manualrun/mr' instead. + * This package update is to fix build errors in Factory. Removal + due to upstream being unmaintained will follow at a later date + after checking that no Go applications depend the package. + +------------------------------------------------------------------- Old: ---- update_go_version.patch wire-0.6.0.tar.gz New: ---- wire-0.7.0.tar.gz ----------(Old B)---------- Old:- Packaging improvements: * Drop update_go_version.patch no longer needed due to updated x/tools dependency. go.mod toolchain required version is still ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wire.spec ++++++ --- /var/tmp/diff_new_pack.qkU2nN/_old 2026-03-11 20:52:24.554751231 +0100 +++ /var/tmp/diff_new_pack.qkU2nN/_new 2026-03-11 20:52:24.558751393 +0100 @@ -1,7 +1,7 @@ # # spec file for package wire # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ %endif Name: wire -Version: 0.6.0 +Version: 0.7.0 Release: 0 Summary: Compile-time Dependency Injection for Go License: Apache-2.0 @@ -34,7 +34,6 @@ URL: https://github.com/google/wire Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.gz -Patch1: update_go_version.patch BuildRequires: golang(API) >= 1.22 %{?systemd_ordering} ExcludeArch: s390 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.qkU2nN/_old 2026-03-11 20:52:24.642754800 +0100 +++ /var/tmp/diff_new_pack.qkU2nN/_new 2026-03-11 20:52:24.646754962 +0100 @@ -1,22 +1,21 @@ <services> - <service name="tar_scm" mode="disabled"> + <service name="tar_scm" mode="manual"> <param name="url">https://github.com/google/wire</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v0.6.0</param> - <param name="versionformat">@PARENT_TAG@</param> + <param name="revision">main</param> + <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param> <param name="changesgenerate">enable</param> - <param name="versionrewrite-pattern">v(.*)</param> + <param name="versionrewrite-pattern">v(.*?)(\+git0\.?.*?)?$</param> </service> - <service name="set_version" mode="disabled"> + <service name="set_version" mode="manual"> <param name="basename">wire</param> </service> - <service name="recompress" mode="disabled"> + <service name="recompress" mode="manual"> <param name="file">*.tar</param> <param name="compression">gz</param> </service> - <service name="go_modules" mode="disabled"> - <param name="archive">wire-0.6.0.tar.gz</param> + <service name="go_modules" mode="manual"> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.qkU2nN/_old 2026-03-11 20:52:24.678756260 +0100 +++ /var/tmp/diff_new_pack.qkU2nN/_new 2026-03-11 20:52:24.686756584 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/google/wire</param> - <param name="changesrevision">e57deea2f8bbe2386b756f2555e02de33e20a3f0</param></service></servicedata> + <param name="changesrevision">9c25c9016f6825302537c4efdd5e897976f9c826</param></service></servicedata> (No newline at EOF) ++++++ vendor.tar.gz ++++++ ++++ 26817 lines of diff (skipped) ++++++ wire-0.6.0.tar.gz -> wire-0.7.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/.gitattributes new/wire-0.7.0/.gitattributes --- old/wire-0.6.0/.gitattributes 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/.gitattributes 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -* text eol=lf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/.github/ISSUE_TEMPLATE/bug_report.md new/wire-0.7.0/.github/ISSUE_TEMPLATE/bug_report.md --- old/wire-0.6.0/.github/ISSUE_TEMPLATE/bug_report.md 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/.github/ISSUE_TEMPLATE/bug_report.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,28 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve Wire - ---- - -You can use `go bug` to have a cool, automatically filled out bug template, or -fill out the template below. - -### Describe the bug - -A clear and concise description of what the bug is. - -### To Reproduce - -Steps to reproduce the behavior. - -## Expected behavior - -A clear and concise description of what you expected to happen. - -### Version - -Which version of Wire are you seeing the bug with? - -### Additional context - -Add any other context about the problem here. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/.github/ISSUE_TEMPLATE/feature_request.md new/wire-0.7.0/.github/ISSUE_TEMPLATE/feature_request.md --- old/wire-0.6.0/.github/ISSUE_TEMPLATE/feature_request.md 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/.github/ISSUE_TEMPLATE/feature_request.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,23 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project - ---- - -### Is your feature request related to a problem? Please describe. - -A clear and concise description of what the problem is. Ex. I'm always -frustrated when [...] - -### Describe the solution you'd like - -A clear and concise description of what you want to happen. - -### Describe alternatives you've considered - -A clear and concise description of any alternative solutions or features you've -considered. - -### Additional context - -Add any other context or screenshots about the feature request here. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/.github/pull_request_template.md new/wire-0.7.0/.github/pull_request_template.md --- old/wire-0.6.0/.github/pull_request_template.md 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/.github/pull_request_template.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -Please reference any Issue related to this Pull Request. Example: `Fixes #1`. - -See -[here](https://blog.github.com/2015-01-21-how-to-write-the-perfect-pull-request/) -for tips on good Pull Request description. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/.github/workflows/tests.yml new/wire-0.7.0/.github/workflows/tests.yml --- old/wire-0.6.0/.github/workflows/tests.yml 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/.github/workflows/tests.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ -# Copyright 2021 The Wire Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: Wire Tests -on: [push, pull_request] -jobs: - build: - strategy: - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - go-version: [1.22.x] - runs-on: ${{ matrix.os }} - steps: - - name: Install Go - uses: actions/setup-go@v2 - with: - go-version: ${{ matrix.go-version }} - - name: Checkout code - uses: actions/checkout@v2 - with: - fetch-depth: 2 # required for codecov - - name: Run Tests - shell: bash - run: 'internal/runtests.sh' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/README.md new/wire-0.7.0/README.md --- old/wire-0.6.0/README.md 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/README.md 2025-08-22 15:52:05.000000000 +0200 @@ -2,8 +2,11 @@ [](https://github.com/google/wire/actions) [][godoc] -[](https://codecov.io/gh/google/wire) +> [!WARNING] +> This project is no longer maintained. +> +> If you wish to update or extend wire, please do so in a fork. Wire is a code generation tool that automates connecting components using [dependency injection][]. Dependencies between components are represented in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/go.mod new/wire-0.7.0/go.mod --- old/wire-0.6.0/go.mod 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/go.mod 2025-08-22 15:52:05.000000000 +0200 @@ -1,10 +1,15 @@ module github.com/google/wire -go 1.12 +go 1.19 require ( - github.com/google/go-cmp v0.2.0 + github.com/google/go-cmp v0.6.0 github.com/google/subcommands v1.2.0 github.com/pmezard/go-difflib v1.0.0 - golang.org/x/tools v0.17.0 + golang.org/x/tools v0.24.1 +) + +require ( + golang.org/x/mod v0.20.0 // indirect + golang.org/x/sync v0.8.0 // indirect ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/go.sum new/wire-0.7.0/go.sum --- old/wire-0.6.0/go.sum 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/go.sum 2025-08-22 15:52:05.000000000 +0200 @@ -1,59 +1,12 @@ -github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/subcommands v1.2.0 h1:vWQspBTo2nEqTUFita5/KeEWlUL8kQObDFbub/EN9oE= github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= -golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= -golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= -golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= -golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= -golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= -golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= +golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/tools v0.24.1 h1:vxuHLTNS3Np5zrYoPRpcheASHX/7KiGo+8Y4ZM1J2O8= +golang.org/x/tools v0.24.1/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/internal/alldeps new/wire-0.7.0/internal/alldeps --- old/wire-0.6.0/internal/alldeps 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/internal/alldeps 2025-08-22 15:52:05.000000000 +0200 @@ -2,4 +2,5 @@ github.com/google/wire github.com/pmezard/go-difflib golang.org/x/mod +golang.org/x/sync golang.org/x/tools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/internal/runtests.sh new/wire-0.7.0/internal/runtests.sh --- old/wire-0.6.0/internal/runtests.sh 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/internal/runtests.sh 2025-08-22 15:52:05.000000000 +0200 @@ -21,19 +21,10 @@ exit 64 fi -# Run Go tests. Only do coverage for the Linux build -# because it is slow, and codecov will only save the last one anyway. +# Run Go tests. result=0 -if [[ "${RUNNER_OS:-}" == "Linux" ]]; then - echo "Running Go tests (with coverage)..." - go test -mod=readonly -race -coverpkg=./... -coverprofile=coverage.out ./... || result=1 - if [ -f coverage.out ] && [ $result -eq 0 ]; then - bash <(curl -s https://codecov.io/bash) - fi -else - echo "Running Go tests..." - go test -mod=readonly -race ./... || result=1 -fi +echo "Running Go tests..." +go test -mod=readonly -race ./... || result=1 # No need to run other checks on OSs other than linux. # We default RUNNER_OS to "Linux" so that we don't abort here when run locally. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/internal/wire/testdata/UnexportedStruct/want/wire_errs.txt new/wire-0.7.0/internal/wire/testdata/UnexportedStruct/want/wire_errs.txt --- old/wire-0.6.0/internal/wire/testdata/UnexportedStruct/want/wire_errs.txt 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/internal/wire/testdata/UnexportedStruct/want/wire_errs.txt 2025-08-22 15:52:05.000000000 +0200 @@ -1 +1 @@ -example.com/foo/wire.go:x:y: foo not exported by package bar \ No newline at end of file +example.com/foo/wire.go:x:y: name foo not exported by package bar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wire-0.6.0/internal/wire/wire_test.go new/wire-0.7.0/internal/wire/wire_test.go --- old/wire-0.6.0/internal/wire/wire_test.go 2024-02-07 18:25:46.000000000 +0100 +++ new/wire-0.7.0/internal/wire/wire_test.go 2025-08-22 15:52:05.000000000 +0200 @@ -476,7 +476,10 @@ wantWireError := err == nil var wantWireErrorStrings []string if wantWireError { - wantWireErrorStrings = strings.Split(string(wireErrb), "\n\n") + for _, errs := range strings.Split(string(wireErrb), "\n\n") { + // Allow for trailing newlines, which can be hard to remove in some editors. + wantWireErrorStrings = append(wantWireErrorStrings, strings.TrimRight(errs, "\n\r")) + } } else { if !*record { wantWireOutput, err = ioutil.ReadFile(filepath.Join(root, "want", "wire_gen.go"))
