aboutsummaryrefslogtreecommitdiffstats
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* regenerate after cobra updateMichael Muré2023-08-114-38/+131
|
* add more ideas in the feature matrixMichael Muré2023-01-241-0/+1
|
* commands: reorg into different packagesMichael Muré2022-11-202-2/+4
|
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-131-1/+1
|
* webui: add a flag to log handling errorsMichael Muré2022-08-234-74/+143
|
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-182-3/+3
|
* bug: fix an issue where Id would be used, then changed due to metadataMichael Muré2022-07-311-5/+6
|
* Merge pull request #803 from MichaelMure/feat/configurable-local-storageMichael Muré2022-06-061-1/+3
|\ | | | | Feat/configurable local storage
| * refactor: use namespace instead of application of applicationNameSteve Moyer2022-05-261-2/+2
| |
| * feat: make local storage configurableSteve Moyer2022-05-251-1/+3
| |
* | misc: move all completions in a dedicated folderMichael Muré2022-05-315-4/+8
|/
* misc: fix bash completion with "git bug"TsT2022-05-012-5/+76
|
* completion: use the correct GenBashCompletionV2 instead of the legacy functionMichael Muré2022-05-012-1465/+189
|
* Add command-specific argument completionsJohannes Altmanninger2022-05-011-0/+77
| | | | | | | | | | | | | | | | | | | | | | 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
* update gqlgenMichael Muré2022-02-154-139/+178
|
* CLI: Add non-interactive option to interactive commands (#651)Sascha2021-05-091-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* CLI - allow user create without prompt (#650)Hariharan2021-04-251-0/+18
| | | | | | | | | | | * 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>
* Merge remote-tracking branch 'origin/master' into dag-entityMichael Muré2021-03-292-259/+239
|\
| * commands: minor fixes for the webui open with queryMichael Muré2021-03-071-0/+2
| | | | | | | | | | | | - go fmt - add a shorthand - fix displayed webUI URL in the terminal
| * webui: allow specifying the initial queryMiklos Vajna2021-03-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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>.
| * Add option to specify host addressSascha2021-02-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '--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.
| * cmd: better powershell completion, thanks to cobra upgradeMichael Muré2021-02-271-253/+223
| |
| * Add ability to search by arbitrary metadataMiklos Vajna2021-02-212-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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>.
* | bug: migrate to the DAG entity structure!Michael Muré2021-02-141-46/+0
| |
* | Change the comment ID to use both bug and comment ID references.vince2021-02-142-0/+41
| | | | | | | | | | Add comment edit command This commit adds the comment edit command, which provides a CLI tool that allows a user to edit a comment.
* | deal with the previous changesMichael Muré2021-02-142-6/+9
|/
* repo: finish RepoStorage moveMichael Muré2020-12-082-8/+8
|
* Vendor: upgrade spf13/cobra to v1.1.1 (#479)65432020-10-273-527/+342
| | | | | | | * build(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.1 * update doc (man & md) * update bash|fish|zsh completion
* cache,bug,identity: structural changeMichael Muré2020-10-041-3/+3
| | | | | | - bug doesn't commit identities anymore, only make sure they are commit - cache use an IdentityResolver to load bugs with identities from the cache (deps injection) - IdentityCache now are identity.Interface
* use go-git by default!Michael Muré2020-09-291-1/+1
|
* misc: move the random bug command on its own packageMichael Muré2020-09-271-3/+6
|
* doc: generate concurrentlyMichael Muré2020-09-271-2/+1
|
* commands: cleanup the command's usage to avoid warnings when generating the docMichael Muré2020-07-284-11/+48
|
* commands: refactor to avoid globalsMichael Muré2020-06-281-4/+4
|
* Add support for read-only mode for web UI.Luke Granger-Brown2020-06-273-1/+5
| | | | Fixes #402.
* repo: more testsMichael Muré2020-06-271-1/+2
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-261-3/+1
| | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* cmds: cleanup and re-generate filesMichael Muré2020-06-243-9/+21
|
* Merge pull request #403 from MichaelMure/ls-dumpVincent Tiu2020-06-183-1/+8
|\ | | | | [ls] add support for different output formats
| * ls: Add support to ls dump bug information in specific formatsvince2020-06-163-1/+8
| | | | | | | | 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'.
* | doc: fix typosMartin Michlmayr2020-06-162-4/+4
|/
* generate docs and completion concurrently for a faster "make"Michael Muré2020-06-145-96/+61
|
* CLI: enable Fish completionMichael Muré2020-06-142-0/+161
|
* update cobraMichael Muré2020-06-141-0/+66
|
* readme: document workflowsMichael Muré2020-04-041-0/+0
|
* add workflow diagramsMichael Muré2020-03-013-0/+1
|
* update webUI's screenshotsMichael Muré2020-02-232-0/+0
|
* update auto-generated filesMichael Muré2020-02-231-4/+11
|
* update auto-generated filesMichael Muré2020-02-232-6/+6
|
* bridges: massive refactorMichael Muré2020-02-153-21/+28
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups