aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-133-20/+19
|
* bug: have a type for combined ids, fix ↵Michael Muré2022-08-222-9/+11
| | | | https://github.com/MichaelMure/git-bug/issues/653
* move bug.Status in entities/common for reuseMichael Muré2022-08-202-5/+7
|
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-184-6/+6
|
* entity/dag: proper base operation for simplified implementationMichael Muré2022-07-253-8/+11
| | | | | | | | - reduce boilerplace necessary to implement an operation - consolidate what an operation is in the core, which in turn pave the way for a generic cache layer mechanism - avoid the previously complex unmarshalling process - support operation metadata from the core - simplified testing
* refactor(809): eliminate need to defer CleanupTestRepos()Steve Moyer2022-06-162-6/+3
|
* Allow new gitlab PAT formatGaël James2022-03-311-1/+1
|
* Merge pull request #571 from 5nord/add-new-gitlab-iteratorMichael Muré2022-02-0110-681/+461
|\ | | | | [gitlab] Add new iterator with state change events
| * gitlab: re-enable previously broken testMichael Muré2021-12-051-5/+0
| |
| * gitlab: order events on the flyMichael Muré2021-12-054-64/+102
| |
| * Add some documentation commentsMatthias Simon2021-04-232-17/+24
| |
| * gitlab: Add new iterator with state change eventsMatthias Simon2021-04-238-676/+416
| | | | | | | | | | | | | | | | | | 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.
* | Bump github.com/xanzy/go-gitlab from 0.50.4 to 0.54.1 (#732)dependabot[bot]2022-01-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump github.com/xanzy/go-gitlab from 0.50.4 to 0.54.1 Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.50.4 to 0.54.1. - [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.50.4...v0.54.1) --- updated-dependencies: - dependency-name: github.com/xanzy/go-gitlab dependency-type: direct:production update-type: version-update:semver-minor ... Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: 6543 <6543@obermui.de>
* | Update URL of GitLab access token settingsRemi Rampin2021-10-131-1/+1
| |
* | Fix GitLab showing https:/../personal_access_tokenRemi Rampin2021-10-131-2/+1
| | | | | | | | | | Using path.Join() to concatenate URLs doesn't really make sense, and in particular will change "//" to "/".
* | Bump github.com/xanzy/go-gitlab from 0.48.0 to 0.50.0dependabot[bot]2021-05-241-1/+1
| | | | | | | | | | | | | | | | | | Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.48.0 to 0.50.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.48.0...v0.50.0) Signed-off-by: dependabot[bot] <support@github.com>
* | CLI: Add non-interactive option to interactive commands (#651)Sascha2021-05-091-1/+13
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* make sure every text input is safe and validatedMichael Muré2021-04-171-21/+8
| | | | fix #630
* bug: migrate to the DAG entity structure!Michael Muré2021-02-142-17/+12
|
* identity: PR fixesMichael Muré2021-02-142-2/+2
|
* deal with the previous changesMichael Muré2021-02-142-36/+37
|
* Fix comparison mix-up in gitlab importerMatthias Simon2021-02-071-2/+2
|
* cleanup title on gitlab importvince2020-10-281-3/+7
|
* Vendor: updage xanzy/go-gitlab to v0.38.2 (#473)65432020-10-251-2/+1
| | | | | * build(deps): bump github.com/xanzy/go-gitlab from 0.33.0 to 0.38.2 * migrate * refactor
* repo: use go-git in more places, fix pushMichael Muré2020-10-042-3/+3
|
* bridge: store credentials in the Keyring instead of the git configMichael Muré2020-09-291-1/+1
|
* gitlab: skip the broken test as "known broken" :(Michael Muré2020-07-261-0/+7
|
* update go-gitlabMichael Muré2020-07-261-7/+3
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-262-3/+3
| | | | | | | | | - 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.
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-251-1/+1
| | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
* gitlab: fix iterator (paginate with first index 1) and avoid the trailing ↵Michael Muré2020-04-043-12/+38
| | | | API call
* gitlab: refactor the iterator, fix bugsMichael Muré2020-03-286-290/+399
| | | | Notably, properly reset sub iterators when changing to the next issue
* jira/gitlab: fix a bad login handling in the configuratorMichael Muré2020-03-281-5/+7
|
* gitlab: match bugs on IDs + baseURL because the URL is not stableMichael Muré2020-03-281-1/+6
|
* gitlab: fix bugs import urlamine2020-03-151-4/+4
|
* identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-251-0/+1
| | | | informational)
* Merge pull request #341 from MichaelMure/bridges-default-loginMichael Muré2020-02-235-3/+12
|\ | | | | 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-235-3/+12
| | | | | | | | | | | | credential fix #338
* | use regex.MustCompile instead of dealing with the errorMichael Muré2020-02-231-4/+1
|/
* bridges: pass the context to Init for when a client build process needs itMichael Muré2020-02-154-7/+9
|
* bridges: more refactor and cleanupMichael Muré2020-02-151-5/+9
|
* bridges: massive refactorMichael Muré2020-02-156-188/+66
| | | | | | - automatic flag validation and warning - generalized prompt - cleanups
* auth: refactor and introduce Login and LoginPassword, salt IDsMichael Muré2020-02-123-5/+5
|
* github/gitlab: many fixes and improvments at the config stepMichael Muré2020-02-105-28/+56
|
* bridge: fix 2 uncatched errorsMichael Muré2020-02-081-0/+3
|
* bridge: hopefully fix testsMichael Muré2020-02-081-0/+2
|
* fix tests ?Michael Muré2020-02-081-4/+4
|
* it compiles \o/Michael Muré2020-02-081-0/+6
|
* gitlab also compileMichael Muré2020-02-085-118/+98
|
* WIPMichael Muré2020-02-081-1/+1
|