Commit graph

36 commits

Author SHA1 Message Date
Fabio Rapposelli
837446825d
Add modifiable context for Github status API 2016-05-27 20:22:32 +02:00
jdamick
577dfbab27 fix for issue #1502 2016-05-12 13:09:52 -04:00
jdamick
d9c369bdc7 added scopes to the oauth2 config 2016-05-11 10:32:11 -04:00
Brad Rydzewski
4040dfceb8 significant improvement to GitHub remote coverage (from 5% to 50%) 2016-05-03 13:01:16 -07:00
Brad Rydzewski
f930545410 refactoring github package to increase test coverage 2016-05-02 17:47:58 -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
Brad Rydzewski
9b306a1bc8 load all things via middleware 2016-04-12 13:08:17 -07:00
Jeff Storey
79dc866f43 getting rid of string split and using the regex match 2016-03-30 07:59:06 -04:00
Jeff Storey
3e4b871991 adding check for github link 2016-03-29 20:05:28 -04:00
Jeff Storey
6ddc2abf47 #1550 deployment status hooks for github 2016-03-29 14:10:33 -04:00
Kirill Zaitsev
d7b066b308 Use GetUserRepos instead GetAllRepos 2016-03-26 18:48:35 +03:00
Fabio Rapposelli
e5131fd76e Add tuneable build file parameter BUILD_CONFIG_FILE 2016-03-25 00:08:27 +01:00
alex
c2f3cf06ad Parameterize GitHub OAuth2 scopes.
If no scope provided, default will be used:
scope=repo,repo:status,user:email.
2016-03-10 19:30:14 +00:00
Brad Rydzewski
3dd0260b69 improve and simplify repository caching 2016-03-04 21:15:50 -08:00
Fabio Rapposelli
9eb4161750
Make GitHub status API context congruous
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-12-22 14:10:39 +01:00
alex
5ca67d304c Do not ignore refs/heads/gh-pages 2015-12-18 10:57:38 +00:00
Adam Stepinski
1c9cfcd376 pull build author from pull request user 2015-11-11 13:41:45 -08:00
Brad Rydzewski
7c2764f8eb SkipVerify oauth code as needed 2015-10-30 14:47:46 -07:00
Brad Rydzewski
4a0deff5a5 implements Stringer for store and remotes 2015-10-27 16:48:05 -07:00
Brad Rydzewski
fc02d38b4a updates the github deployment hook parser to work with older payloads 2015-10-27 14:53:55 -07:00
Brad Rydzewski
37a8a6d4e9 add github deployment environment to build.Deploy 2015-10-27 13:09:13 -07:00
Brad Rydzewski
25fa705511 added scm and deploy fields. plan to support hg, github deploys 2015-10-27 13:03:37 -07:00
Brad Rydzewski
e71905273d parses github hooks 2015-10-26 17:31:26 -07:00
Brad Rydzewski
13aa6fda3d properly label tag events for GitHub 2015-10-26 13:10:46 -07:00
Brad Rydzewski
aa8e0347d0 github author fallback for old GitHub enterprise 2015-10-06 18:31:01 -07:00
Brad Rydzewski
4435d7f2f6 added ssh param to force git+ssh cloning 2015-10-02 16:02:37 -07:00
Brad Rydzewski
dfea14c7e5 updated vendor files and paths 2015-09-29 18:21:17 -07:00
Brad Rydzewski
40a9543c0c moving remote pkg per new multi-binary structure 2015-05-17 11:45:09 -07:00
Brad Rydzewski
1ef6dc0bc6 persist self url in repo field 2015-05-12 23:58:30 -07:00
Brad Rydzewski
85256d3a22 backported 0.4 changes to existing database 2015-05-11 00:45:31 -07:00
Daniel Oliveira
ba159976a0 Fixing TODO comments in code /cc @oliveiradan
1. server/login.go:49 (// TODO(bradrydzewski) return an error message instead). Added error message if authorization fails.
2. server/repos.go:178 (TODO(bradrydzewski) verify repo not exists). Added a checking for the repo and return an error in case it does not exist.
3. server/queue.go:170:  // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
4. remote/github/github.go:106  // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
5. ./server/queue.go:170:  // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
6. .remote/github/github.go:106  // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
2015-05-08 10:47:40 -06:00
Brad Rydzewski
b84943222b get netrc data when hook is triggering 2015-04-28 15:08:21 -07:00
Brad Rydzewski
67a4e302c7 ability to get netrc from remote 2015-04-28 14:39:48 -07:00
Brad Rydzewski
c324d66872 ability to pull list of orgs and verify membership 2015-04-15 00:20:00 -07:00
Brad Rydzewski
09bd7cf71a added github remote 2015-04-08 15:00:27 -07:00