Michael Muré
aa0449a3ea
Merge remote-tracking branch 'origin/master' into dag-entity
2021-03-29 11:02:08 +02:00
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
Michael Muré
22cc4cc043
Merge pull request #568 from vmiklos/search-metadata
...
Add ability to search by arbitrary metadata
2021-02-27 20:39:27 +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
Michael Muré
10a259b682
doc: cleanup query documentation
2021-02-20 13:24:28 +01:00
Michael Muré
d0d7be8db0
minor cleanups
2021-02-14 12:19:51 +01:00
vince
d96284da64
Change the comment ID to use both bug and comment ID references.
...
Add comment edit command
This commit adds the comment edit command, which provides a CLI tool that allows a user to edit a comment.
2021-02-14 12:17:48 +01:00
Michael Muré
ab57d74a31
deal with the previous changes
2021-02-14 12:17:47 +01:00
Michael Muré
4ef2c11040
repo: finish RepoStorage move
2020-12-08 13:07:51 +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é
7f87eb8602
doc: generate concurrently
2020-09-27 21:30:50 +02: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é
c448cf8cd3
typos and minor readme fix
2020-07-15 11:57:42 +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
Michael Muré
6352d6aa23
generate docs and completion concurrently for a faster "make"
2020-06-14 22:26:47 +02:00
Wes Turner
25d633d5b0
DOC: commands/root.go: syntax
2020-05-01 00:36:01 +02:00
Michael Muré
e4f501c010
github-howto: change title
2020-03-01 17:17:38 +01:00
Michael Muré
f82ad38671
howto: link to other ressources
2020-03-01 14:45:39 +01:00
Michael Muré
8365c6334e
doc: refresh the github howto
2020-03-01 12:50:22 +01:00
Michael Muré
710d85664e
doc: fix typos
2020-03-01 12:47:47 +01:00
Michael Muré
19f3c21428
add a how-to to explain usage with Github
2020-03-01 12:47:47 +01:00
Michael Muré
4559af5e71
update auto-generated files
2020-02-23 14:38:02 +01:00
Michael Muré
4ec4f45195
update auto-generated files
2020-02-23 14:24:15 +01:00
Michael Muré
432a816dde
Merge remote-tracking branch 'origin/master' into cheshirekow-jira
2020-02-15 03:07:45 +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é
b3d3612393
Merge remote-tracking branch 'origin/master' into cheshirekow-jira
2020-02-09 20:23:38 +01:00
Michael Muré
646fd681ff
it compiles \o/
2020-02-08 17:19:57 +01:00
Josh Bialkowski
dca85b309a
repair after rebase
2019-12-18 12:18:47 -08:00
Josh Bialkowski
4e64c834e2
codereview #5 : reverse-map and ImportWarning
...
* Fix git config reader can't read values with spaces
* Add bug-id-revmap config option for the reverse map, and use this
in the importer
* Add NewImportWarning for things that aren't exactly errors.
Use this for unhandled changelog events.
* Add NewExportWarning for things that aren't exactly errors.
Use this for un-exportable status changes.
* Strip newlines from titles on import
2019-12-18 07:42:16 -08:00
Josh Bialkowski
cd889572f7
codereview #2 : some cleanup, correct use of nothing-events
...
* return error, don't panic
* skipping status export is an error
* use switch in config.go
* move PromptPassword to input
* move client construction into getIdentityClient
* use non-pointer context throughout client since it is an interface
* remove some TODOs
* don't emit multiple nothing-events, just one per bug only if nothing
happened.
* rename EditBody to EditCreateComment
* add configuration notes about additional values
* store bug id map in a dictionary in the config
* some fixes from testing
2019-12-18 07:42:16 -08:00
Josh Bialkowski
eff830bdcb
Implement jira bridge
2019-12-18 07:42:13 -08: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