Accepting request 1012052 from home:mcepl
I think it could be very useful package. Distributed git-based issue tracker (with gateways!). OBS-URL: https://build.opensuse.org/request/show/1012052 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/git-bug?expand=0&rev=1
This commit is contained in:
commit
1383e5bfac
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
|
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="versionprefix">0.7.2+git</param>
|
||||
<param name="url">https://github.com/MichaelMure/git-bug.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git*</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="changesauthor">mcepl@cepl.eu</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">git-bug</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="disabled">
|
||||
</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/MichaelMure/git-bug.git</param>
|
||||
<param name="changesrevision">0eef93917d1c3b1f6e346ab272a51340acafe21a</param></service></servicedata>
|
3
git-bug-0.7.2+git.1665512451.0eef939.tar.gz
Normal file
3
git-bug-0.7.2+git.1665512451.0eef939.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c4b69d37b0c85f2407b65d3d476a275bafcaa3685f721a132b4b4ef38fcf333
|
||||
size 2439855
|
180
git-bug.changes
Normal file
180
git-bug.changes
Normal file
@ -0,0 +1,180 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 17 06:44:01 UTC 2022 - mcepl@cepl.eu
|
||||
|
||||
- Update to version 0.7.2+git.1665512451.0eef939:
|
||||
* makefile: better PHONY
|
||||
* webui: put react-scripts and typescript as dev-dependency
|
||||
* webui: update most of dependencies
|
||||
* build(deps): bump github.com/99designs/gqlgen from 0.17.17 to 0.17.20
|
||||
* fix: process unused (but assigned) error
|
||||
* fix(884): scan PRs for insecure practices
|
||||
* feat(530) make label commands consistent
|
||||
* test(863): fix test for full id instead of "human"
|
||||
* refactor(git-bug-863): merge ls-id into ls
|
||||
* build(deps): bump github.com/praetorian-inc/gokart from 0.4.0 to 0.5.1
|
||||
* build(deps): bump github.com/99designs/gqlgen from 0.17.13 to 0.17.17
|
||||
* fix: correct name for one of the security phonies
|
||||
* feat: run security checks during Go workflow
|
||||
* feat: add recipes for security analysis
|
||||
* fix: hide tools versioning behind build tags
|
||||
* feat: add security tools
|
||||
* feat: version tools using Go module system
|
||||
* generalized interface for an Entity
|
||||
* dag: test op serialisation with the unmarshaller, to allow resolving entities
|
||||
* fix(850): normalize Windows line endings -> *nix (golden files)
|
||||
* fix(850): normalize Windows line endings -> *nix
|
||||
* fix(850): merge in CombinedId from 664
|
||||
* webui: add a flag to log handling errors
|
||||
* build(deps): bump github.com/xanzy/go-gitlab from 0.72.0 to 0.73.1
|
||||
* webui: adapt to CombinedId
|
||||
* bug: have a type for combined ids, fix https://github.com/MichaelMure/git-bug/issues/653
|
||||
* build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0
|
||||
* build(deps): bump github.com/xanzy/go-gitlab from 0.68.0 to 0.72.0
|
||||
* move bug.Status in entities/common for reuse
|
||||
* fix(850): remove obsolete test logging
|
||||
* tests(850): add tests for comment ls, add and edit
|
||||
* move {bug,identity} to /entities, move input to /commands
|
||||
* remove file that shouldn't be there
|
||||
* core: generalized resolvers to resolve any entity time when unmarshalling an operation
|
||||
* fix(836): revert to older test harness
|
||||
* feat(836): updates default ls formatter for TSV output
|
||||
* docs(847): add compact to docs and bash for ls command's format flag
|
||||
* build(deps): bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16
|
||||
* build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.8.0
|
||||
* build: go 1.18 minimum
|
||||
* bug: fix an issue where Id would be used, then changed due to metadata
|
||||
* entity/dag: proper base operation for simplified implementation
|
||||
* doc: more tiny fixes
|
||||
* doc: more tiny fixes
|
||||
* doc: tiny tweaks
|
||||
* test(809): do not export function that returns GoGit filesystem
|
||||
* test(809): remove reliance on repo's filesystem
|
||||
* test: use testing.TB as common interface
|
||||
* test(809): remove remaining calls to InitGoRepo in tests
|
||||
* refactor(809): eliminate need to defer CleanupTestRepos()
|
||||
* test(778): simplify and guarantee backend cleanup
|
||||
* refactor(778): test only command implementations
|
||||
* chore(808): rearrange imports to git-bug convention
|
||||
* test(808): document getCWD() and clean-up arguments
|
||||
* test(808): skip root help test that uses a golden file
|
||||
* build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2
|
||||
* fix(808): remove duplication stderr/stdout set-up
|
||||
* test(808): make build tag compatible with Go 1.16
|
||||
* test(808): do not run golden file tests on Windows
|
||||
* fix(808): simplify handling of Windows line terminations
|
||||
* chore(808): merge in LocalStorage namespace configuration
|
||||
* fix(808): replace Windows line terminators
|
||||
* github: fix data race when closing event channel
|
||||
* graphql: fix two invalid mutex lock leading to data races
|
||||
* fix(778): remove extra mutex lock when resolving bug prefix
|
||||
* cache: ensure that the default repo has a non-empty name to make js/apollo happy
|
||||
* doc: more discoverable docs
|
||||
* misc: move all completions in a dedicated folder
|
||||
* refactor: simplify creation of temp dir - after 1.15
|
||||
* fix: remove only t.Parallel()
|
||||
* gogit: close index before deleting it on disk
|
||||
* test: clean up temp dir and repo correctly
|
||||
* test(778): execute rm bug in testEnv (hangs)
|
||||
* test(778): execute add user in testEnv and return userID
|
||||
* test(778): clear output after user creation
|
||||
* test(778): verify user create results in an identity and cache
|
||||
* test(778): verify root command returns main help text
|
||||
* test(778): allow alternate CWD via context
|
||||
* test(778): capture stderr and stdout during tests
|
||||
* test: add verification that localStorage.Root() resolves to the correct absolute filepath
|
||||
* refactor: use namespace instead of application of applicationName
|
||||
* chore: clean-up commented code
|
||||
* feat: make local storage configurable
|
||||
* build(deps): bump github.com/xanzy/go-gitlab from 0.64.0 to 0.68.0
|
||||
* model: Multiple, minor readability and language improvements
|
||||
* model: Removes now outdated statement about ops and root
|
||||
* model: Highlight some words with special meaning
|
||||
* model: Links to a section further down
|
||||
* model: Moves example description after the example
|
||||
* model: Adds link explaining nounce (wikipedia)
|
||||
* model: strict Markdown requires empty lines before (and after) lists
|
||||
* completion: lots of small ironing
|
||||
* ls: fix incorrect query parsing with quotes escaped by the shell
|
||||
* misc: fix bash completion with "git bug"
|
||||
* completion: use the correct GenBashCompletionV2 instead of the legacy function
|
||||
* Add command-specific argument completions
|
||||
* a few fixes
|
||||
* build(deps): bump github.com/xanzy/go-gitlab from 0.59.0 to 0.64.0
|
||||
* Allow new gitlab PAT format
|
||||
* entity/dag: add an extensive example
|
||||
* doc: add missing file
|
||||
* update doc
|
||||
* build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
|
||||
* bug: don't serialize multiple time the author, only once in OperationPack
|
||||
* jira: fix incorrect client creation reusing the same credential
|
||||
* update cobra to v1.4.0
|
||||
* Bump github.com/99designs/gqlgen from 0.16.0 to 0.17.1
|
||||
* build: require go 1.16
|
||||
* build(deps): bump github.com/99designs/keyring from 1.2.0 to 1.2.1
|
||||
* Bump github.com/vektah/gqlparser/v2 from 2.4.0 to 2.4.1
|
||||
* entity: allow to resolve identities when numashalling operations
|
||||
* Fix a bunch of comments and documentations
|
||||
* build(deps): bump github.com/xanzy/go-gitlab from 0.57.0 to 0.59.0
|
||||
* Bump github.com/xanzy/go-gitlab from 0.55.1 to 0.57.0 (#757)
|
||||
* webui: fix dark theme colors
|
||||
* webui: fix compile
|
||||
* CI: update nodejs
|
||||
* Bump github.com/vektah/gqlparser/v2 from 2.2.0 to 2.4.0
|
||||
* webui: replace GraphQL linter
|
||||
* webui: upgrade Material UI
|
||||
* webui: upgrade react-router
|
||||
* webui: replace React imports
|
||||
* webui: upgrade most dependencies
|
||||
* webui: upgrade graphql-codegen dependencies
|
||||
* Bump github.com/xanzy/go-gitlab from 0.54.3 to 0.55.1
|
||||
* update gocui
|
||||
* update keyring and migrate to github.com/ProtonMail/go-crypto
|
||||
* update gqlgen
|
||||
* Bump follow-redirects from 1.13.0 to 1.14.7 in /webui (#735)
|
||||
* Bump github.com/xanzy/go-gitlab from 0.54.1 to 0.54.3 (#734)
|
||||
* Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#731)
|
||||
* Bump ws from 5.2.2 to 5.2.3 in /webui (#728)
|
||||
* Bump tmpl from 1.0.4 to 1.0.5 in /webui (#711)
|
||||
* Bump path-parse from 1.0.6 to 1.0.7 in /webui (#701)
|
||||
* Bump url-parse from 1.5.1 to 1.5.3 in /webui (#714)
|
||||
* Bump github.com/xanzy/go-gitlab from 0.50.4 to 0.54.1 (#732)
|
||||
* gitlab: re-enable previously broken test
|
||||
* gitlab: order events on the fly
|
||||
* Fix: github import, some issue titles cause error
|
||||
* Fix: github bridge: push then pull without duplication
|
||||
* Update URL of GitLab access token settings
|
||||
* Fix GitLab showing https:/../personal_access_token
|
||||
* Add scoop installation for Windows
|
||||
* Bump github.com/fatih/color from 1.12.0 to 1.13.0
|
||||
* Command ls: Add compact format
|
||||
* Add some documentation comments
|
||||
* gitlab: Add new iterator with state change events
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 00:38:50 UTC 2021 - mcepl@cepl.eu
|
||||
|
||||
- Update to version 0.7.2+git.1632416688.1eaf3ec0:
|
||||
* Bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14 (#709)
|
||||
* Tests for the github bridge (#706)
|
||||
* feature: Github bridge mutation rate limit (#694)
|
||||
* Add Linter Step (#698)
|
||||
* Bump golang.org/x/text from 0.3.6 to 0.3.7 (#702)
|
||||
* Bump github.com/xanzy/go-gitlab from 0.50.1 to 0.50.4 (#707)
|
||||
* Bump github.com/spf13/cobra from 1.1.3 to 1.2.1 (#695)
|
||||
* Bump github.com/go-git/go-git/v5 from 5.4.1 to 5.4.2 (#689)
|
||||
* Bump github.com/xanzy/go-gitlab from 0.50.0 to 0.50.1 (#693)
|
||||
* Bump dns-packet from 1.3.1 to 1.3.4 in /webui
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 27 17:46:20 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Update to 0.7.2:
|
||||
- fixes a security issue (CVE-2021-28955) where arbitrary
|
||||
malicious code could be executed if someone commit a git
|
||||
executable inside the repository (reproducible only on
|
||||
Windows).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 22 09:52:16 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Initial packaging of 0.7.1
|
114
git-bug.spec
Normal file
114
git-bug.spec
Normal file
@ -0,0 +1,114 @@
|
||||
#
|
||||
# spec file for package git-bug
|
||||
#
|
||||
# Copyright (c) 2021 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: git-bug
|
||||
Version: 0.7.2+git.1665512451.0eef939
|
||||
Release: 0
|
||||
Summary: Distributed, offline-first bug tracker embedded in git, with bridges
|
||||
License: MIT
|
||||
URL: https://github.com/MichaelMure/git-bug
|
||||
# Source0: https://github.com/MichaelMure/%%{name}/archive/refs/tags/v%%{version}.tar.gz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
BuildRequires: golang-packaging
|
||||
|
||||
%description
|
||||
git-bug is a bug tracker that:
|
||||
|
||||
* is fully embedded in git: you only need your git repository to have
|
||||
a bug tracker
|
||||
* is distributed: use your normal git remote to collaborate, push and
|
||||
pull your bugs!
|
||||
* works offline: in a plane or under the sea? Keep reading and
|
||||
writing bugs!
|
||||
* prevents vendor lock-in: your usual service is down or went bad?
|
||||
You already have a full backup.
|
||||
* is fast: listing bugs or opening them is a matter of
|
||||
milliseconds
|
||||
* doesn't pollute your project: no files are added in your
|
||||
project
|
||||
* integrates with your tooling: use the UI you like (CLI,
|
||||
terminal, web) or integrate with your existing tools through
|
||||
the CLI or the GraphQL API
|
||||
* bridges to other bug trackers: use bridges to import and export
|
||||
to other trackers.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash completion for git-bug
|
||||
Requires: bash-completion
|
||||
Supplements: (git-bug and bash)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
Bash shell completions for git-bug
|
||||
|
||||
%package fish-completion
|
||||
Summary: Fish completion for git-bug
|
||||
Requires: fish
|
||||
Supplements: (git-bug and fish)
|
||||
BuildArch: noarch
|
||||
|
||||
%description fish-completion
|
||||
Fish shell completions for git-bug
|
||||
|
||||
%package zsh-completion
|
||||
Summary: ZSH completion for git-bug
|
||||
Group: Productivity/File utilities
|
||||
Supplements: (git-bug and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
zsh shell completions for git-bug
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -a1
|
||||
|
||||
%build
|
||||
go build -v -x -mod=vendor -buildmode=pie
|
||||
|
||||
%install
|
||||
install -Dm755 git-bug %{buildroot}%{_bindir}/git-bug
|
||||
install -Dm644 -t %{buildroot}%{_mandir}/man1/ doc/man/*
|
||||
|
||||
# shell completions
|
||||
install -Dm0644 misc/completion/bash/git-bug \
|
||||
%{buildroot}%{_datadir}/bash-completion/completions/git-bug
|
||||
install -Dm0644 misc/completion/fish/git-bug \
|
||||
%{buildroot}%{_datadir}/fish/vendor_completions.d/git-bug.fish
|
||||
install -Dm0644 misc/completion/zsh/git-bug \
|
||||
%{buildroot}%{_sysconfdir}/zsh_completion.d/git-bug
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_bindir}/git-bug
|
||||
%{_mandir}/man1/git*.1%{?ext_man}
|
||||
%license LICENSE
|
||||
|
||||
%files bash-completion
|
||||
%{_datadir}/bash-completion/completions/git-bug
|
||||
|
||||
%files fish-completion
|
||||
%dir %{_datadir}/fish
|
||||
%dir %{_datadir}/fish/vendor_completions.d
|
||||
%{_datadir}/fish/vendor_completions.d/git-bug.fish
|
||||
|
||||
%files zsh-completion
|
||||
%dir %{_sysconfdir}/zsh_completion.d
|
||||
%config %{_sysconfdir}/zsh_completion.d/git-bug
|
||||
|
||||
%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:35c069a6f18df24d77c0589c0212daca11a17d8ba5da266bae99161562b16451
|
||||
size 6007893
|
Loading…
Reference in New Issue
Block a user