aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/launchpad/config.go
Commit message (Collapse)AuthorAgeFilesLines
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-181-1/+1
|
* CLI: Add non-interactive option to interactive commands (#651)Sascha2021-05-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* github: correct casing for user provided loginMichael Muré2020-02-291-0/+2
|
* Merge pull request #341 from MichaelMure/bridges-default-loginMichael Muré2020-02-231-1/+0
|\ | | | | bridge: record the login used during the configure and use it as default credential
| * bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-231-1/+0
| | | | | | | | | | | | credential fix #338
* | use regex.MustCompile instead of dealing with the errorMichael Muré2020-02-231-4/+1
|/
* bridges: massive refactorMichael Muré2020-02-151-13/+10
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* it compiles \o/Michael Muré2020-02-081-7/+0
|
* gitlab also compileMichael Muré2020-02-081-24/+2
|
* bridge/gitlab: support self-hosted GitLab instanceamine2019-12-101-0/+3
|
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-20/+19
|
* bridge/launchpad: add missing metadataamine2019-11-191-3/+3
| | | | bridge: use a specific key for origin metadata
* commands: read token from stdin in bridge configurationAmine Hilaly2019-08-311-1/+7
| | | | bridge: improve bridge config validation
* bridge: use a single KeyTarget constant for all bridgesMichael Muré2019-07-071-4/+3
|
* add target to launchpad configurationAmine Hilaly2019-06-171-0/+7
|
* add unit tests for launchpad bridge configurationAmine Hilaly2019-05-301-9/+14
| | | | | add tests for validateUsername in Github bridge panic when compile regex fail
* Update configuration process and add unit testsAmine Hilaly2019-05-291-2/+7
| | | | Update launchpad bridge
* Update documentation and function namingAmine2019-05-291-1/+4
| | | Co-Authored-By: Michael Muré <batolettre@gmail.com>
* Update flags descriptions Amine2019-05-291-2/+2
| | | | | Enhance printing in prompt Co-Authored-By: Michael Muré <batolettre@gmail.com>
* Add warning messages for launchpad-previewAmine Hilaly2019-05-291-0/+7
| | | | | fix --target flag description improve comments
* Launchpad bridge configuration from `BridgeParams` Project and URLAmine Hilaly2019-05-291-5/+48
| | | | Improve Github config comments
* Launchpad changesAmine Hilaly2019-05-291-6/+12
| | | | Use bridge params to configure the bridge
* launchpad: minor cleaningMichael Muré2018-12-171-4/+8
|
* Initial Launchpad bridge.Cyril Roelandt2018-12-161-0/+50
This a just a preview. Not all features are expected to work.