From e14823c4adbe963108f68dedcfcac234f2aefb90716d1b6d4e7891cc95af7759 Mon Sep 17 00:00:00 2001 From: Jeff Kowalczyk Date: Wed, 6 Jul 2022 02:34:26 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + _service | 20 ++++++++++++ _servicedata | 4 +++ jira-cli-1.0.0.tar.gz | 3 ++ jira-cli.changes | 73 +++++++++++++++++++++++++++++++++++++++++++ jira-cli.spec | 64 +++++++++++++++++++++++++++++++++++++ vendor.tar.gz | 3 ++ 8 files changed, 191 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 jira-cli-1.0.0.tar.gz create mode 100644 jira-cli.changes create mode 100644 jira-cli.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..7ed757a --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/ankitpokhrel/jira-cli.git + git + .git + v1.0.0 + @PARENT_TAG@ + enable + v(.*) + + + jira-cli + + + *.tar + gz + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..6d70a84 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/ankitpokhrel/jira-cli.git + e94433858ee31e16d4b41c14032864f3c5361115 \ No newline at end of file diff --git a/jira-cli-1.0.0.tar.gz b/jira-cli-1.0.0.tar.gz new file mode 100644 index 0000000..87a3bef --- /dev/null +++ b/jira-cli-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a35d85e577278ff989a14fddcb8b5aa2280dcefa64cbf51e975c9745e03bc9e1 +size 53634453 diff --git a/jira-cli.changes b/jira-cli.changes new file mode 100644 index 0000000..16a0262 --- /dev/null +++ b/jira-cli.changes @@ -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) diff --git a/jira-cli.spec b/jira-cli.spec new file mode 100644 index 0000000..a08a4ae --- /dev/null +++ b/jira-cli.spec @@ -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 diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..d636547 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48e409a73f4d898697c25278daccdc078b78a5849a1464395754eb1d75cedb93 +size 6548209