From 67a7e4af1e09e97ef7c1d113fb053383e71e91750d80f64acba7dd2265356fb7 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Wed, 27 Nov 2024 09:57:47 +0000 Subject: [PATCH] update to 0.88.0 OBS-URL: https://build.opensuse.org/package/show/devel:tools/updatecli?expand=0&rev=12 --- .gitattributes | 23 +++++++ .gitignore | 1 + _service | 22 ++++++ _servicedata | 4 ++ updatecli-0.84.1.obscpio | 3 + updatecli-0.86.1.obscpio | 3 + updatecli-0.87.0.obscpio | 3 + updatecli-0.88.0.obscpio | 3 + updatecli.changes | 142 +++++++++++++++++++++++++++++++++++++++ updatecli.obsinfo | 4 ++ updatecli.spec | 119 ++++++++++++++++++++++++++++++++ vendor.tar.gz | 3 + 12 files changed, 330 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.86.1.obscpio create mode 100644 updatecli-0.87.0.obscpio create mode 100644 updatecli-0.88.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..71c2dbb --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + https://github.com/updatecli/updatecli + git + .git + v0.88.0 + @PARENT_TAG@ + v(.*) + enable + + + + + + + + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..6627803 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/updatecli/updatecli + fc5e8bfac761ea922a205ba4e3e6a580adcae3cb \ 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.86.1.obscpio b/updatecli-0.86.1.obscpio new file mode 100644 index 0000000..40ad6dd --- /dev/null +++ b/updatecli-0.86.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21f14020102306a406f26413210e21abc2133b23c1789a4878ef30016489e911 +size 3081740 diff --git a/updatecli-0.87.0.obscpio b/updatecli-0.87.0.obscpio new file mode 100644 index 0000000..35e9292 --- /dev/null +++ b/updatecli-0.87.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1bda14dae14178daa83276aefe4d90a0dbfd2db4337a6b1b7edd4542c4153d3 +size 3094540 diff --git a/updatecli-0.88.0.obscpio b/updatecli-0.88.0.obscpio new file mode 100644 index 0000000..bba578c --- /dev/null +++ b/updatecli-0.88.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ef5635c4c151f7f0dd9e33b9e34a6ee00d0cfdf6d965f2643a03e48214ef36c +size 3100172 diff --git a/updatecli.changes b/updatecli.changes new file mode 100644 index 0000000..4964621 --- /dev/null +++ b/updatecli.changes @@ -0,0 +1,142 @@ +------------------------------------------------------------------- +Wed Nov 27 09:45:17 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.88.0: + * doc: add mermaid to manifest show command output (#3173) + * fix: flavour to flavor + * feat: add Pipeline graph to issue template + * feat: add mermaid graph flavour + * fix: only look at target when target has dependsonchange: true + (#3160) + * deps: bump updatecli version to v0.87.0 (#3148) + * doc(e2e tests) add a minimalistic documentation (#1120) + +------------------------------------------------------------------- +Tue Nov 26 14:07:33 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.87.0: + * deps: use go-scm upstream project (#3146) + * chore: deps(go): bump module github.com/drone/go-scm to v1.39.0 + (#3137) + * deps(go): bump module cuelang.org/go (#3131) + * deps(go): bump module helm.sh/helm/v3 (#3126) + * deps(go): bump module github.com/stretchr/testify (#3119) + * deps(go): bump module github.com/goccy/go-yaml (#3111) + * deps(go): bump module github.com/Masterminds/semver/v3 (#3101) + * chore: deps(go): bump module github.com/drone/go-scm to v1.38.9 + (#3091) + * feat(autodiscovery/helm): allow to set target.SkipPackaging for + helmchart (#3062) + * fix: message for golang update in go.mod (#3068) + * feat(temurin): introduces condition to check for Adoptium + releases existence (#3063) + * deps(go): bump module github.com/hashicorp/hcl/v2 (#3055) + * deps(go): bump module github.com/goccy/go-yaml (#3044) + * deps: Bump Golang version to 1.23.3 (#3031) + * deps(go): bump module golang.org/x/text (#3027) + * deps(go): bump module golang.org/x/oauth2 (#3011) + * deps(go): bump module golang.org/x/mod (#3012) + * fix: print Updatecli log to stdout instead of sterr (#2997) + * deps(go): bump module github.com/goccy/go-yaml (#2989) + * deps: bump updatecli version to v0.86.1 (#2979) + +------------------------------------------------------------------- +Tue Nov 12 06:49:54 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.86.1: + * fix: source block can be nil (#2977) + * deps: bump updatecli version to v0.86.0 (#2963) + +------------------------------------------------------------------- +Mon Nov 04 19:49:04 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.86.0: + * feat: add GitHub action autodiscovery plugin (#1964) + * deps(go): bump module github.com/goccy/go-yaml (#2956) + * deps(go): bump module github.com/goccy/go-yaml (#2949) + * chore(deps): Bump anchore/sbom-action from 0.17.3 to 0.17.6 + (#2941) + * feat(gitbranch): Add git url param to gitbranch plugin (#2850) + * fix(gittag): allow to specify the sourcebranch where to create + the tag (#2926) + * deps(go): bump module github.com/goccy/go-yaml (#2924) + * fix(temurin) use OS and architecture to filter responses when + retrieving versions (#2917) + * fix(temurin) fail explicitly when specifying condition or + target of kind 'temurin' (#2916) + * feat(gittag): Add git url param to gittag plugin (#2848) + * deps(go): bump module cuelang.org/go (#2902) + * feat: detect auto-debug in the CI (#2822) + * deps(updatecli/policies): bump all policies (#2712) + * feat(scm): add bitbucket cloud scm and action support (#2847) + * fix: show pipeline as skipped if all target are skipped (#2849) + * deps(go): bump module github.com/fatih/color (#2875) + * deps(go): bump module github.com/yuin/goldmark (#2870) + * deps(go): bump module + github.com/testcontainers/testcontainers-go (#2861) + * deps(go): bump module helm.sh/helm/v3 (#2859) + * fix: disabling temurin s390x test (#2852) + * feat(core/pipeline): allow dependency across + source/conditions/targets (#2800) + * fix(doc): Typos (#2824) + * chore(deps): Bump anchore/sbom-action from 0.17.2 to 0.17.3 + (#2823) + * chore: deps(go): bump module github.com/drone/go-scm to v1.38.8 + (#2812) + * Fix bug when gitea request fails (#2806) + * deps: bump updatecli version to v0.85.0 (#2794) + +------------------------------------------------------------------- +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..38618d4 --- /dev/null +++ b/updatecli.obsinfo @@ -0,0 +1,4 @@ +name: updatecli +version: 0.88.0 +mtime: 1732632074 +commit: fc5e8bfac761ea922a205ba4e3e6a580adcae3cb diff --git a/updatecli.spec b/updatecli.spec new file mode 100644 index 0000000..5830bd1 --- /dev/null +++ b/updatecli.spec @@ -0,0 +1,119 @@ +# +# 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.88.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: bash-completion +BuildRequires: fish +BuildRequires: go >= 1.23.1 +BuildRequires: zsh + +%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/site-functions/ +%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_%{name} + +%files +%doc README.adoc +%license LICENSE +%{_bindir}/%{name} + +%files -n %{name}-bash-completion +%{_datarootdir}/bash-completion/completions/%{name} + +%files -n %{name}-fish-completion +%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +%files -n %{name}-zsh-completion +%{_datarootdir}/zsh/site-functions/_%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..32982ab --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2792d0baac538b053cd7fba6242c16b86a9e7c92af651a7add9b5f3f80e00761 +size 23318062