SHA256
1
0
forked from pool/jira-cli

3 Commits

Author SHA256 Message Date
676e77af50 Accepting request 1272812 from devel:languages:go
- Update to version 1.6.0:
  * ci: Upgrade goreleaser
  * fix: Tag stripping in plain mode (#839)
  * chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#838)
  * chore(deps): Upgrade spinner, glamour, go-keyring and related deps (#833)
  * feat: Add easy issue search to list cmd (#769)
  * fix: Add shell completion to brew install; closes #651 (#795)
  * feat: Allow adding internal comment on JSD (#825)
  * feat: Accept multiple replace strings on clone (#811)
  * dev: Upgrade docker config
  * feat: Add option to output issue creation result as Json (#775)
  * fix: use `tview.Escape` with standard square brackets (#828)
  * chore(deps): Upgrade to go1.24
  * chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 (#831)
  * feat: Respect API token for `mtls` auth (#783)
  * fix: case insensitive sub-task comparison (#793)
  * ci: Upgrade linter (#808)
  * Update golang.org/x/net package to version 0.33.0 (#806)
- Packaging improvements:
  * Convert to using obs_scm with version in _service
  * Generate separate completions packages
  * Generate and include upstream-provided manpages (forwarded request 1272811 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1272812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jira-cli?expand=0&rev=4
2025-04-26 20:25:20 +00:00
605866858a - Update to version 1.6.0:
* ci: Upgrade goreleaser
  * fix: Tag stripping in plain mode (#839)
  * chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#838)
  * chore(deps): Upgrade spinner, glamour, go-keyring and related deps (#833)
  * feat: Add easy issue search to list cmd (#769)
  * fix: Add shell completion to brew install; closes #651 (#795)
  * feat: Allow adding internal comment on JSD (#825)
  * feat: Accept multiple replace strings on clone (#811)
  * dev: Upgrade docker config
  * feat: Add option to output issue creation result as Json (#775)
  * fix: use `tview.Escape` with standard square brackets (#828)
  * chore(deps): Upgrade to go1.24
  * chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 (#831)
  * feat: Respect API token for `mtls` auth (#783)
  * fix: case insensitive sub-task comparison (#793)
  * ci: Upgrade linter (#808)
  * Update golang.org/x/net package to version 0.33.0 (#806)
- Packaging improvements:
  * Convert to using obs_scm with version in _service
  * Generate separate completions packages
  * Generate and include upstream-provided manpages

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/jira-cli?expand=0&rev=8
2025-04-26 04:13:26 +00:00
1f39744fa7 Added BuildRequires: zstd to fix SLE_15_SP4 build failure with vendor.*zst
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/jira-cli?expand=0&rev=7
2025-04-25 21:46:14 +00:00
9 changed files with 134 additions and 19 deletions

View File

@@ -1,20 +1,23 @@
<services> <services>
<service name="tar_scm" mode="disabled"> <service name="obs_scm" mode="manual">
<param name="url">https://github.com/ankitpokhrel/jira-cli.git</param> <param name="url">https://github.com/ankitpokhrel/jira-cli.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="exclude">.git</param> <param name="package-meta">yes</param>
<param name="revision">@PARENT_TAG@</param> <param name="revision">refs/tags/v1.6.0</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service> </service>
<service name="set_version" mode="disabled"> <service name="set_version" mode="manual">
<param name="basename">jira-cli</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="go_modules" mode="manual">
<param name="compression">zst</param>
</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="file">*.tar</param>
<param name="compression">gz</param> <param name="compression">gz</param>
</service> </service>
<service name="go_modules" mode="disabled">
</service>
</services> </services>

View File

@@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/ankitpokhrel/jira-cli.git</param> <param name="url">https://github.com/ankitpokhrel/jira-cli.git</param>
<param name="changesrevision">0e0f82d52ef5a775d2cc662fbe38d9732b9b5c59</param></service></servicedata> <param name="changesrevision">6a6611ce59f1a85203b021af9113b2a4e82ecaef</param></service></servicedata>

View File

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

3
jira-cli-1.6.0.obscpio Normal file
View File

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

View File

@@ -1,3 +1,52 @@
-------------------------------------------------------------------
Fri Apr 25 18:43:03 UTC 2025 - Holden Fried <holden@opensuse.org>
- Update to version 1.6.0:
* ci: Upgrade goreleaser
* fix: Tag stripping in plain mode (#839)
* chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#838)
* Update README.md
* chore(deps): Upgrade spinner, glamour, go-keyring and related deps (#833)
* feat: Add easy issue search to list cmd (#769)
* fix: Add shell completion to brew install; closes #651 (#795)
* feat: Allow adding internal comment on JSD (#825)
* feat: Accept multiple replace strings on clone (#811)
* dev: Upgrade docker config
* feat: Add option to output issue creation result as Json (#775)
* fix: use `tview.Escape` with standard square brackets (#828)
* chore(deps): Upgrade to go1.24
* chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 (#831)
* feat: Respect API token for `mtls` auth (#783)
* fix: case insensitive sub-task comparison (#793)
* Update README
* ci: Upgrade linter (#808)
* Update golang.org/x/net package to version 0.33.0 (#806)
- Packaging improvements:
* Convert to using obs_scm with version in _service
* Generate separate completions packages
* Generate and include upstream-provided manpages
-------------------------------------------------------------------
Fri Apr 25 18:42:19 UTC 2025 - Holden Fried <holden@opensuse.org>
- Update to version 1.5.2:
* chore: Add tests for sprint close (#778)
* [feat] Add cli method for close sprint with supporting jira client methods (#756)
* fix: regression introduced by new OriginalEstimate attribute (#767)
* feat: Allow updating parent on edit (#765)
* feat: Add original estimate option to issue creation (#748)
* Improve zsh autocomplete directions (#739)
* dep: Upgrade tcell & tview (#734)
* dep: Upgrade cobra and viper (#732)
* dep: Upgrade browser, testify, go-keyring (#731)
* dep: Upgrade glamour (#730)
* ci: Upgrade linter (#729)
* chore: Minor cleanup
* fix: Epic description overridden in no-input mode (#728)
* feat(718): issue view: --raw option (#720)
* win: Respect `WT_SESSION` variable. (#706)
* ci: Update GitHub Actions steps (#707)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 03 08:01:47 UTC 2024 - georg.pfuetzenreuter@suse.com Mon Jun 03 08:01:47 UTC 2024 - georg.pfuetzenreuter@suse.com

4
jira-cli.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: jira-cli
version: 1.6.0
mtime: 1745055191
commit: 6a6611ce59f1a85203b021af9113b2a4e82ecaef

View File

@@ -1,7 +1,7 @@
# #
# spec file for package jira-cli # spec file for package jira-cli
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -20,15 +20,20 @@
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
%define shortname jira %define shortname jira
Name: jira-cli Name: jira-cli
Version: 1.5.1 Version: 1.6.0
Release: 0 Release: 0
Summary: CLI tool for Atlassian JIRA inspired by the Github CLI tool Summary: CLI tool for Atlassian JIRA inspired by the Github CLI tool
License: MIT License: MIT
Group: Development/Tools/Other Group: Development/Tools/Other
URL: https://github.com/ankitpokhrel/jira-cli URL: https://github.com/ankitpokhrel/jira-cli
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz Source1: vendor.tar.zst
BuildRequires: golang(API) >= 1.19 BuildRequires: golang(API) >= 1.19
# For completions packages
BuildRequires: fish
BuildRequires: zsh
# For SLE_15_SP4
BuildRequires: zstd
%description %description
JiraCLI is an interactive command line tool for Atlassian Jira that will help JiraCLI is an interactive command line tool for Atlassian Jira that will help
@@ -39,6 +44,36 @@ straightforward as possible. The tool now includes all necessary features like
issue creation, cloning, linking, ticket transition, and much more. The TUI is issue creation, cloning, linking, ticket transition, and much more. The TUI is
heavily inspired by the GitHub CLI. heavily inspired by the GitHub CLI.
%package bash-completion
Summary: Bash Completion for %{name}
Requires: %{name}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion
Bash command line completion support for %{name}.
%package fish-completion
Summary: Fish Completion for %{name}
Requires: %{name}
Requires: fish
Supplements: (%{name} and fish)
BuildArch: noarch
%description fish-completion
Fish command line completion support for %{name}.
%package zsh-completion
Summary: Zsh Completion for %{name}
Requires: %{name}
Requires: zsh
Supplements: (%{name} and zsh)
BuildArch: noarch
%description zsh-completion
Zsh command line completion support for %{name}.
%prep %prep
%autosetup -a 1 %autosetup -a 1
@@ -50,13 +85,37 @@ go build \
-buildmode=pie \ -buildmode=pie \
./cmd/%{shortname} ./cmd/%{shortname}
# generated via CLI--there are a number of manpages all suffixed as .7
./%{shortname} man --generate --output .
gzip %{shortname}*.7
for sh in bash zsh fish
do
./%{shortname} completion $sh > %{shortname}.${sh}
done
%install %install
# Install the binary. # Install the binary.
install -D -m 0755 %{shortname} "%{buildroot}/%{_bindir}/%{shortname}" install -D -m 0755 %{shortname} "%{buildroot}/%{_bindir}/%{shortname}"
install -D -m 0644 -t "%{buildroot}/%{_mandir}/man7/" %{shortname}*.7.gz
install -Dm644 %{shortname}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{shortname}
install -Dm644 %{shortname}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{shortname}
install -Dm644 %{shortname}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{shortname}.fish
%files %files
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{_bindir}/%{shortname} %{_bindir}/%{shortname}
%{_mandir}/man7/%{shortname}*.7.gz
%files bash-completion
%{_datadir}/bash-completion/completions/%{shortname}
%files fish-completion
%{_datadir}/fish/vendor_completions.d/%{shortname}.fish
%files zsh-completion
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_%{shortname}
%changelog %changelog

View File

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

3
vendor.tar.zst Normal file
View File

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