Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package glab for openSUSE:Factory checked in at 2023-03-21 17:43:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glab (Old) and /work/SRC/openSUSE:Factory/.glab.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glab" Tue Mar 21 17:43:09 2023 rev:5 rq:1073339 version:1.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/glab/glab.changes 2023-02-12 19:14:40.777172429 +0100 +++ /work/SRC/openSUSE:Factory/.glab.new.31432/glab.changes 2023-03-21 17:44:10.778591203 +0100 @@ -1,0 +2,55 @@ +Wed Mar 15 08:08:40 UTC 2023 - ka...@b1-systems.de + +- set tar and recompress services to "buildtime" +- use obscpio file for local go-modules run +- cleanup spec file, remove old %go macros +- Update to version 1.26.0: + * Merge security fix for v1.26.0 release + * refactor(test): use http constants in tests + * refactor: use HTTP constants in code + * chore: Remove profclems/glab from .goreleaser.yml + * chore: add debug environment variable to Makefile + * chore: remove build date and add architecture + * refactor(project): Stop requsting for README when viewing + project on web + * docs: add guidelines for triaging bugs + * chore: Modify UserAgent to be more like other CLIs + * docs: self-managed doc improvements + * docs: fix link to issue command in README + * chore(ci/test): separate integration tests + * docs: update core commands with links + * fix(issue create): better error message when users are not + members + * docs: reword homebrew section + * docs: Build jump list of core commands + * docs(installation): Add asdf-vm to install options + * feat: variable export + * docs: specify [flags] position in clone command + * feat(schedule): Add command to run schedules + * refactor: use strings.Join in comma separated list functions + * fix(repo): URL encode branch name when viewing on web + * refactor(test): combine issue/incident list tests + * refactor(issue/view): extract issuable/list package + * fix(project): Remove repo override functionality + * chore: Add test-race make target + * ci: lock down go lint image version + * docs: Add Fedora to installation options + * docs: Updating instructions for homebrew release + * ci(coverage): report correct coverage + * fix(ci): Fix issue where `ci get` fails if user is not + maintainer + * fix: check-update command output to StdErr + * refactor(test): adjust issuable tests to cover both types + * refactor(issue/view): extract issuable/view package + * chore: Expose make gen-docs task + * chore: Run tests in different Go versions + * fix: making sure homebrew doesn't try to open a browser + * test: fix timing issue with release tests + +------------------------------------------------------------------- +Wed Mar 15 06:53:12 UTC 2023 - Johannes Kastl <ka...@b1-systems.de> + +- adapt to new URL https://gitlab.com/gitlab-org/cli +- BuildRequire go1.18 + +------------------------------------------------------------------- Old: ---- glab-1.25.3.tar.gz New: ---- glab-1.26.0.obscpio glab.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glab.spec ++++++ --- /var/tmp/diff_new_pack.PyT1ak/_old 2023-03-21 17:44:11.718595699 +0100 +++ /var/tmp/diff_new_pack.PyT1ak/_new 2023-03-21 17:44:11.726595737 +0100 @@ -17,27 +17,19 @@ # -%global build_date 2021-01-11 - -%global provider github -%global provider_tld com -%global project profclems -%global repo glab -%global provider_prefix %{provider}.%{provider_tld}/%{project} -%global import_path %{provider_prefix}/%{repo} +%define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: glab -Version: 1.25.3 +Version: 1.26.0 Release: 0 Summary: An open-source GitLab command line tool License: MIT Group: Development/Tools/Other -URL: https://github.com/profclems/glab +URL: https://gitlab.com/gitlab-org/cli Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.gz -BuildRequires: %{python_module Sphinx} BuildRequires: golang-packaging -BuildRequires: golang(API) >= 1.16 +BuildRequires: golang(API) >= 1.18 Suggests: glab-doc %description @@ -81,26 +73,25 @@ %description zsh-completion Zsh command line completion support for %{name}. -%{go_nostrip} -%{go_provides} - %prep %setup -q -n %{name}-%{version} %setup -a1 %{SOURCE1} %build -%goprep . -mkdir -p vendor/%{provider_prefix} -ln -s . vendor/%{import_path} -%gobuild -mod=vendor -ldflags "-s -w -X main.version=%{version} -X main.build=%{build_date} -X main.debugMode=false" ./cmd/glab +DATE_FMT="+%%Y-%%m-%%dT%%H:%%M:%%SZ" +BUILD_DATE=$(date -u -d "@${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u -r "${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u "${DATE_FMT}") +go build \ + -mod=vendor \ + -buildmode=pie \ + -ldflags "-s -w -X main.version=%{version} -X main.build=$BUILD_DATE -X main.debugMode=false" \ + ./cmd/glab # Build HTML docs -go run -v -p 4 -x -mod=vendor ./cmd/gen-docs/ -make -C docs html +go run ./cmd/gen-docs/docs.go # Build manpages -go run -v -p 4 -x -mod=vendor ./cmd/gen-docs/ -m --path ./docs/build/man -gzip -r ./docs/build/man +go run -v -p 4 -x -mod=vendor ./cmd/gen-docs/docs.go --manpage --path ./share/man/man1 +gzip -r ./share/man/man1 # Generate completion files go run -v -p 4 -x -mod=vendor ./cmd/glab/ completion -s bash > %{name}.bash @@ -108,15 +99,21 @@ go run -v -p 4 -x -mod=vendor ./cmd/glab/ completion -s fish > %{name}.fish %install -%goinstall +mkdir -p "%{buildroot}/%{_bindir}/" +install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}" # Install HTML docs -for i in $(find ./docs/build/html/ -type f | grep -vE "_source|.buildinfo|objects.inv"); do install -D -m0644 $i %{buildroot}%{_docdir}/%{name}/$(echo $i | sed -e s@^./docs/build/html/@@); done; +mkdir -p "%{buildroot}/%{_docdir}/%{name}/" +cp -vr ./docs/source/* %{buildroot}%{_docdir}/%{name}/ +find %{buildroot}%{_docdir}/%{name}/ -type f -exec chmod 644 {} "+" +find %{buildroot}%{_docdir}/%{name}/ -type d -exec chmod 755 {} "+" # Install manpages -for i in $(find ./docs/build/man/ -type f); do install -D -m0644 $i %{buildroot}%{_mandir}/man1/$(echo $i | sed -e s@^./docs/build/man/@@); done; +mkdir -p "%{buildroot}/%{_mandir}/man1/" +cp ./share/man/man1/* %{buildroot}%{_mandir}/man1/ +find %{buildroot}%{_mandir}/man1/ -type f -exec chmod 644 {} "+" -# Install comletion files +# Install completion files install -D -m0644 %{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name} install -D -m0644 %{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish install -D -m0644 %{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.PyT1ak/_old 2023-03-21 17:44:11.762595909 +0100 +++ /var/tmp/diff_new_pack.PyT1ak/_new 2023-03-21 17:44:11.786596024 +0100 @@ -2,20 +2,19 @@ <service name="obs_scm" mode="disabled"> <param name="url">https://gitlab.com/gitlab-org/cli.git</param> <param name="scm">git</param> - <param name="revision">v1.25.3</param> + <param name="revision">v1.26.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="filename">glab</param> <param name="changesgenerate">enable</param> </service> - <service name="tar" mode="disabled" /> - <service name="recompress" mode="disabled"> + <service name="tar" mode="buildtime" /> + <service name="recompress" mode="buildtime"> <param name="file">*.tar</param> <param name="compression">gz</param> </service> <service name="set_version" mode="disabled" /> <service name="go_modules" mode="disabled"> - <param name="archive">glab-1.25.3.tar.gz</param> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.PyT1ak/_old 2023-03-21 17:44:11.814596158 +0100 +++ /var/tmp/diff_new_pack.PyT1ak/_new 2023-03-21 17:44:11.818596177 +0100 @@ -3,6 +3,6 @@ <param name="url">https://github.com/profclems/glab.git</param> <param name="changesrevision">612ff864276e848c4cfdef187b5f16f5c52f3c25</param></service><service name="tar_scm"> <param name="url">https://gitlab.com/gitlab-org/cli.git</param> - <param name="changesrevision">7ab3ef14820c565a9430fa0da58a491048699638</param></service></servicedata> + <param name="changesrevision">ef363646f539ed785d29e2b07c20b5f8f00c4d45</param></service></servicedata> (No newline at EOF) ++++++ glab.obsinfo ++++++ name: glab version: 1.26.0 mtime: 1678474854 commit: ef363646f539ed785d29e2b07c20b5f8f00c4d45 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/glab/vendor.tar.gz /work/SRC/openSUSE:Factory/.glab.new.31432/vendor.tar.gz differ: char 4, line 1