Commit Graph

164 Commits

Author SHA1 Message Date
Michael Muré
8d11e620a3
webui: add a flag to log handling errors 2022-08-23 15:09:31 +02:00
Michael Muré
8818d091e8
move bug.Status in entities/common for reuse 2022-08-20 10:52:11 +02:00
Steve Moyer
d3f2fb0d18
docs(847): add compact to docs and bash for ls command's format flag 2022-08-16 08:01:17 -04:00
Michael Muré
2ade8fb1d5
doc: more tiny fixes 2022-06-25 12:49:50 +02:00
Michael Muré
c6be058871
doc: more tiny fixes 2022-06-25 12:44:42 +02:00
Michael Muré
b43a447ab6
doc: tiny tweaks 2022-06-25 12:20:32 +02:00
Michael Muré
1c219f6769 doc: more discoverable docs 2022-05-31 20:18:18 +02:00
Robin Vobruba
75ca2ce7da model: Multiple, minor readability and language improvements 2022-05-04 12:19:50 +02:00
Robin Vobruba
9b871c6114 model: Removes now outdated statement about ops and root 2022-05-04 12:18:50 +02:00
Robin Vobruba
00fb4bc098 model: Highlight some words with special meaning 2022-05-04 12:16:40 +02:00
Robin Vobruba
e652eb6f5b model: Links to a section further down 2022-05-04 12:11:43 +02:00
Robin Vobruba
2a0331e2dd model: Moves example description after the example 2022-05-04 12:11:11 +02:00
Robin Vobruba
543e7b78f5 model: Adds link explaining nounce (wikipedia) 2022-05-04 12:03:49 +02:00
Robin Vobruba
33c670271c model: strict Markdown requires empty lines before (and after) lists 2022-05-04 12:01:22 +02:00
Michael Muré
d0e65d5a1e doc: add missing file 2022-03-22 21:31:44 +01:00
Michael Muré
c9cec5b17b update doc 2022-03-22 21:28:10 +01:00
Michael Muré
b11679bc80 Fix a bunch of comments and documentations 2022-03-10 16:30:27 +01:00
Michael Muré
9ed515fd54 update gqlgen 2022-02-15 19:57:26 +01:00
Sascha
1939949fcd
CLI: Add non-interactive option to interactive commands (#651)
* Add option to skip the AvatarURL input request

Using an empty string for the avatar cli flag e.g. `git-bug user create
-a ""` will still result in a prompt. As the avatar URL is an optional
option, it should be possible to skip asking for it entirely.
Otherwise automated user creation via a script must make use of pipe hacks.

* Add global --non-interactive cmdline option

* Replace --skipAvatar for --non-interactive option

* Cmd BugAdd: respect non-interactive option

* Cmd bridge configure: respect non-interactive opt

* Cmd CommentAdd: respect non-interactive option

* Cmd CommentEdit: respect non-interactive option

* Cmd TermUI: respect non-interactive option

* Cmd TitleEdit: respect non-interactive option

* Remove global non-interactive option

* Cmd UserCreate: Use local non-interactive option

* Cmd BugAdd: Use local non-interactive option

* Cmd BridgeConfigure: Use local non-interactive option

* Cmd CommentAdd: Use local non-interactive option

* Cmd CommentEdit: Use local non-interactive option

* Cmd TermUI: Drop non-interactive option

It should be obviouse that the termui is an interactive command.

* Cmd TitleEdit: Use local non-interactive option

* Update docs

* Bridge GitHub: respect non-interactive option

* Bridge GitLab: respect non-interactive option

* Bridge Jira: respect non-interactive and token opt

* Fix failing compilation

* Bridge launchpad: respect non-interactive option

* bridge: isNonInteractive --> interactive

Co-authored-by: Michael Muré <batolettre@gmail.com>
2021-05-09 11:14:45 +02:00
Hariharan
bc96f316ff
CLI - allow user create without prompt (#650)
* CLI - allow user create without prompt. Fixes #577

* Update commands/user_create.go email message

Co-authored-by: Michael Muré <batolettre@gmail.com>

* Update docs

Co-authored-by: Michael Muré <batolettre@gmail.com>
2021-04-25 16:46:36 +02:00
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