- Adopt new way to package rust software with obs-service-cargo:

* remove cargo_config. it's part of vendor.tar now
- Update to version 2.1.2:
  * feat(npm): add programmatic API for TypeScript
  * chore(fixtures): enable verbose logging for output
  * refactor(clippy): apply clippy suggestions
  * refactor(changelog): do not output to stdout when prepend is used
  * feat(args): add `--tag-pattern` argument
  * fix(config): fix commit parser regex in the default config
  * fix(github): sanitize the GitHub token in debug logs
  * chore(config): add animation to the header of the changelog
  * refactor(clippy): apply clippy suggestions
  * docs(security): update security policy
  * chore(project): add readme to core package
  * chore(embed): do not allow missing docs
  * chore(config): skip dependabot commits for dev updates
  * docs(readme): mention RustLab 2023 talk
  * chore(config): revamp the configuration files
  * chore(docker): update versions in Dockerfile
  * chore(example): use full links in GitHub templates
  * chore(project): bump MSRV to 1.74.1
  * revert(config): use postprocessors for checking the typos
  * feat(template): support using PR labels in the GitHub template
  * docs(configuration): fix typo
  * feat(args): add `--no-exec` flag for skipping command execution
  * chore(command): explicitly set the directory of command to current dir
  * refactor(ci): use hardcoded workspace members for cargo-msrv command
  * refactor(ci): simplify cargo-msrv installation
  * refactor(clippy): apply clippy suggestions
  * refactor(config): use postprocessors for checking the typos

OBS-URL: https://build.opensuse.org/package/show/utilities/git-cliff?expand=0&rev=21
This commit is contained in:
Soc Virnyl Estela 2024-03-07 05:08:53 +00:00 committed by Git OBS Bridge
parent da368abebd
commit a56a3545b8
6 changed files with 82 additions and 17 deletions

View File

@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ec9a2c9cd0e97a8111a82bcf2fce415f40818897bdc76a2c5cc63d99114ec30
size 3272778

3
git-cliff-2.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c321b180b071ccfa8986931576fc02ca4dbc75dff035e4c663c2cfb8ecd4683
size 10610357

View File

@ -1,3 +1,75 @@
-------------------------------------------------------------------
Thu Mar 7 05:06:13 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- Adopt new way to package rust software with obs-service-cargo:
* remove cargo_config. it's part of vendor.tar now
- Update to version 2.1.2:
* feat(npm): add programmatic API for TypeScript
* chore(fixtures): enable verbose logging for output
* refactor(clippy): apply clippy suggestions
* refactor(changelog): do not output to stdout when prepend is used
* feat(args): add `--tag-pattern` argument
* fix(config): fix commit parser regex in the default config
* fix(github): sanitize the GitHub token in debug logs
* chore(config): add animation to the header of the changelog
* refactor(clippy): apply clippy suggestions
* docs(security): update security policy
* chore(project): add readme to core package
* chore(embed): do not allow missing docs
* chore(config): skip dependabot commits for dev updates
* docs(readme): mention RustLab 2023 talk
* chore(config): revamp the configuration files
* chore(docker): update versions in Dockerfile
* chore(example): use full links in GitHub templates
* chore(project): bump MSRV to 1.74.1
* revert(config): use postprocessors for checking the typos
* feat(template): support using PR labels in the GitHub template
* docs(configuration): fix typo
* feat(args): add `--no-exec` flag for skipping command execution
* chore(command): explicitly set the directory of command to current dir
* refactor(ci): use hardcoded workspace members for cargo-msrv command
* refactor(ci): simplify cargo-msrv installation
* refactor(clippy): apply clippy suggestions
* refactor(config): use postprocessors for checking the typos
* chore(project): update copyright years
* chore(github): update templates about GitHub integration
* feat(changelog): set the timestamp of the previous release
* feat(template): support using PR title in the GitHub template
* feat(changelog): improve skipping via `.cliffignore` and `--skip-commit`
* chore(changelog): disable the default behavior of next-version
* fix(git): sort commits in topological order
* test(changelog): use the correct version for missing tags
* chore(changelog): use 0.1.0 as default next release if no tag is found
* feat(github)!: support integration with GitHub repos
* refactor(changelog): support `--bump` for processed releases
* fix(cli): fix broken pipe when stdout is interrupted
* test(fixtures): update the bumped value output to add prefix
* feat(changelog): support tag prefixes with `--bump`
* feat(changelog)!: set tag to `0.0.1` via `--bump` if no tags exist
* fix(commit): trim the trailing newline from message
* docs(readme): use the raw link for the animation
* chore(example): remove limited commits example
* feat(args): add `-x` short argument for `--context`
* revert(deps): bump actions/upload-pages-artifact from 2 to 3
* revert(deps): bump actions/deploy-pages from 3 to 4
* chore(dependabot): group the dependency updates for creating less PRs
* feat(parser): support using SHA1 of the commit
* feat(commit): add merge_commit flag to the context
* chore(mergify): don't update PRs for the main branch
* fix(links): skip checking the GitHub commit URLs
* fix(changelog): fix previous version links
* feat(parser): support using regex scope values
* test(fixture): update the date for example test fixture
* docs(fixtures): add instructions for adding new fixtures
* feat(args): support initialization with built-in templates
* feat(changelog)!: support templating in the footer
* feat(args): allow returning the bumped version
* test(fixture): add test fixture for bumping version
* fix: allow version bump with a single previous release
* fix(changelog): set the correct previous tag when a custom tag is given
* feat(args): set `CHANGELOG.md` as default missing value for output option
* refactor(config): remove unnecessary newline from configs
-------------------------------------------------------------------
Tue Oct 31 09:28:06 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>

View File

@ -1,7 +1,7 @@
#
# spec file for package git-cliff
#
# Copyright (c) 2023 SUSE LLC
# 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
@ -17,16 +17,15 @@
Name: git-cliff
Version: 1.4.0
Version: 2.1.2
Release: 0
Summary: Changelog generator for git repositories
URL: https://github.com/orhun/git-cliff
License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND GPL-3.0-only AND SUSE-GPL-2.0-with-linking-exception+
Source0: https://github.com/orhun/git-cliff/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: rust+cargo
BuildRequires: zstd
ExclusiveArch: %{rust_arches}
@ -66,11 +65,10 @@ Bash command-line completion support for %{name}.
%prep
%autosetup -a1
mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
%{cargo_build} --no-default-features
# We don't need to check an update. github feature is nice to have though
%{cargo_build} --no-default-features -F github
mkdir -p target/completions/
mkdir -p target/man/
OUT_DIR=target/completions/ ./target/release/%{name}-completions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ebdecc923fe25778849d30a115fd244db6c5c979ce958bafc3b21ba4554c82c1
size 28642969
oid sha256:8fc68f7c66b43fea3a3654f017e74a52ba5c1debeed2fa224c69762097521b9e
size 42305400