update to 0.93.1
OBS-URL: https://build.opensuse.org/package/show/devel:tools/updatecli?expand=0&rev=24
This commit is contained in:
commit
a25097fee8
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.93.1</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">b1e499b80731ec0eddb959da7c26e2aa30d800e9</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
|
3
updatecli-0.90.0.obscpio
Normal file
3
updatecli-0.90.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:caf5204fca44508da350ca97ac1ebadfaa0a7dc8740a132ed5a65dd78a7e2583
|
||||
size 3137548
|
3
updatecli-0.91.0.obscpio
Normal file
3
updatecli-0.91.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7a9141fda12a309339de242388e2e3a76b79fed5ad3fedfa284b6fdcb4cc767
|
||||
size 3140620
|
3
updatecli-0.92.0.obscpio
Normal file
3
updatecli-0.92.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:88bac9d2dd366a658947e0c59e3d2cdbfc0965bf78ff5a1fb61e137d8b0c5db6
|
||||
size 3196940
|
3
updatecli-0.93.1.obscpio
Normal file
3
updatecli-0.93.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:038022b0eae2cd64fe4d335bb915845c39815ed3b83e049bf65208a226998617
|
||||
size 3210252
|
277
updatecli.changes
Normal file
277
updatecli.changes
Normal file
@ -0,0 +1,277 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 07 08:49:49 UTC 2025 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.93.1:
|
||||
* deps(go): bump module github.com/goccy/go-yaml (#3760)
|
||||
* deps(go): bump module cuelang.org/go (#3750)
|
||||
* deps(go): bump module github.com/spf13/afero (#3731)
|
||||
* deps(go): bump module github.com/aws/aws-sdk-go (#3737)
|
||||
* deps(go): bump module github.com/goccy/go-yaml (#3723)
|
||||
* fix: autodiscovery precommit not working if default branch of
|
||||
remote hook is not main (#3715)
|
||||
* deps: bump updatecli version to v0.93.0 (#3699)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 07 08:44:22 UTC 2025 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.93.0:
|
||||
* deps(go): bump module helm.sh/helm/v3 (#3685)
|
||||
* deps(go): bump module github.com/zclconf/go-cty (#3679)
|
||||
* chore: rewrite autodiscovery dockercompoes plugin comment
|
||||
(#3660)
|
||||
* chore: update conferences in README (#3661)
|
||||
* fix: hide username/password from URL in log message (#3659)
|
||||
* feat: github action autodiscovyer support docker (#3633)
|
||||
* deps(go): bump module github.com/go-git/go-git/v5 (#3638)
|
||||
* deps: Bump Golang version to 1.23.5 (#3616)
|
||||
* deps(go): bump module github.com/zclconf/go-cty (#3602)
|
||||
* deps(go): bump module github.com/goccy/go-yaml (#3606)
|
||||
* deps(go): bump module github.com/google/go-containerregistry
|
||||
(#3591)
|
||||
* deps(go): bump module github.com/goccy/go-yaml (#3584)
|
||||
* fix(githubaction): correctly ignore relative path action
|
||||
(#3562)
|
||||
* fix(gittag): always return lightweight git tag (#3561)
|
||||
* deps(go): bump module
|
||||
github.com/hashicorp/terraform-registry-address (#3547)
|
||||
* deps: bump updatecli version to v0.92.0 (#3539)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 06:57:36 UTC 2025 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.92.0:
|
||||
* Features
|
||||
- githubaction autodiscovery should allow for pinning version
|
||||
to commit hash @loispostula (#3508)
|
||||
- improvement(httpclient): add support for http proxy in retry
|
||||
client @ryancurrah (#3516)
|
||||
- feat: add versionfilter of kind lexicographical @acobaugh
|
||||
(#3371)
|
||||
- feat: add versionfilter of kind time @olblak (#3405)
|
||||
* Bug Fixes
|
||||
- fix(autodiscovery/helm): correctly handle ignore/only rule
|
||||
@olblak (#3501)
|
||||
- fix(autodiscovery/dockercompose): correctly set arch @olblak
|
||||
(#3500)
|
||||
- fix(helm): retrieve correct helm chart changelog based on a
|
||||
version @olblak (#3489)
|
||||
- fix(helm): Protect against undefined sourceSpec
|
||||
@kuisathaverat (#3369)
|
||||
- fix(autodiscovery/argocd): ArgoCD autodiscovery for OCI
|
||||
registry @dshmelev (#3461)
|
||||
- fix!(versionfilter): preserve original version for
|
||||
regex/semver @mcwarman (#3404)
|
||||
- fix: use latest when tag is not set in autodiscover
|
||||
@kuisathaverat (#3370)
|
||||
* Maintenance
|
||||
- refactor(git): git error messages @olblak (#3460)
|
||||
- refactor(json): improving json error message @olblak (#3458)
|
||||
- Adds devcontainer @btrepp (#2807)
|
||||
- deps(go): bump module
|
||||
github.com/testcontainers/testcontainers-go @updateclibot
|
||||
(#3517)
|
||||
- deps(go): bump module github.com/go-git/go-git/v5
|
||||
@updateclibot (#3447)
|
||||
- deps(go): bump module golang.org/x/oauth2 @updateclibot
|
||||
(#3430)
|
||||
- deps(go): bump module github.com/zclconf/go-cty @updateclibot
|
||||
(#3431)
|
||||
- deps(go): bump module github.com/goccy/go-yaml @updateclibot
|
||||
(#3394)
|
||||
- deps(go): bump module github.com/invopop/jsonschema
|
||||
@updateclibot (#3387)
|
||||
- deps(go): bump module github.com/go-git/go-git/v5
|
||||
@updateclibot (#3375)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 27 12:37:49 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.91.0:
|
||||
* feat: add version filter regex-semver (#3347)
|
||||
* feat(autodiscovery): support kubernetes cronjob (#3346)
|
||||
* deps: bump updatecli version to v0.90.0 (#3338)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 20 12:04:57 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.90.0:
|
||||
* deps(go): bump module github.com/goccy/go-yaml (#3324)
|
||||
* Merge commit from fork
|
||||
* chore(deps): Bump codecov/codecov-action from 4 to 5 (#3052)
|
||||
* chore(deps): Bump filippo.io/age from 1.2.0 to 1.2.1 (#3314)
|
||||
* deps(go): bump module cuelang.org/go (#3313)
|
||||
* deps(go): bump module helm.sh/helm/v3 (#3306)
|
||||
* deps(go): bump module github.com/goccy/go-yaml (#3298)
|
||||
* feat(maven): Support settings.xml for setting credentials and
|
||||
mirrors (#3270)
|
||||
* feat: allow to deepmerge multiple values file (#3291)
|
||||
* Update SECURITY.md (#3277)
|
||||
* chore(deps): Bump golang.org/x/crypto from 0.29.0 to 0.31.0
|
||||
(#3271)
|
||||
* deps(go): bump module github.com/goccy/go-yaml (#3267)
|
||||
* deps: bump updatecli version to v0.89.0 (#3263)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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.93.1
|
||||
mtime: 1738600015
|
||||
commit: b1e499b80731ec0eddb959da7c26e2aa30d800e9
|
119
updatecli.spec
Normal file
119
updatecli.spec
Normal file
@ -0,0 +1,119 @@
|
||||
#
|
||||
# spec file for package updatecli
|
||||
#
|
||||
# Copyright (c) 2025 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.93.1
|
||||
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:606cf0084d15dd2dcc0db0af61066a308be4fd9272eff018622e76efc2787a2b
|
||||
size 25257912
|
Loading…
x
Reference in New Issue
Block a user