Commit Graph

1954 Commits

Author SHA1 Message Date
Michael Muré
b9991d84b9
ls: fix incorrect query parsing with quotes escaped by the shell 2022-05-01 12:31:50 +02:00
TsT
edc8b7589d
misc: fix bash completion with "git bug" 2022-05-01 10:54:13 +02:00
Michael Muré
f25690db47
completion: use the correct GenBashCompletionV2 instead of the legacy function 2022-05-01 10:54:13 +02:00
Johannes Altmanninger
bc6ba02bd8
Add command-specific argument completions
Complete bug IDs, bridges, users, labels where appropriate.

This works in bash and fish. ZSH is not yet supported by Cobra.
In fish, descriptions (the part of a completion after the "\t") are shown
as completion label, and can be searched with Ctrl+S.

Reproduce with

	fish -C 'source misc/fish_completion/git-bug'
	git bug select ^I

(tested with fish version 3.3.1)

Also works with bash, but only for "git-bug" (with the dash)

	bash --rcfile <(echo source misc/bash_completion/git-bug)
	git-bug select ^I

Closes #493
2022-05-01 10:54:13 +02:00
Michael Muré
8ee333582f a few fixes 2022-04-26 19:36:46 +02:00
dependabot[bot]
5354b08211
build(deps): bump github.com/xanzy/go-gitlab from 0.59.0 to 0.64.0
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.59.0 to 0.64.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.59.0...v0.64.0)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 04:11:38 +00:00
Michael Muré
a00f1a9897
Merge pull request #773 from gaelj/fix-gitlab-pat-format
Allow new gitlab PAT format
2022-04-19 21:53:52 +02:00
Michael Muré
b8a799a97d
Merge pull request #767 from MichaelMure/single-author
bug: don't serialize multiple time the author, only once in OperationPack
2022-04-19 21:47:15 +02:00
Gaël James
09037baa7c Allow new gitlab PAT format 2022-03-31 09:57:50 +02:00
Michael Muré
450d7f7ade entity/dag: add an extensive example 2022-03-22 21:34:55 +01:00
Michael Muré
d0e65d5a1e doc: add missing file 2022-03-22 21:31:44 +01:00
Michael Muré
14e3d0a8a0
Merge pull request #670 from MichaelMure/update-doc
update doc
2022-03-22 21:30:00 +01:00
Michael Muré
c9cec5b17b update doc 2022-03-22 21:28:10 +01:00
dependabot[bot]
5f9359ed6a
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 04:11:19 +00:00
Michael Muré
c5b70d8d94 bug: don't serialize multiple time the author, only once in OperationPack 2022-03-15 22:01:10 +01:00
Michael Muré
cac20c8c4d
Merge pull request #766 from MichaelMure/jira-fix
jira: fix incorrect client creation reusing the same credential
2022-03-10 18:51:32 +01:00
Michael Muré
6f11282451 jira: fix incorrect client creation reusing the same credential 2022-03-10 18:41:54 +01:00
Michael Muré
1d12021ca0
Merge pull request #764 from MichaelMure/update-cobra
update cobra to v1.4.0
2022-03-10 18:38:54 +01:00
Michael Muré
61c3f04843 update cobra to v1.4.0 2022-03-10 18:04:46 +01:00
Michael Muré
09ce0e1297
Merge pull request #754 from MichaelMure/dependabot/go_modules/github.com/99designs/gqlgen-0.17.1
Bump github.com/99designs/gqlgen from 0.16.0 to 0.17.1
2022-03-10 18:03:24 +01:00
dependabot[bot]
032d71ae77
Bump github.com/99designs/gqlgen from 0.16.0 to 0.17.1
Bumps [github.com/99designs/gqlgen](https://github.com/99designs/gqlgen) from 0.16.0 to 0.17.1.
- [Release notes](https://github.com/99designs/gqlgen/releases)
- [Changelog](https://github.com/99designs/gqlgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/99designs/gqlgen/compare/v0.16.0...v0.17.1)

---
updated-dependencies:
- dependency-name: github.com/99designs/gqlgen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 16:55:55 +00:00
Michael Muré
3431231db0
Merge pull request #765 from MichaelMure/update-go
build: require go 1.16
2022-03-10 17:54:58 +01:00
Michael Muré
8e45eddbb5 build: require go 1.16
This is needed for a gqlgen update
2022-03-10 17:45:29 +01:00
Michael Muré
4eb56213e6
Merge pull request #756 from MichaelMure/dependabot/go_modules/github.com/vektah/gqlparser/v2-2.4.1
Bump github.com/vektah/gqlparser/v2 from 2.4.0 to 2.4.1
2022-03-10 17:32:34 +01:00
Michael Muré
c0d5d958fa
Merge pull request #758 from MichaelMure/dependabot/go_modules/github.com/99designs/keyring-1.2.1
build(deps): bump github.com/99designs/keyring from 1.2.0 to 1.2.1
2022-03-10 17:32:06 +01:00
Michael Muré
069a4c975f
Merge pull request #763 from MichaelMure/resolve-entity
entity: allow to resolve identities when numashalling operations
2022-03-10 16:56:46 +01:00
dependabot[bot]
fc4536aa5c
build(deps): bump github.com/99designs/keyring from 1.2.0 to 1.2.1
Bumps [github.com/99designs/keyring](https://github.com/99designs/keyring) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/99designs/keyring/releases)
- [Commits](https://github.com/99designs/keyring/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/99designs/keyring
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 15:41:17 +00:00
dependabot[bot]
f183613dd2
Bump github.com/vektah/gqlparser/v2 from 2.4.0 to 2.4.1
Bumps [github.com/vektah/gqlparser/v2](https://github.com/vektah/gqlparser) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/vektah/gqlparser/releases)
- [Commits](https://github.com/vektah/gqlparser/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: github.com/vektah/gqlparser/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 15:40:27 +00:00
Michael Muré
b1fc312aac
Merge pull request #761 from MichaelMure/dependabot/go_modules/github.com/xanzy/go-gitlab-0.59.0
build(deps): bump github.com/xanzy/go-gitlab from 0.57.0 to 0.59.0
2022-03-10 16:39:35 +01:00
Michael Muré
bf9c7e00d0
Merge pull request #762 from MichaelMure/fix-comment
Fix a bunch of comments and documentations
2022-03-10 16:37:45 +01:00
Michael Muré
fd14a0763e entity: allow to resolve identities when numashalling operations 2022-03-10 16:37:24 +01:00
Michael Muré
b11679bc80 Fix a bunch of comments and documentations 2022-03-10 16:30:27 +01:00
dependabot[bot]
db7b1908f8
build(deps): bump github.com/xanzy/go-gitlab from 0.57.0 to 0.59.0
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.57.0 to 0.59.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.57.0...v0.59.0)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 04:11:05 +00:00
dependabot[bot]
df55cc49a8
Bump github.com/xanzy/go-gitlab from 0.55.1 to 0.57.0 (#757)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.55.1 to 0.57.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.55.1...v0.57.0)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 05:30:53 +01:00
Michael Muré
2dbe0fd5fc
Merge pull request #750 from MichaelMure/sandhose/webui-upgrade
Upgrade webui dependencies
2022-03-01 20:57:43 +01:00
Michael Muré
8229e80d1e webui: fix dark theme colors 2022-03-01 20:46:51 +01:00
Michael Muré
4af26663c1 webui: fix compile 2022-03-01 20:46:35 +01:00
Michael Muré
03ad448c9f CI: update nodejs 2022-03-01 20:26:41 +01:00
Michael Muré
08e00b4eb8
Merge pull request #752 from MichaelMure/dependabot/go_modules/github.com/vektah/gqlparser/v2-2.4.0
Bump github.com/vektah/gqlparser/v2 from 2.2.0 to 2.4.0
2022-03-01 19:52:02 +01:00
dependabot[bot]
25ff01b3cf
Bump github.com/vektah/gqlparser/v2 from 2.2.0 to 2.4.0
Bumps [github.com/vektah/gqlparser/v2](https://github.com/vektah/gqlparser) from 2.2.0 to 2.4.0.
- [Release notes](https://github.com/vektah/gqlparser/releases)
- [Commits](https://github.com/vektah/gqlparser/compare/v2.2.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/vektah/gqlparser/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 04:13:37 +00:00
Quentin Gliech
5f35db2275
webui: replace GraphQL linter 2022-02-22 21:59:18 +01:00
Quentin Gliech
fd17d6dd1f
webui: upgrade Material UI 2022-02-22 21:50:14 +01:00
Quentin Gliech
b0eb041e57
webui: upgrade react-router 2022-02-22 20:38:32 +01:00
Michael Muré
b2f0e126a1
Merge pull request #745 from MichaelMure/dependabot/go_modules/github.com/xanzy/go-gitlab-0.55.1
Bump github.com/xanzy/go-gitlab from 0.54.3 to 0.55.1
2022-02-22 18:53:55 +01:00
Quentin Gliech
bce4d095e1
webui: replace React imports 2022-02-16 10:32:20 +01:00
Quentin Gliech
ce50269639
webui: upgrade most dependencies
Also reformat everything with prettier
2022-02-16 10:27:26 +01:00
Quentin Gliech
11d51bee9e
webui: upgrade graphql-codegen dependencies 2022-02-16 09:44:07 +01:00
dependabot[bot]
bcd6d5bef4
Bump github.com/xanzy/go-gitlab from 0.54.3 to 0.55.1
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.54.3 to 0.55.1.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.54.3...v0.55.1)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 20:55:31 +00:00
Michael Muré
5ecfcb0e6e update gocui 2022-02-15 21:52:36 +01:00
Michael Muré
44f61b6677 update keyring and migrate to github.com/ProtonMail/go-crypto 2022-02-15 21:35:49 +01:00