Commit graph

8 commits

Author SHA1 Message Date
Brad Rydzewski
5660634c29 refactor datastore structure for consistency 2015-04-30 21:08:42 -07:00
Brad Rydzewski
4e61464225 removed some comments / dead code 2015-04-30 20:40:59 -07:00
Daniel Oliveira
0579df7584 repo_test.go conflict resolution 2015-04-23 11:28:03 -06:00
Daniel Oliveira
d13c1caebf About this commit:
1. server/builds.go:92 uses SetStatus().
2. The other APIs we talked about: Status(), StatusList(), we were able to move out.
3. The repo_del_test.go code merge into repo_test.go
4. Unit tests for the other build APIs added.
   - We are facing a crash in: github.com/drone/drone/datastore/bolt.(*DB).SetBuildTask(0xc208056080, 0x5e15d0, 0x15, 0x1, 0xc208036940, 0x0, 0x0)
     which seems to be related to the note in: build.go:207 (// TODO check index to prevent nil pointer / panic)
5. With these new tests we get over 86% plus test cover for bolt package.
2015-04-22 19:49:16 -06:00
Ben Schumacher
4362adf78b Fix error handling, remove unused bucketBuildTasks 2015-04-22 10:50:45 -06:00
Daniel Oliveira
09d5c6f011 Code changes related to PR #986 and Issue #984 2015-04-20 18:39:32 -06:00
Daniel Oliveira
627f8df98d Unit Tests for: repo_test.go, task_test.go 2015-04-20 15:01:48 -06:00
Brad Rydzewski
d9fd23a6df experimental branch. playing around with boltdb 2015-04-07 01:20:55 -07:00