Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Issue 2948103002: scheduler: rename JobID to JobName to avoid overloading JobID meaning. (Closed)

Created:
3 years, 6 months ago by tandrii(chromium)
Modified:
3 years, 6 months ago
Reviewers:
Vadim Sh.
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

scheduler: rename JobID to JobName to avoid overloading JobID meaning. This also renames recently landed GetJobs api Job.Id to Job.Name, and hence is backwards incompatible, but it is OK API is still experimental. R=vadimsh@chromium.org Bug: 712427 Review-Url: https://codereview.chromium.org/2948103002 Committed: https://github.com/luci/luci-go/commit/4ab136ab49c856a5de394d15946eca3eb22143c0

Patch Set 1 #

Total comments: 1

Patch Set 2 : add doc #

Total comments: 2

Patch Set 3 : jobName in js #

Patch Set 4 : more js lowercase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -119 lines) Patch
M scheduler/api/scheduler/v1/pb.discovery.go View 1 chunk +64 lines, -64 lines 0 comments Download
M scheduler/api/scheduler/v1/scheduler.proto View 1 chunk +1 line, -1 line 0 comments Download
M scheduler/api/scheduler/v1/scheduler.pb.go View 3 chunks +21 lines, -21 lines 0 comments Download
M scheduler/appengine/apiservers/scheduler.go View 1 chunk +1 line, -1 line 0 comments Download
M scheduler/appengine/apiservers/scheduler_test.go View 4 chunks +6 lines, -6 lines 0 comments Download
M scheduler/appengine/engine/engine.go View 1 1 chunk +7 lines, -0 lines 0 comments Download
M scheduler/appengine/frontend/templates/includes/base.html View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M scheduler/appengine/frontend/templates/pages/invocation.html View 2 chunks +2 lines, -2 lines 0 comments Download
M scheduler/appengine/frontend/templates/pages/job.html View 4 chunks +5 lines, -5 lines 0 comments Download
M scheduler/appengine/frontend/templates/pages/run_job_result.html View 2 chunks +2 lines, -2 lines 0 comments Download
M scheduler/appengine/ui/presentation.go View 6 chunks +6 lines, -10 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
tandrii(chromium)
3 years, 6 months ago (2017-06-21 16:13:26 UTC) #1
tandrii(chromium)
https://codereview.chromium.org/2948103002/diff/1/scheduler/appengine/engine/engine.go File scheduler/appengine/engine/engine.go (right): https://codereview.chromium.org/2948103002/diff/1/scheduler/appengine/engine/engine.go#newcode260 scheduler/appengine/engine/engine.go:260: func (e *Job) GetJobName() string { it seems you've ...
3 years, 6 months ago (2017-06-21 16:16:08 UTC) #4
Vadim Sh.
lgtm with nit https://codereview.chromium.org/2948103002/diff/20001/scheduler/appengine/frontend/templates/includes/base.html File scheduler/appengine/frontend/templates/includes/base.html (right): https://codereview.chromium.org/2948103002/diff/20001/scheduler/appengine/frontend/templates/includes/base.html#newcode102 scheduler/appengine/frontend/templates/includes/base.html:102: var JobName = $("input#JobName", form).val(); please ...
3 years, 6 months ago (2017-06-21 16:40:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2948103002/60001
3 years, 6 months ago (2017-06-21 16:51:23 UTC) #14
tandrii(chromium)
https://codereview.chromium.org/2948103002/diff/20001/scheduler/appengine/frontend/templates/includes/base.html File scheduler/appengine/frontend/templates/includes/base.html (right): https://codereview.chromium.org/2948103002/diff/20001/scheduler/appengine/frontend/templates/includes/base.html#newcode102 scheduler/appengine/frontend/templates/includes/base.html:102: var JobName = $("input#JobName", form).val(); On 2017/06/21 16:40:42, Vadim ...
3 years, 6 months ago (2017-06-21 16:52:05 UTC) #15
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 17:02:21 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://github.com/luci/luci-go/commit/4ab136ab49c856a5de394d15946eca3eb22143c0

Powered by Google App Engine
This is Rietveld 408576698