SHA256
1
0
forked from pool/jira-cli

Accepting request 986935 from home:jfkw:branches:devel:languages:go

- Initial package version 1.0.0:

OBS-URL: https://build.opensuse.org/request/show/986935
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/jira-cli?expand=0&rev=1
This commit is contained in:
Jeff Kowalczyk 2022-07-06 02:34:26 +00:00 committed by Git OBS Bridge
commit e14823c4ad
8 changed files with 191 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

20
_service Normal file
View File

@ -0,0 +1,20 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/ankitpokhrel/jira-cli.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v1.0.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">jira-cli</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="disabled">
</service>
</services>

4
_servicedata Normal file
View File

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

3
jira-cli-1.0.0.tar.gz Normal file
View File

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

73
jira-cli.changes Normal file
View File

@ -0,0 +1,73 @@
-------------------------------------------------------------------
Wed Jul 06 01:23:51 UTC 2022 - jkowalczyk@suse.com
- Initial package version 1.0.0:
* fix: Use md ext to trigger syntax highlighting (#400)
* dep: Upgrade cobra to 1.5 and viper to 1.12 (#399)
* dep: Upgrade AlecAivazis/survey + sync editor ext (#398)
* dep: Upgrade tview, tcell and testify (#397)
* ci: Fix/refactor workflow (#396)
* feat: Allow project filter in raw jql (#395)
* fix: Editing issue with custom field in non interactive mode (#391)
* ci: Upgrade golangci linter version (#394)
* ci: Add workflow to publish docker image to ghcr (#392)
* Add a Dockerfile (#387)
* fix: Subtask clone (#383)
* feat: Show subtasks in issue view (#382)
* feat: Jira init non-interactive (#381)
* fix: Issue with query param in user assignment (#380)
* doc: Change some wordings
* doc: Update contribution notice
* feat: Support custom fields on issue edit (#377)
* chore: Bump copyright year
* doc: Minor updates
* feat: Allow removing fixVersions on edit (#376)
* feat: Allow removing component on edit (#374)
* dep: Upgrade cobra to 1.4.0 (#373)
* fix: Support creating issues with custom subtask type (#372)
* feat: Allow removing labels on edit (#371)
* fix!: Append components on edit instead of overriding (#368)
* feat: Allow to edit release-info/fixVersions (#365)
* feat: Allow to set custom fields on epic create (#364)
* chore: Minor refactoring and doc update
* fix: Add additional check for total boards returned (#360)
* feat: Add issues unlink command (#347)
* fix!: Replace limit flag with paginate (#359)
* doc: Update some details related to API tokens
* feat: Add support for OS keyrings/-chains (#348)
* fix: Assign parent key as is on edit (#351)
* fix: OOM bug on issue view (#350)
* fix: Issue with assigning user (#321)
* doc: Add details for custom flag
* feat: Support custom fields on issue create (#319)
* ci: Upgrade linter
* feat: Ability to delete issue (#336)
* chore: Improve docs
* chore: Minor refactoring and fixes (#335)
* feat: Initial support for netrc (#329)
* feat: Support refresh for issues list (#325)
* fix: Panic on empty sub-list (#330)
* chore: Minor refactoring and fixes (#328)
* feat: Support auth with personal access tokens (#327)
* doc: Clarify help for sprint issues column flag (#320)
* fix: Jira wiki parser (#326)
* feat: Add search option for boards on jira init (#322)
* feat: Use md ext for tmp file to trigger syntax highlighting (#318)
* feat!: Append labels instead of overwritting on edit (#300)
* fix: Get subtask handle from config (#296)
* fix: Respect GLAMOUR_STYLE env on issue view (#317)
* refactor!: Move boards and project list to subcommand (#314)
* dep: Upgrade outdated packages (#311)
* dep: Upgrade rivo/tview to latest (#310)
* dep: Upgrade charmbracelet/glamour to 0.5.0 (#309)
* feat: Add --no-browser option to open cmd (#308)
* feat: Allow insecure TLS (#305)
* fix: Jira client should respect timeout opt (#304)
* chore: Change the logo color to be white for consitency (#299)
* doc: Add backers badge
* dev: Upgrade jira
* fix(cfg): Strip trailing slash on server name (#295)
* feat: Allow to set fixVersions on issue creation (#276)
* fix: Config generation issue (#275)
* doc: Add the FreeBSD and NetBSD badge. (#270)
* dev: Fix Makefile compatiblity with Make 3.81 (#252)

64
jira-cli.spec Normal file
View File

@ -0,0 +1,64 @@
#
# spec file for package jira-cli
#
# Copyright (c) 2022 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/
#
# nodebuginfo
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: jira-cli
Version: 1.0.0
Release: 0
Summary: CLI tool for Atlassian JIRA inspired by the Github CLI tool
License: MIT
Group: Development/Tools/Other
URL: https://github.com/ankitpokhrel/jira-cli
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang(API) >= 1.18
%define shortname jira
%description
JiraCLI is an interactive command line tool for Atlassian Jira that will help
you avoid Jira UI to some extent. This tool is not yet considered complete but
has all the essential features required to improve your workflow with Jira. The
tool started with the idea of making issue search and navigation as
straightforward as possible. The tool now includes all necessary features like
issue creation, cloning, linking, ticket transition, and much more. The TUI is
heavily inspired by the GitHub CLI.
%prep
%autosetup -a 1
%build
# Build the binary.
go build \
-mod=vendor \
-tags extended \
-buildmode=pie \
./cmd/%{shortname}
%install
# Install the binary.
install -D -m 0755 %{shortname} "%{buildroot}/%{_bindir}/%{shortname}"
%files
%doc README.md
%license LICENSE
%{_bindir}/%{shortname}
%changelog

3
vendor.tar.gz Normal file
View File

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