From b9a95debb9b945931552c9323493eb96b4e260f273917d572803abbddda320c3 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Fri, 11 Oct 2024 07:06:45 +0000 Subject: [PATCH] update to 0.85.0 OBS-URL: https://build.opensuse.org/package/show/devel:tools/updatecli?expand=0&rev=6 --- .gitattributes | 23 ++++++++ .gitignore | 1 + _service | 22 +++++++ _servicedata | 4 ++ updatecli-0.84.1.obscpio | 3 + updatecli-0.85.0.obscpio | 3 + updatecli.changes | 54 ++++++++++++++++++ updatecli.obsinfo | 4 ++ updatecli.spec | 120 +++++++++++++++++++++++++++++++++++++++ vendor.tar.gz | 3 + 10 files changed, 237 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 updatecli-0.84.1.obscpio create mode 100644 updatecli-0.85.0.obscpio create mode 100644 updatecli.changes create mode 100644 updatecli.obsinfo create mode 100644 updatecli.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..02b643e --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + https://github.com/updatecli/updatecli + git + .git + v0.85.0 + @PARENT_TAG@ + enable + v(.*) + + + + + + + + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..3aba143 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/updatecli/updatecli + 691db5c2ffd7550131270217ccdaee51d08b36e8 \ No newline at end of file diff --git a/updatecli-0.84.1.obscpio b/updatecli-0.84.1.obscpio new file mode 100644 index 0000000..e5ba9af --- /dev/null +++ b/updatecli-0.84.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:830c6262f129abb907f121716b5398eeb69530a8ee47c32a32422bd8acc86b8a +size 2915340 diff --git a/updatecli-0.85.0.obscpio b/updatecli-0.85.0.obscpio new file mode 100644 index 0000000..bf696dd --- /dev/null +++ b/updatecli-0.85.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2fe648d0280d54fbcfac6720364482c7fbdcb9814e244b5448b05c9f16b2b5cc +size 2950668 diff --git a/updatecli.changes b/updatecli.changes new file mode 100644 index 0000000..a56bdc3 --- /dev/null +++ b/updatecli.changes @@ -0,0 +1,54 @@ +------------------------------------------------------------------- +Fri Oct 11 06:54:58 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.85.0: + * deps(go): bump module github.com/getsops/sops/v3 (#2787) + * chore(deps): Bump sigstore/cosign-installer from 3.6.0 to 3.7.0 + (#2771) + * feat(autodiscovery/precommit): initial implementation (#2773) + * feat: dockerfile autodiscovery should ignore stage name and + scratch (#2752) + * deps(go): bump module golang.org/x/text (#2772) + * Disable spellcheck (#2765) + * chore(gha): update check-spelling to 0.0.22 (#2759) + * deps: Bump Golang version to 1.23.2 (#2753) + * deps: bump updatecli version to v0.84.1 (#2746) + +------------------------------------------------------------------- +Wed Oct 02 06:22:27 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.84.1: + * Fix prerelease semver filtering when current version is stable + (#2736) + * fix(prow/e2e): ignore broken image and use updatecli-test + (#2737) + * deps(go): bump module github.com/fluxcd/source-controller/api + (#2729) + * chore: deps(go): bump module github.com/drone/go-scm to v1.38.7 + (#2724) + * deps(go): bump module helm.sh/helm/v3 (#2719) + * deps(go): bump module helm.sh/helm/v3 (#2713) + * chore: deps(go): bump module github.com/drone/go-scm to v1.38.6 + (#2706) + * deps(go): bump module github.com/beevik/etree (#2702) + * deps(go): bump module github.com/aws/aws-sdk-go (#2691) + * chore: update golang patch one at a time (#2689) + * deps(go): bump module github.com/getsops/sops/v3 (#2684) + * deps: Bump Golang version to 1.23.1 (#2672) + * deps(go): bump module + github.com/testcontainers/testcontainers-go (#2677) + * deps: bump docker dependencies (#2671) + * deps(go): bump module golang.org/x/mod (#2669) + * deps(go): bump module golang.org/x/text (#2664) + * deps(go): bump module golang.org/x/oauth2 (#2658) + * chore(deps): Bump github.com/opencontainers/runc from 1.1.12 to + 1.1.14 (#2647) + * chore(text): switch to httpclient (#2622) + * chore(spelling): add end of line new line (#2632) + * fix spelling warning (#2629) + * deps: bump updatecli version to v0.84.0 (#2623) + +------------------------------------------------------------------- +Tue Sep 24 05:20:02 UTC 2024 - Johannes Kastl + +- new package updatecli: a declarative dependency management tool diff --git a/updatecli.obsinfo b/updatecli.obsinfo new file mode 100644 index 0000000..84d26be --- /dev/null +++ b/updatecli.obsinfo @@ -0,0 +1,4 @@ +name: updatecli +version: 0.85.0 +mtime: 1728145826 +commit: 691db5c2ffd7550131270217ccdaee51d08b36e8 diff --git a/updatecli.spec b/updatecli.spec new file mode 100644 index 0000000..9d4d9c5 --- /dev/null +++ b/updatecli.spec @@ -0,0 +1,120 @@ +# +# spec file for package updatecli +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: updatecli +Version: 0.85.0 +Release: 0 +Summary: A Declarative Dependency Management tool +License: Apache-2.0 +URL: https://github.com/updatecli/updatecli +Source: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: go >= 1.23.1 + +%description +Updatecli is a tool used to apply file update strategies. Designed to be used +from everywhere, each application "run" detects if a value needs to be updated +using a custom strategy then apply changes according to the strategy. + +You describe your update strategy in a file then you run updatecli to it. + +Updatecli reads a yaml or a go template configuration file, then works into +three stages. + +%package -n %{name}-bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: (%{name} and bash-completion) +BuildArch: noarch + +%description -n %{name}-bash-completion +Bash command line completion support for %{name}. + +%package -n %{name}-fish-completion +Summary: Fish Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and fish) +BuildArch: noarch + +%description -n %{name}-fish-completion +Fish command line completion support for %{name}. + +%package -n %{name}-zsh-completion +Summary: Zsh Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and zsh) +BuildArch: noarch + +%description -n %{name}-zsh-completion +zsh command line completion support for %{name}. + +%prep +%autosetup -p 1 -a 1 + +%build +GO_VERSION="$(go version)" +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=" \ + -X \"github.com/updatecli/updatecli/pkg/core/version.GoVersion=${GO_VERSION}\" \ + -X github.com/updatecli/updatecli/pkg/core/version.Version=v%{version} \ + -X github.com/updatecli/updatecli/pkg/core/version.BuildTime=${BUILD_DATE}" \ + -o bin/%{name} ./main.go + +%install +# Install the binary. +install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name} + +# create the bash completion file +mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/ +%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name} + +# create the fish completion file +mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/ +%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +# create the zsh completion file +mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d/ +%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name} + +%files +%doc README.adoc +%license LICENSE +%{_bindir}/%{name} + +%files -n %{name}-bash-completion +%dir %{_datarootdir}/bash-completion/completions/ +%{_datarootdir}/bash-completion/completions/%{name} + +%files -n %{name}-fish-completion +%dir %{_datarootdir}/fish +%dir %{_datarootdir}/fish/vendor_completions.d +%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +%files -n %{name}-zsh-completion +%dir %{_datarootdir}/zsh_completion.d/ +%{_datarootdir}/zsh_completion.d/_%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..ade9f89 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cadc2b2d3b7ba447cc31aac1fd631c99a2ba58f37e0bf291a3b1f9ddc6f3a0b +size 23264539