update to 0.89.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools/updatecli?expand=0&rev=16
This commit is contained in:
commit
9edb0d0276
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
22
_service
Normal file
22
_service
Normal file
@ -0,0 +1,22 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/updatecli/updatecli</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="revision">v0.89.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
</service>
|
||||
<!-- services below are running at buildtime -->
|
||||
<service name="tar" mode="buildtime">
|
||||
</service>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/updatecli/updatecli</param>
|
||||
<param name="changesrevision">278fb231c17c6817c235d0cf73a3b90ead46d556</param></service></servicedata>
|
3
updatecli-0.84.1.obscpio
Normal file
3
updatecli-0.84.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:830c6262f129abb907f121716b5398eeb69530a8ee47c32a32422bd8acc86b8a
|
||||
size 2915340
|
3
updatecli-0.86.1.obscpio
Normal file
3
updatecli-0.86.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:21f14020102306a406f26413210e21abc2133b23c1789a4878ef30016489e911
|
||||
size 3081740
|
3
updatecli-0.87.0.obscpio
Normal file
3
updatecli-0.87.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b1bda14dae14178daa83276aefe4d90a0dbfd2db4337a6b1b7edd4542c4153d3
|
||||
size 3094540
|
3
updatecli-0.88.0.obscpio
Normal file
3
updatecli-0.88.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2ef5635c4c151f7f0dd9e33b9e34a6ee00d0cfdf6d965f2643a03e48214ef36c
|
||||
size 3100172
|
3
updatecli-0.88.1.obscpio
Normal file
3
updatecli-0.88.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25d62a18bf71070838eb7c851633be3b3d1f57fc77d9c379ce984a3965b7654d
|
||||
size 3102732
|
3
updatecli-0.89.0.obscpio
Normal file
3
updatecli-0.89.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f71e63c937bf74e4d5bb0e05994befd2c9df253f06d92d0cd9343994adeeb98a
|
||||
size 3116556
|
164
updatecli.changes
Normal file
164
updatecli.changes
Normal file
@ -0,0 +1,164 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 09 09:42:37 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.89.0:
|
||||
* deps(go): bump module golang.org/x/text (#3255)
|
||||
* deps(go): bump module github.com/goccy/go-yaml (#3248)
|
||||
* deps: Bump Golang version to 1.23.4 (#3237)
|
||||
* feat: display action result in Summary (#3223)
|
||||
* deps(go): bump module github.com/getsops/sops/v3 (#3232)
|
||||
* deps(go): bump module github.com/drone/go-scm (#3220)
|
||||
* fix(stash): use markdown body instead of html (#3224)
|
||||
* deps: bump updatecli version to v0.88.1 (#3211)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 02 13:50:55 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.88.1:
|
||||
* feat: allow to login on Udash without auth enabled (#3203)
|
||||
* deps: bump updatecli version to v0.88.0 (#3176)
|
||||
* fix: display target console output in Updatecli report (#3190)
|
||||
* deps(go): bump module github.com/zclconf/go-cty (#3182)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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 <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- new package updatecli: a declarative dependency management tool
|
4
updatecli.obsinfo
Normal file
4
updatecli.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: updatecli
|
||||
version: 0.89.0
|
||||
mtime: 1733658766
|
||||
commit: 278fb231c17c6817c235d0cf73a3b90ead46d556
|
119
updatecli.spec
Normal file
119
updatecli.spec
Normal file
@ -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.89.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.4
|
||||
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
|
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e6358e20c223270b31aebf5ab56d121a18805144d4e8f98fac78b567417a4b9c
|
||||
size 25180855
|
Loading…
x
Reference in New Issue
Block a user