Commit Graph

177 Commits

Author SHA1 Message Date
Wenkai Yin
dbc84dc99b pass golint 2016-06-17 11:44:40 +08:00
Wenkai Yin
7747e72c28 filter jobs by policy ID and repository 2016-06-17 11:34:52 +08:00
Daniel Jiang
dfa8fdb15e Merge pull request #348 from reasonerjt/job-service
add comment to source files
2016-06-16 15:03:53 +08:00
Tan Jiang
d909405c11 add header comment 2016-06-16 14:57:45 +08:00
Wenkai Yin
8939b54448 1. support updating the target of policy 2. can not delete a target if it is being used 2016-06-16 14:18:23 +08:00
Wenkai Yin
836598f5c9 remove useless import 2016-06-15 13:42:19 +08:00
Wenkai Yin
fc8fbbcb98 bug fix: modify the implements of checking whether project name is in lower case 2016-06-15 13:31:00 +08:00
Wenkai Yin
f050c963d5 Merge branch 'bug_fix_for_delete_repo' into sync_image
Conflicts:
	api/repository.go
2016-06-14 18:25:08 +08:00
Wenkai Yin
12a72c0f6c bug fix: deletion of repository which has been deleted should return 404 2016-06-14 18:17:32 +08:00
Wenkai Yin
db9347135c bug fix 2016-06-14 17:33:37 +08:00
Wenkai Yin
81600e8db4 bug fix 2016-06-14 11:14:48 +08:00
Wenkai Yin
14e71f0052 Merge branch 'master' into sync_image
Conflicts:
	.travis.yml
	models/accesslog.go
	models/project.go
	models/user.go
2016-06-13 18:14:41 +08:00
Wenkai Yin
8f56e9fc4a Merge pull request #330 from ywk253100/sync_image
add modify policy
2016-06-13 17:54:05 +08:00
Wenkai Yin
bc0aa21441 add modify policy 2016-06-13 17:32:22 +08:00
Wenkai Yin
32857a9154 Merge pull request #329 from ywk253100/sync_image
filter policies by name and project ID
2016-06-13 16:57:43 +08:00
Wenkai Yin
39edccf549 filter policies by name and project ID 2016-06-13 16:49:46 +08:00
Wenkai Yin
784947a787 Merge pull request #328 from ywk253100/sync_image
Sync image
2016-06-13 14:40:25 +08:00
Wenkai Yin
cf7ee9a327 update implements of FilterTargets() 2016-06-13 14:24:13 +08:00
Wenkai Yin
e5fe595f62 add test for FilterTargets() 2016-06-13 08:42:11 +08:00
Wenkai Yin
3bc41cc6d3 filter targets by name 2016-06-13 08:31:32 +08:00
wemeya
0147ec8d3b Merge remote-tracking branch 'upstream/job-service' into develop 2016-06-07 20:35:24 +08:00
wemeya
fbb26634a7 change code for travis ci 2016-06-06 23:47:27 +08:00
shixi_weimeng
8459fcf7dc change code for review 2016-06-06 23:07:17 +08:00
wemeya
411ead21fc change code for review 2016-06-06 17:53:36 +08:00
Wenkai Yin
4fbe18cb03 pass golint 2016-06-06 17:46:19 +08:00
Wenkai Yin
e8cad0f9f3 pass golint 2016-06-06 17:42:16 +08:00
Wenkai Yin
f4e6d048b2 add validation to create, update policies and targets 2016-06-06 17:31:47 +08:00
wemeya
15ee62485f Merge remote-tracking branch 'upstream/job-service' into develop 2016-06-06 16:35:59 +08:00
wemeya
e985a587c2 modify as travis CI required 2016-06-02 19:15:23 +08:00
wemeya
26d7f77532 modify as travis CI required 2016-06-02 19:10:53 +08:00
Wenkai Yin
10cf76a682 try to stop replication when a policy is disabled 2016-06-02 18:17:00 +08:00
wemeya
eb62beba31 modify merge conflicts 2016-06-02 17:57:39 +08:00
wemeya
389a6037d5 change code as the review reqired 2016-06-02 17:33:10 +08:00
root
d66a8f913e merge master 2016-06-02 13:41:52 +08:00
wemeya
267152f8e6 change code according to review 2016-06-01 19:29:08 +08:00
wemeya
ccbe297bba change code according to travis CI 2016-06-01 18:12:06 +08:00
wemeya
c972406d0f change code 2016-06-01 18:02:32 +08:00
wemeya
9b5cb57d2a change code according to travis CI 2016-06-01 17:57:33 +08:00
wemeya
af55312664 change code for review 2016-06-01 17:51:06 +08:00
wemeya
4d4ab9e408 Merge remote-tracking branch 'upstream/master' 2016-06-01 17:02:02 +08:00
wemeya
ffd58c0f2d add api to list top 10 repos 2016-06-01 17:01:43 +08:00
Daniel Jiang
03389abb96 Merge pull request #298 from reasonerjt/api-attributes
update attributes of api
2016-06-01 15:43:52 +08:00
Tan Jiang
bf86f1ff58 update attributes of api 2016-06-01 15:17:05 +08:00
Wenkai Yin
610566fe73 Merge branch 'master' into sync_image 2016-06-01 15:10:52 +08:00
Wenkai Yin
8c6ea744c2 modify test codes of registry client to pass test 2016-06-01 15:09:10 +08:00
Wenkai Yin
297e5c4a44 Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-06-01 13:50:19 +08:00
Wenkai Yin
07c7ce403c bug fix: the length should be 0 when initialize a slice 2016-06-01 13:47:23 +08:00
Tan Jiang
bd223796b4 fix issue in travis 2016-06-01 13:28:02 +08:00
wemeya
498d2e629a change code according to review 2016-06-01 12:27:26 +08:00
wemeya
0aade05222 change code according to comment 2016-05-31 17:38:51 +08:00