Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 88e748ec95d416eb768f31c7921962d712bc371a
https://github.com/openSUSE/open-build-service/commit/88e748ec95d416eb768f3…
Author: Stephan Kulow <coolo(a)suse.de>
Date: 2018-06-29 (Fri, 29 Jun 2018)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
M src/api/app/models/package.rb
Log Message:
-----------
[frontend] Remove caching in Package.serviceinfo
The serviceinfo changes in the backend, caching it in the model
is as such not wise. The only place it's called outside of
service_info is not using the return value - and was removed
Commit: a2bc8ddb51c9a08a90c8c455850238a567ed0fdc
https://github.com/openSUSE/open-build-service/commit/a2bc8ddb51c9a08a90c8c…
Author: Stephan Kulow <coolo(a)suse.de>
Date: 2018-06-29 (Fri, 29 Jun 2018)
Changed paths:
A src/api/spec/cassettes/Package/_service_error/returns_nil_without_errors.yml
A src/api/spec/cassettes/Package/_service_error/returns_the_errors.yml
R src/api/spec/cassettes/Package/_service_error/with_error/1_6_2_1.yml
R src/api/spec/cassettes/Package/_service_error/with_error/1_7_2_1.yml
R src/api/spec/cassettes/Package/_service_error/without_error/1_6_1_1.yml
M src/api/spec/models/package_spec.rb
Log Message:
-----------
[ci] Fix the service_error test to poll state
The old cassette shows the problem:
code: 400
message: revision is empty
If you commit a _service and try to fetch the service_error
right afterwards, you might not have a serviceinfo beside
'running', so we need to wait a little.
Unfortunately we can't use cmd=waitservice for this test
as it throws an error for invalid services - which is what
we want to test
Commit: 0aa7fb9ae59b7923e680539bf5888c546f281d89
https://github.com/openSUSE/open-build-service/commit/0aa7fb9ae59b7923e6805…
Author: Stephan Kulow <coolo(a)suse.de>
Date: 2018-06-29 (Fri, 29 Jun 2018)
Changed paths:
M src/api/app/models/package.rb
A src/api/spec/cassettes/Package/_service_error/returns_nil_on_running.yml
M src/api/spec/cassettes/Package/_service_error/returns_nil_without_errors.yml
M src/api/spec/cassettes/Package/_service_error/returns_the_errors.yml
M src/api/spec/models/package_spec.rb
Log Message:
-----------
[ci] Stub the backend calls for service_error
This way we don't need to start a race with the backend to
test the model code.
Commit: 10a91ac5a49b0125bc747ce9e85e9caf40e3510a
https://github.com/openSUSE/open-build-service/commit/10a91ac5a49b0125bc747…
Author: Stephan Kulow <stephan(a)kulow.org>
Date: 2018-06-29 (Fri, 29 Jun 2018)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
M src/api/app/models/package.rb
A src/api/spec/cassettes/Package/_service_error/returns_nil_on_running.yml
A src/api/spec/cassettes/Package/_service_error/returns_nil_without_errors.yml
A src/api/spec/cassettes/Package/_service_error/returns_the_errors.yml
R src/api/spec/cassettes/Package/_service_error/with_error/1_6_2_1.yml
R src/api/spec/cassettes/Package/_service_error/with_error/1_7_2_1.yml
R src/api/spec/cassettes/Package/_service_error/without_error/1_6_1_1.yml
M src/api/spec/models/package_spec.rb
Log Message:
-----------
Merge pull request #5259 from coolo/fix_serviceinfo
Fix service_error test blinking (without cassettes)
Compare: https://github.com/openSUSE/open-build-service/compare/4177f497e025...10a91…
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: b12cc13cfaa23c0a017b4da1c0d2ca22916425c9
https://github.com/openSUSE/open-build-service/commit/b12cc13cfaa23c0a017b4…
Author: Björn Geuken <bgeuken(a)suse.de>
Date: 2018-06-28 (Thu, 28 Jun 2018)
Changed paths:
M src/api/app/models/user.rb
Log Message:
-----------
[frontend] Add User#can_modify? method
We have a couple of code pathes in OBS that operate on both,
projects and packages. So we end up many times having to check whether
we have to run a permission check on an a project or package.
This commit adds a method that calls can_modify_package? or
can_modify_project? depending on the given object class.
Commit: 9b5798351278a7a850a14b50b6aa14419e73b35f
https://github.com/openSUSE/open-build-service/commit/9b5798351278a7a850a14…
Author: Björn Geuken <bgeuken(a)suse.de>
Date: 2018-06-28 (Thu, 28 Jun 2018)
Changed paths:
M src/api/app/controllers/source_controller.rb
M src/api/app/controllers/source_project_config_controller.rb
M src/api/app/controllers/source_project_controller.rb
M src/api/app/controllers/source_project_meta_controller.rb
M src/api/app/controllers/trigger_controller.rb
M src/api/app/controllers/webui/package_controller.rb
M src/api/app/helpers/webui/project_helper.rb
M src/api/app/models/branch_package.rb
M src/api/app/models/bs_request.rb
M src/api/app/models/bs_request_action.rb
M src/api/app/models/bs_request_action_maintenance_release.rb
M src/api/app/models/bs_request_action_submit.rb
M src/api/app/models/bs_request_permission_check.rb
M src/api/app/models/package.rb
M src/api/app/models/project.rb
M src/api/app/models/service.rb
M src/api/app/policies/kiwi/image_policy.rb
M src/api/app/policies/package_policy.rb
M src/api/app/policies/project_policy.rb
M src/api/app/views/shared/_involved_users.html.haml
M src/api/app/views/webui/package/_files_view.html.erb
M src/api/app/views/webui/package/binaries.html.erb
M src/api/app/views/webui/package/meta.html.erb
M src/api/app/views/webui/package/show.html.erb
M src/api/app/views/webui/patchinfo/show.html.haml
M src/api/app/views/webui/project/_packages_table.html.erb
M src/api/app/views/webui/project/maintained_projects.html.erb
M src/api/app/views/webui/project/meta.html.erb
M src/api/app/views/webui/project/prjconf.html.erb
M src/api/app/views/webui/project/show.html.erb
M src/api/app/views/webui/project/status.html.erb
M src/api/app/views/webui/project/subprojects.html.haml
M src/api/app/views/webui/repositories/_repository_entry.html.haml
M src/api/app/views/webui/repositories/index.html.haml
M src/api/lib/opensuse/permission.rb
Log Message:
-----------
[frontend] Replace can_modify_*? methods with User#can_modify?
Replaces can_modify_package? and can_modify_project? methods with
User#can_modify?.
Commit: 97c48e23b02bc05099b6cca7ac4d31dfb89b9a08
https://github.com/openSUSE/open-build-service/commit/97c48e23b02bc05099b6c…
Author: Björn Geuken <bgeuken(a)suse.de>
Date: 2018-06-28 (Thu, 28 Jun 2018)
Changed paths:
M src/api/app/views/shared/_involved_users.html.haml
Log Message:
-----------
[frontend] Refactor involved_users partial by using can_modify? helper
Commit: 84517f8a73ed0648e4403122de268f7d4301dc60
https://github.com/openSUSE/open-build-service/commit/84517f8a73ed0648e4403…
Author: Björn Geuken <bgeuken(a)suse.de>
Date: 2018-06-28 (Thu, 28 Jun 2018)
Changed paths:
M src/api/app/controllers/source_controller.rb
M src/api/app/controllers/source_project_config_controller.rb
M src/api/app/controllers/source_project_controller.rb
M src/api/app/controllers/source_project_meta_controller.rb
M src/api/app/controllers/trigger_controller.rb
M src/api/app/controllers/webui/package_controller.rb
M src/api/app/helpers/webui/project_helper.rb
M src/api/app/models/branch_package.rb
M src/api/app/models/bs_request.rb
M src/api/app/models/bs_request_action.rb
M src/api/app/models/bs_request_action_maintenance_release.rb
M src/api/app/models/bs_request_action_submit.rb
M src/api/app/models/bs_request_permission_check.rb
M src/api/app/models/package.rb
M src/api/app/models/project.rb
M src/api/app/models/service.rb
M src/api/app/models/user.rb
M src/api/app/policies/kiwi/image_policy.rb
M src/api/app/policies/package_policy.rb
M src/api/app/policies/project_policy.rb
M src/api/app/views/shared/_involved_users.html.haml
M src/api/app/views/webui/package/_files_view.html.erb
M src/api/app/views/webui/package/binaries.html.erb
M src/api/app/views/webui/package/meta.html.erb
M src/api/app/views/webui/package/show.html.erb
M src/api/app/views/webui/patchinfo/show.html.haml
M src/api/app/views/webui/project/_packages_table.html.erb
M src/api/app/views/webui/project/maintained_projects.html.erb
M src/api/app/views/webui/project/meta.html.erb
M src/api/app/views/webui/project/prjconf.html.erb
M src/api/app/views/webui/project/show.html.erb
M src/api/app/views/webui/project/status.html.erb
M src/api/app/views/webui/project/subprojects.html.haml
M src/api/app/views/webui/repositories/_repository_entry.html.haml
M src/api/app/views/webui/repositories/index.html.haml
M src/api/lib/opensuse/permission.rb
Log Message:
-----------
Merge pull request #5247 from bgeuken/add_wrapper_for_can_modify_methods
Add wrapper for can modify methods
Compare: https://github.com/openSUSE/open-build-service/compare/96850a7fde04...84517…
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.