Commit Graph
41 Commits
Author SHA1 Message Date
Anbraten 567f176b4d Improve forge token refreshing 2026-01-13 14:40:46 +01:00
6543 c3d1849673 Delete/Deactivate repo ignores missing repo at forge (#5953) 2026-01-11 13:00:27 +02:00
6543 761cc67f11 server/forge: rename var to be more descriptive and test value (#5806) 2025-12-02 13:40:08 +01:00
Erik Mogensen 88020fe1ca fix(bitbucketdatacenter): fix CI_COMMIT_PULL_REQUEST (#5769) 2025-11-27 09:49:11 +01:00
6543 21ef4cac53 On set/get of repo make sure forge_id is set and on fetch respected (#5717) 2025-11-27 09:39:41 +01:00
Harri Avellanandqwerty287 5b279af21a feat(bitbucketserver): get changes from all commits in a single push event (#5748)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2025-11-18 17:42:21 +01:00
LUKIEYF 40f847b944 Add Header User-Agent for request client (#5664)
add Header User-Agent for request client for more precise in recognized the http request from.

close #3778
2025-11-05 11:41:48 +01:00
6543 37f1cdc0e9 Bitbucket: ignore push hooks with no changes propperly (#5672) 2025-10-23 12:53:59 +02:00
Henrik Huitti f9380cdf01 fix(bitbucketdatacenter): prevent adding new repos with empty branch (#5669) 2025-10-22 08:19:20 +02:00
6543 f93ef16fe3 Add pagination for Repos() and Teams() in Forge interface (#5638) 2025-10-15 22:21:24 +02:00
Martin Schmidt 36187dea8c Enhance Bitbucket Datacenter build status reporting (#5611)
Improve build status reporting by adding duration, date added, and parent context to the status response.
The parent field enables `Required builds` to be set in bitbucket datacenter, to block merges to main before tests pass.
2025-10-08 12:48:03 +02:00
Henrik HuittiandRobert Kaussow 99dee0924a Support for pull requests opened events from forked repositories (#5536)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-09-28 08:54:53 +02:00
Henrik Huitti 275c8fee1c feat(bitbucketdatacenter): Implement missing OrgMembership method (#5476) 2025-09-21 09:51:30 +02:00
AnbratenandAnton Bracke 24ebcb8cf8 Rename oauth variables (#5435)
Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com>
2025-08-20 22:47:43 +02:00
qwerty287 b4b4c68b72 Fix bitbucket status sending (#5372) 2025-08-10 19:51:16 +02:00
Henrik HuittiandAnbraten aae9d61883 Support for pull request file changes in bitbucketdatacenter (#5205)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2025-06-12 09:09:38 +02:00
83229e8720 fix(bitbucketDC): manual event has commit broken link (#5160)
Co-authored-by: tal <tal@localhost>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-05-20 13:13:13 +03:00
Ratko RužičićandRatko Ruzicic 6bf8f9ccf1 fix(bitbucketdc): build status gets incorrectly reported on multi workflow builds (#5178)
Co-authored-by: Ratko Ruzicic <ratko.ruzicic@oaklandgrp.com>
2025-05-19 13:01:02 +02:00
Ratko RužičićandRatko Ruzicic 1f23da379e fix(bitbucketdc): build status not reported on PR builds (#5162)
Co-authored-by: Ratko Ruzicic <ratko.ruzicic@oaklandgrp.com>
2025-05-13 18:29:00 +03:00
c45657721f fix(deps): update golang-packages (#5121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-04-25 15:55:30 +03:00
Levy-Talandtal 2da71c4f7b BitbucketDC: add event pull request opened (#5048)
Co-authored-by: tal <tal@localhost>
2025-04-02 18:11:30 +02:00
Levy-Talandtal 0ecd57d2df BitbucketDC: optimize repository search (#4919)
Co-authored-by: tal <tal@localhost>
2025-03-03 16:54:34 +02:00
qwerty287 434670ddbd Include forge type in netrc (#4908) 2025-02-28 15:07:30 +02:00
Jener Rasmussen 3f1fc7f4bd Fix nil dereference in Bitbucket webhook handling (#4896) 2025-02-24 18:04:49 +02:00
Levy-Talandtal 983dfd1157 Add Git Ref To Build Status in BitbucketDatacenter (#4724)
Co-authored-by: tal <tal@localhost>
2025-01-23 15:11:09 +02:00
Levy-Talandtal d022bf229a feat(bitbucketdatacenter): Add support for fetching and converting projects to teams (#4663)
Co-authored-by: tal <tal@localhost>
2025-01-08 00:44:31 +01:00
afa6dee30b Migrate away from goblin (#4624)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-30 08:08:53 +02:00
qwerty287andPatrick Schratz fdfabe6368 Support Git as only VCS (#4346)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-12-27 22:49:19 +01:00
qwerty287andRobert Kaussow 81b74025d4 Update Go imports paths (#4605)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-22 10:44:34 +01:00
Anbraten 53d6421940 Support github refresh tokens (#3811) 2024-11-22 19:12:43 +01:00
Anbraten 5e2fa8164b Extend approval options (#3348) 2024-11-18 14:49:12 +01:00
Jener Rasmussen f20327eb03 [Bitbucket Datacenter] Return empty list instead of null (#4010) 2024-08-06 18:31:50 +02:00
Anbraten 1a39d57f71 Enhance authentication UX (#3807) 2024-06-21 09:55:30 +02:00
4ec046e415 Spellcheck "server/*" (#3753)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-06-04 08:30:54 +02:00
5527d9bf86 Cleanup server env settings (#3670)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-05-15 15:45:08 +02:00
Robert Kaussow 89e100cfd1 Add godot linter to harmonitze toplevel comments (#3650) 2024-05-13 22:58:21 +02:00
qwerty287 fa4b1f76bd Fix bitbucket dir fetching (#3668) 2024-05-01 12:22:07 +02:00
Robert Kaussow a779eed3df Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
Thor Anker Kvisgård Lange 632c946511 feat: Remove user part of http clone url (#3462)
Some configuration of Bitbucket Datacenter seems to return username as
part of the clone URL. This needs to be removed for `.netrc` to work
properly.

Closes #3443

---------

Signed-off-by: Thor Anker Kvisgård Lange <tal@netic.dk>
2024-03-07 18:06:05 +01:00
Thor Anker Kvisgård Lange ce51d65829 fix: Make sure to refresh access token when reading commit information (#3447)
When receiving notification by webhook the forge tries to read
information on the latest commit when constructing the pipeline. This
requires a call to the Bitbucket API which again requires the access
token to be up-to-date.

Signed-off-by: Thor Anker Kvisgård Lange <tal@netic.dk>
2024-02-27 17:15:11 +01:00
Thor Anker Kvisgård Lange 364d708923 Add bitbucket datacenter (server) support (#2503)
This pull-requests re-introduces the Bitbucket Server support with a
more or less complete rewrite of the forge implementation. We have a lot
of on-premises git repositories hosted in Bitbucket Server and need a CI
solution for running that and Woodpecker looks promising.

The implementation is based on external Bitbucket Server REST client
library which we are maintaining and have created in another context.
Besides the original support for Bitbucket the re-implementation also
adds support for handling Bitbucket pull-request events.
2024-02-20 15:58:02 +01:00