Michael Muré
3a819525d7
commands: minor fixes for the webui open with query
...
- go fmt
- add a shorthand
- fix displayed webUI URL in the terminal
2021-03-07 21:44:48 +01:00
Miklos Vajna
626ec9835b
webui: allow specifying the initial query
...
Example use-case: given a github URL in a source code comment or commit
message, one can now run:
git bug webui --query 'metadata:github-url:"https://github.com/author/myproject/issues/42 "'
on the commandline to look up the details of that issue on the web ui
quickly, offline.
Fixes <https://github.com/MichaelMure/git-bug/issues/592 >.
2021-03-07 14:11:04 +01:00
Sascha
ea329aed69
Add option to specify host address
...
'--host'-cmdline-option is added to the webui command.
Previously, the WebUI couldn't be hosted inside of a container. As the
WebUI-server only listend per default to localhost and there was no
option to change the address, the server should listend to. This means,
that the WebUI was only reachable from localhost. So only from inside of
the container but never from outside.
The '--host'-option allows to set the IP address or a hostname
which the WebUI-server should listen to. E.g. by setting 0.0.0.0 or ::
as address.
Update documentation for new option.
Update shell completion for new option.
Compilation seems to add another go-gitlab version.
2021-02-28 21:20:15 +01:00
Miklos Vajna
cb61245078
Add ability to search by arbitrary metadata
...
Example:
~/git/git-bug/git-bug ls --metadata github-url=https://github.com/author/myproject/issues/42
or
~/git/git-bug/git-bug ls metadata:github-url:\"https://github.com/author/myproject/issues/42 \"
Fixes the cmdline part of <https://github.com/MichaelMure/git-bug/issues/567 >.
2021-02-21 14:15:50 +01:00
Mike Goldin
ee3841155e
Update docs for full text search
2020-11-17 08:32:19 -05:00
6543
86faedc966
Vendor: upgrade spf13/cobra to v1.1.1 ( #479 )
...
* build(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.1
* update doc (man & md)
* update bash|fish|zsh completion
2020-10-27 14:38:55 +01:00
Michael Muré
ae5c0967ce
commands: cleanup the command's usage to avoid warnings when generating the doc
2020-07-28 20:24:24 +02:00
Michael Muré
26bd1dd110
commands: refactor to avoid globals
2020-06-28 18:26:29 +02:00
Luke Granger-Brown
4a28f25347
Add support for read-only mode for web UI.
...
Fixes #402 .
2020-06-27 22:56:10 +02:00
Michael Muré
1d06244c82
cmds: cleanup and re-generate files
2020-06-24 15:10:57 +02:00
Vincent Tiu
f790083fb2
Merge pull request #403 from MichaelMure/ls-dump
...
[ls] add support for different output formats
2020-06-18 20:37:00 +08:00
Martin Michlmayr
ff0ff86336
doc: fix typos
2020-06-16 21:32:03 +08:00
vince
de5565b5f9
ls: Add support to ls dump bug information in specific formats
...
This adds an optional flag to the ls command that allows users to specify the format they wish to dump the output as. Currently, supported parameters are 'default', 'plain' and 'json'.
2020-06-16 15:05:48 +02:00
Wes Turner
25d633d5b0
DOC: commands/root.go: syntax
2020-05-01 00:36:01 +02:00
Michael Muré
4ec4f45195
update auto-generated files
2020-02-23 14:24:15 +01:00
Michael Muré
fe3d5c95e4
bridges: massive refactor
...
- automatic flag validation and warning
- generalized prompt
- cleanups
2020-02-15 02:55:19 +01:00
Michael Muré
646fd681ff
it compiles \o/
2020-02-08 17:19:57 +01:00
amine
f6b4830c0b
bridge/gitlab: support self-hosted GitLab instance
2019-12-10 21:05:55 +01:00
Michael Muré
b92adfcb5f
bridge: huge refactor to accept multiple kind of credentials
2019-12-08 21:28:27 +01:00
Michael Muré
afe69d0c93
github: tiny cleanups of the configurator
2019-11-26 19:46:50 +01:00
Michael Muré
e0b15ee764
cli: rename "token" into "auth"
2019-11-10 17:33:44 +01:00
Michael Muré
f8cf3fea03
cli: add bridge token show
2019-11-10 15:50:56 +01:00
Michael Muré
e2445edcb9
bridge: various improvement on the global token PR
2019-11-10 14:53:40 +01:00
amine
45653bd31d
token: regenerate documentation and fix imports
2019-11-09 14:55:27 +01:00
amine
baefa687b5
tokens: use a hash as token identifier instead of the token it self
2019-11-09 13:26:52 +01:00
Michael Muré
3984919a3d
bridge: various cleanups
2019-11-09 13:26:48 +01:00
Michael Muré
57e23c8ada
bridge: improvement on the import resume feature
2019-11-03 17:23:05 +01:00
amine
614bc5a2c5
commands: support bridge imports after a given date and resumable imports
2019-11-03 17:21:27 +01:00
Amine Hilaly
c5824ff1b4
doc/man: update generated documentations
2019-08-31 23:02:20 +02:00
Amine Hilaly
77e60aceea
commands: add bridge configure completion scripts
2019-08-31 23:02:20 +02:00
Amine Hilaly
54dd81e337
bridge: update generated docs
2019-07-23 17:18:04 +02:00
Amine Hilaly
e511f3d885
[misc] update man docs and completion scripts
...
[cache] BugCache: Fix set metadata raw
[bridge/github] Fix graphql input objects
2019-06-24 21:30:45 +02:00
Michael Muré
b64587f87a
misc: generate PowerShell command completion
2019-06-23 14:33:02 +02:00
Amine Hilaly
8d6bdb6507
rename GITHUB_TOKEN to GITHUB_PRIVATE_TOKEN
2019-06-07 01:43:48 +02:00
Amine Hilaly
d064a7127e
Update man pages and bash_completion
2019-05-29 22:58:01 +02:00
Michael Muré
8bfc65df6c
commands: add flags/config to control the automatic opening in the default browser
2019-05-27 21:47:26 +02:00
Michael Muré
5eeeae7cdf
commands: fix ls not displaying the new Identities properly
2019-04-11 20:04:44 +02:00
Michael Muré
5b0a92dea4
commands: add a --field flag to "git bug user" to display users details individually
2019-04-03 21:33:53 +02:00
Michael Muré
96d356a34d
commands: add "show --field humanId"
2019-04-03 21:33:04 +02:00
Michael Muré
ffc6cbdc45
regenerate md and man files
2019-03-27 21:46:57 +01:00
Michael Muré
408654514e
cache: make the title filter case insensitive
2019-03-03 15:23:20 +01:00
Michael Muré
c235d89d36
commands: show the last modification time in "user"
2019-03-01 22:52:54 +01:00
Michael Muré
2fd5f71b59
commands: add a "." at the end of Short commands usage
2019-03-01 22:52:52 +01:00
Michael Muré
304a334930
commands: add a "user adopt" command to use an existing identity
2019-03-01 22:48:51 +01:00
Michael Muré
7a80d8f849
commands: add a super-fast "user ls" command
2019-03-01 22:48:51 +01:00
Michael Muré
864eae0d6b
identity: work on higher level now, cache, first two identity commands
2019-03-01 22:40:25 +01:00
Michael Muré
d2483d83dd
identity: I can compile again !!
2019-03-01 22:40:24 +01:00
Michael Muré
844616baf8
identity: more progress and fixes
2019-03-01 22:40:21 +01:00
Michael Muré
5e4a656f85
Merge pull request #97 from sladyn98/ls_id_branch
...
A command to list matching bug id from a prefix
2019-02-25 20:18:15 +01:00
Michael Muré
59ea2e018e
add a "version" command with various outputs, including the git hash and tag
2019-02-20 21:56:33 +01:00