Replace builds_enabled with jobs_enabled in projects API v4
What does this MR do?
Rename the API v4 parameter for projects from builds_enabled
to jobs_enabled
.
Why was this MR needed?
Builds were renamed to jobs in %9.0.
What are the relevant issue numbers?
fixes #31012 (closed)
Merge request reports
Activity
- Resolved by username-removed-14714
added 1 commit
- de2c2d9c - Replace builds_enabled with jobs_enabled in projects API v4 (!10786 (merged))
@zj Thank you for your help!
The fix should be ready now. Could you review please?assigned to @zj
- Resolved by Zeger-Jan van de Weg
- Resolved by username-removed-14714
- Resolved by username-removed-14714
- Resolved by Zeger-Jan van de Weg
assigned to @winniehell
/cc @godfat
added Next Patch Release ~149423 labels
changed milestone to %9.0
assigned to @smcgivern
- Resolved by username-removed-443319
@zj I think this also needs to go in 9.1, is it right? And sorry for the confusion, but I don't think this is urgent and should be blocking releasing, so I'll unlabel Next Patch Release for now.
removed Next Patch Release label
Marking as 9.1. @jameslopez and @twk3 can confirm if we're doing any more 9.0 patches or if the last non-security patch has already been tagged.
changed milestone to %9.1
mentioned in commit 1b929586
205 206 # CE 206 207 at_least_one_of_ce = 207 208 [ 208 :builds_enabled, 209 :jobs_enabled, We don't have
at_least_one_of_ce
in stable branch, so I am not picking this change.Edited by username-removed-423915
Just posting the same as I discussed on Slack - We probably won't do more
9.0
patch releases unless there's a security release or something very critical. As the current active release would be9.1
on the 22nd...Edited by James Lopez1078 1082 1079 1083 it 'returns 400 when nothing sent' do 1080 1084 project_param = {} 1085 1081 1086 put api("/projects/#{project.id}", user), project_param 1087 1082 1088 expect(response).to have_http_status(400) 1083 1089 expect(json_response['error']).to match('at least one parameter must be provided') 1084 1090 end @godfat This is a bug since 9.0 So I wanted to signal that this should also be picked in 9.0
Picked into
9-1-stable
, will go into9.1.0-rc6
@zj I am not sure if we would have 9.0.7, but I'll change the milestone anyway. @jameslopez or @twk3 would decide if we would have it.
changed milestone to %9.0
Oh, I saw the comment: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10786#note_27876829
Not sure if in this case are we removing Pick into Stable ?
mentioned in commit 6b76909c
changed milestone to %9.1
mentioned in commit nolith/gitlab-ce@de2c2d9c