1939949
CLI: Add non-interactive option to interactive commands (#651)
Click to expand commit body
* 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>
Sascha
and
Michael Muré
created
e1dd32e
Bump lodash from 4.17.20 to 4.17.21 in /webui
Click to expand commit body
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot]
created
8740c0e
Bump url-parse from 1.4.7 to 1.5.1 in /webui
Click to expand commit body
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot]
created
d892201
Bump ua-parser-js from 0.7.21 to 0.7.28 in /webui
Click to expand commit body
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.21 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.21...0.7.28)
Signed-off-by: dependabot[bot] <support@github.com>
aa4e225
gitlab: Add new iterator with state change events
Click to expand commit body
Retrieving events is spread across various various Gitlab APIs. This
makes importing and sorting Gitlab events by time quite complicated.
This commit replaces the old iterators with a goroutine/channel-based
iterator, which merges the individual Gitlab API streams into a single
(sorted) event stream.
Matthias Simon
created
b38bc89
Bump github.com/go-git/go-billy/v5 from 5.1.0 to 5.2.0
Click to expand commit body
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/go-git/go-billy/releases)
- [Commits](https://github.com/go-git/go-billy/compare/v5.1.0...v5.2.0)
Signed-off-by: dependabot[bot] <support@github.com>
GitHub have introduced a new format for their access tokens, which does
not fit within the rules of the previous regex. For the time being, the
previous token format is still being supported by GitHub, so it makes
sense to continue allowing legacy tokens.
https://github.blog/changelog/2021-03-04-authentication-token-format-updates/
Ellis Clayton
created
2415515
Merge pull request #631 from MichaelMure/comment-edit
Click to expand commit body
Fix ID string in order to find correct bug instance on comment edit operation
Michael Muré
created
718aa5f
Merge pull request #622 from MichaelMure/dependabot/go_modules/github.com/MichaelMure/go-term-text-0.3.1
Click to expand commit body
Bump github.com/MichaelMure/go-term-text from 0.2.10 to 0.3.1
Michael Muré
created
5b90392
Merge pull request #617 from MichaelMure/dependabot/go_modules/github.com/xanzy/go-gitlab-0.48.0
Click to expand commit body
Bump github.com/xanzy/go-gitlab from 0.44.0 to 0.48.0
Michael Muré
created
c77eb18
Bump github.com/MichaelMure/go-term-text from 0.2.10 to 0.3.1
Click to expand commit body
Bumps [github.com/MichaelMure/go-term-text](https://github.com/MichaelMure/go-term-text) from 0.2.10 to 0.3.1.
- [Release notes](https://github.com/MichaelMure/go-term-text/releases)
- [Commits](https://github.com/MichaelMure/go-term-text/compare/v0.2.10...v0.3.1)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot]
created
4159f73
Bump github.com/xanzy/go-gitlab from 0.44.0 to 0.48.0
Click to expand commit body
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.44.0 to 0.48.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.44.0...v0.48.0)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot]
created
0e97664
Merge pull request #618 from MichaelMure/dependabot/go_modules/github.com/go-git/go-git/v5-5.3.0
Click to expand commit body
Bump github.com/go-git/go-git/v5 from 5.2.0 to 5.3.0
Michael Muré
created
63b1d93
Merge pull request #635 from MichaelMure/gogit-thread
Click to expand commit body
repository: workaround a non thread-safe path in go-git
Michael Muré
created
d000838
repository: workaround a non thread-safe path in go-git