Jesse Duffield
e33fe37a99
Standardise on using lo for slice functions
...
We've been sometimes using lo and sometimes using my slices package, and we need to pick one
for consistency. Lo is more extensive and better maintained so we're going with that.
My slices package was a superset of go's own slices package so in some places I've just used
the official one (the methods were just wrappers anyway).
I've also moved the remaining methods into the utils package.
2023-07-30 18:51:23 +10:00
Mazhar Zandsalimi
59379b45da
Update gitlab commit URL to match new routing
2023-05-22 07:39:47 +03:30
Mazhar Zandsalimi
2d4ca2b54f
Update gitlab merge request URL to match new routing
2023-05-21 13:21:34 +03:30
Noah Gao
bf3dd79b7a
feat: add gitea to hosting service
2023-04-18 16:16:09 +00:00
Andrew
298dae23e8
fix: generalize parsing of ssh git urls
2023-04-03 12:10:30 +10:00
Jesse Duffield
f7e8b2dd71
cleanup integration test code
2023-02-26 12:54:13 +11:00
Konstantin Mikhailov
a67a08eeac
Fix open commit in browser for some Gitlab repos
2022-08-24 11:23:02 +10:00
David Pavlík
4db22aec0e
support custom SSH usernames on BitBucket, fixes #1890
2022-08-06 22:54:57 +02:00
TheBlob42
bcc0466498
feat: pull request support for bitbucket server
2022-04-11 17:17:40 +10:00
casswedson
b7928042f0
chore: typo hunting ft. codespell
2022-04-06 08:52:41 +10:00
Jesse Duffield
94a53484a1
would you believe that I'm adding even more generics
2022-03-24 20:14:41 +11:00
Jesse Duffield
eda8f4a5d4
lots more generics
2022-03-24 20:14:41 +11:00
Jesse Duffield
a34bdf1a04
update linters
2022-03-19 12:12:57 +11:00
Jesse Duffield
28c9d85141
fix tests
2022-03-16 20:52:49 +11:00
tiwood
f0d0d45ba7
refactor: 💡 Use new approach introduced via #1637
...
fix: 🐛 The root URI for Azure DevOps repositories contains _git
refactor so that we don't have conditional logic based on service definition
no need for this commend anymore
add comment
Fixed RegEx for HTTP remote git URL
Added Tests
pretty sure we can do this safely
2022-03-16 20:52:49 +11:00
Mikael Elkiaer
874e230aef
run go fmt
2022-01-25 23:23:55 +11:00
Mikael Elkiaer
4da5795ef1
fixed indentation by swapping spaces for tabs
2022-01-25 23:23:55 +11:00
Mikael Elkiaer
03c9acad26
add tests specific for URL escaping in PRs
2022-01-25 23:23:55 +11:00
Mikael Elkiaer
d53322675d
update unit tests not expecting url escaping
2022-01-25 23:23:55 +11:00
Mikael Elkiaer
ae18ad5b66
add URL encoding in pull request branch names
2022-01-25 23:23:55 +11:00
bin101
ad23bd03a0
fix: custom service usage
2022-01-21 23:13:00 +11:00
Jesse Duffield
18f48a43d5
add some more linters
2022-01-09 14:09:53 +11:00
Jesse Duffield
9ef65574db
refactor to rename pull_request to hosting_service and apply SRP
2021-12-29 09:01:06 +11:00