Commit graph

40 commits

Author SHA1 Message Date
Laszlo Fogas
67cdbd2509 Simplified the interface 2019-06-03 08:49:11 +02:00
Laszlo Fogas
ca5817ffc2 Renamed package 2019-04-04 20:51:20 +02:00
Thomas Boerger
7f49e69607
Just fixed format with go fmt ./... 2018-03-21 14:02:17 +01:00
Brad Rydzewski
580fe9abb7 add apache license header to files 2018-02-19 14:24:10 -08:00
Brad Rydzewski
35e0ee2e5f implement sync logic 2017-07-14 15:58:38 -04:00
Chris Fordham
76950da64d use of ProxyFromEnvironment for bitbucketserver
Similar to https://github.com/drone/drone/pull/1724. Currently it looks like drone only supports this with github and gitlab. This PR will add the proxy support for bitbucketserver.
2017-07-11 19:35:45 +10:00
Brad Rydzewski
130c623a35 compare yaml files 2017-03-18 19:25:53 +08:00
Joachim Hill-Grannec
a9e83aa5ce gofmt modified files 2017-02-01 13:49:26 -08:00
Joachim Hill-Grannec
c413565521 adding the ability to set the RSA key as a string value on drone startup instead of a file that has to be mounted. 2017-02-01 13:41:45 -08:00
Jacob McCann
820e0ab158 Check remote for org secrets access
Fully implemented for github remote
2016-11-18 22:12:28 -06:00
Joachim Hill-Grannec
95b3a78aa9 Update to add the name which has a better indication for the label of what build the status is for 2016-08-14 12:27:53 -07:00
Joachim Hill-Grannec
5c7a66534d Adding the ability for the bitbucket server remote to update the status of commits on the server 2016-08-13 19:06:15 -07:00
Joachim Hill-Grannec
529a9eba49 Merge branch 'master' into bbserver-cleanup
updated to also include build config updates

# Conflicts:
#	remote/bitbucketserver/bitbucketserver.go
2016-08-11 13:35:47 -07:00
Thomas Boerger
606ca93881
Properly formatted bitbucketserver 2016-07-31 23:25:10 +02:00
Joachim Hill-Grannec
70ebb097c8 Changed variables to lowercase
Moved to start using conversions and returning "bitbucket server types"
Moved the last push type into the internal package.
Simplified the types to have values of a repo type
2016-07-24 14:07:44 -07:00
Joachim Hill-Grannec
f80174f7c4 removing logging from low levels 2016-07-24 11:53:11 -07:00
Joachim Hill-Grannec
f4aa0168c7 Making sure to have branch name on the build 2016-06-26 00:10:09 -07:00
Joachim Hill-Grannec
6e4303aab3 Update to cleaner implementation for the bitbucket server implementation 2016-06-25 22:27:09 -07:00
Joachim Hill-Grannec
6624ff0ce6 Start of refactor to stash implementation to match other remotes 2016-06-25 16:45:33 -07:00
Joachim Hill-Grannec
6d7f1bf295 Getting security to work on the stash. Looks at hooks to see if someone has admin rights. 2016-06-13 22:08:56 -05:00
Joachim Hill-Grannec
a4d28e39a0 Missed an argument 2016-06-13 18:25:31 -05:00
Joachim Hill-Grannec
1152e430c4 Cleaner way to remove the username from the git clone URL 2016-06-13 18:10:16 -05:00
Joachim Hill-Grannec
be1b75fd45 Fix defer location and err check 2016-06-12 22:18:31 -07:00
Joachim Hill-Grannec
6f4c4a37dc Remove log and fix typo 2016-06-11 18:53:41 -07:00
Joachim Hill-Grannec
2ce566483b Handling some of the error in bitbucksetserver
Fixed returning the http(s) version of the clone link which had the username in it however should not to work with netrc
Quick typo fix
2016-06-11 18:42:55 -07:00
Brad Rydzewski
ebd547deac refactoring remotes to remove deprecated variables, adding tests 2016-05-01 16:30:00 -07:00
Brad Rydzewski
082570fb5b refactoring input and configuration 2016-04-29 12:39:56 -07:00
Martijn
3998b3171a Correct repos API url 2016-04-21 14:53:41 +02:00
Joachim Hill-Grannec
06003bfc87 using fmt.Sprintf for string interpolation. 2016-04-20 13:14:48 -07:00
Joachim Hill-Grannec
95b1f347ba Running gofmt on remote for bitbucket server 2016-04-20 11:59:47 -07:00
Joachim Hill-Grannec
262f505779 Moving the NewClient to load instead of on every call 2016-04-19 16:26:23 -07:00
Joachim Hill-Grannec
c250926460 Typo 2016-04-19 13:32:06 -07:00
Joachim Hill-Grannec
d982f73f8e Must have a git username, password, consumer key, and consumer rsa 2016-04-19 13:29:52 -07:00
Joachim Hill-Grannec
0a20d9c1d2 Configurable consumer rsa file location 2016-04-19 13:26:52 -07:00
Joachim Hill-Grannec
16ddb75d08 moving the private key out of root and into a more sensical location till it's configurable 2016-04-19 10:44:19 -07:00
Joachim Hill-Grannec
b89b7cff5b Removing no longer needed import 2016-04-19 09:49:22 -07:00
Joachim Hill-Grannec
02c87d02f5 Merge branch 'master' into bitbucketserver
Moving git username and password to the url
Removing un-needed setting of Allows
Moving log.Fatal to log.Error
Removing panics
Moving to https for gravatar

# Conflicts:
#	remote/remote.go
2016-04-19 09:47:02 -07:00
Joachim Hill-Grannec
df45c84763 added a few comments 2016-04-19 01:32:40 -04:00
Joachim Hill-Grannec
4b31babb98 fixing to use the commit hash instead of the refID 2016-04-19 01:14:55 -04:00
Joachim Hill-Grannec
59edcd3389 Initial take at the bitbucket server remote additions. 2016-04-19 00:40:49 -04:00