Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: dba77a315b25dcb800ed19412b9784a3e7dd69ec
https://github.com/openSUSE/osc/commit/dba77a315b25dcb800ed19412b9784a3e7dd…
Author: Andreas Hasenkopf <ahasenkopf(a)suse.de>
Date: 2020-12-28 (Mon, 28 Dec 2020)
Changed paths:
M .travis.yml
Log Message:
-----------
CI pipeline: Skip cleanup prior to deployment
Deployment via Travis CI failed due an error during
cleanup (#884):
`Could not restore untracked files from stash entry`
Disabling the cleanup fixes this problem.
Commit: a6012b92b38c3909eef6e9386d19fa761be5c246
https://github.com/openSUSE/osc/commit/a6012b92b38c3909eef6e9386d19fa761be5…
Author: Marcus Huewe <suse-tux(a)gmx.de>
Date: 2020-12-28 (Mon, 28 Dec 2020)
Changed paths:
M .travis.yml
Log Message:
-----------
Merge branch 'pypi_bugfix' of https://github.com/crazyscientist/osc
Workaround/fix for pypi deployment via travis.
Note: I cannot really "review" this change because I have no clue about
travis. Since the current pypi deployment via travis does not seem to
work, merging it does not seem to be a problem.
Probably fixes: #884 ("osc pypi artifact is not up to date")
Compare: https://github.com/openSUSE/osc/compare/610456005025...a6012b92b38c
Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 4f3a306e502d112aead71b555acc7c2cafa77fa8
https://github.com/openSUSE/open-build-service/commit/4f3a306e502d112aead71…
Author: Jacopo <beschi.jacopo(a)gmail.com>
Date: 2020-12-16 (Wed, 16 Dec 2020)
Changed paths:
M src/api/app/controllers/webui/status_messages_controller.rb
A src/api/app/policies/webui/status_message_policy.rb
M src/api/spec/controllers/webui/status_messages_controller_spec.rb
A src/api/spec/policies/webui/status_message_policy_spec.rb
Log Message:
-----------
Replace `require_login` with Pundit in Webui::StatusMessagesController
This is a PR of a series which replaces `require_login` with `Pundit`.
You can find further relevant info in #10083.
Tackles `Webui::StatusMessagesController`
Ref #10083
Commit: ecc0f977324c25723cd89f3282b7256f6dc6d632
https://github.com/openSUSE/open-build-service/commit/ecc0f977324c25723cd89…
Author: Lukas Krause <lkrause(a)suse.de>
Date: 2020-12-22 (Tue, 22 Dec 2020)
Changed paths:
M src/api/app/controllers/webui/status_messages_controller.rb
A src/api/app/policies/webui/status_message_policy.rb
M src/api/spec/controllers/webui/status_messages_controller_spec.rb
A src/api/spec/policies/webui/status_message_policy_spec.rb
Log Message:
-----------
Merge pull request #10557 from intrip/refactor_require_login_status_messages
Replace `require_login` with Pundit in Webui::StatusMessagesController
Compare: https://github.com/openSUSE/open-build-service/compare/0ede6a3e1c50...ecc0f…
Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: 1aab0a8ed98e41a9194f33a8a571c78039553255
https://github.com/openSUSE/osc/commit/1aab0a8ed98e41a9194f33a8a571c7803955…
Author: Marcus Huewe <suse-tux(a)gmx.de>
Date: 2020-12-09 (Wed, 09 Dec 2020)
Changed paths:
M osc/commandline.py
Log Message:
-----------
Do not supersede the same requests several times in osc creq
When calling "osc creq -a prj1 foo prj2 bar -a submit prj1 bar prj2 bar",
the requests that could be superseded are calculated two times for the
prj2/bar package. Hence, they could end up two times in the "supersede"
list (see do_createrequest) In order to avoid duplicates, use a set
instead of a list.
Kudos to darix for pointing this out!
Note: it is a bit questionable if osc's current semantics makes sense
in the above example.
Commit: 0926e37f1e05978d5c0caf54ea2a24af70dfe5b7
https://github.com/openSUSE/osc/commit/0926e37f1e05978d5c0caf54ea2a24af70df…
Author: Marcus Huewe <suse-tux(a)gmx.de>
Date: 2020-12-22 (Tue, 22 Dec 2020)
Changed paths:
M osc/commandline.py
Log Message:
-----------
Do not return Request instances in Osc._submit_request
If there are existing requests that should be superseded, the old
code stores the Request instances in the myreqs list, which is
returned to the caller. However, the caller expects only request
ids instead of instances of class Request. Eventually, this results
in a type error - excerpt:
...
File "/usr/lib/python3.8/site-packages/osc/commandline.py", line 1892, in do_createrequest
change_request_state(apiurl, srid, 'superseded',
File "/usr/lib/python3.8/site-packages/osc/core.py", line 4322, in change_request_state
u = makeurl(apiurl,
File "/usr/lib/python3.8/site-packages/osc/core.py", line 3326, in makeurl
return urlunsplit((scheme, netloc, '/'.join([path] + list(l)), query, ''))
TypeError: sequence item 2: expected str instance, Request found
Hence, simply return the request ids instead of the Request instances.
Note: this changes the API of the Osc._submit_request method but
this is OK because it is not part of the public API.
Commit: e06c6337983b7f5365c5dc6934acd5771c8b9650
https://github.com/openSUSE/osc/commit/e06c6337983b7f5365c5dc6934acd5771c8b…
Author: Marcus Huewe <suse-tux(a)gmx.de>
Date: 2020-12-22 (Tue, 22 Dec 2020)
Changed paths:
M osc/commandline.py
Log Message:
-----------
Merge branch 'fix__submit_request_id_return' of https://github.com/marcus-h/osc
Only return request ids in Osc._submit_request in order to avoid a
TypeError in the caller when processing the results.
Commit: 610456005025321e361d0c68ee2f87185e82be42
https://github.com/openSUSE/osc/commit/610456005025321e361d0c68ee2f87185e82…
Author: Marcus Huewe <suse-tux(a)gmx.de>
Date: 2020-12-22 (Tue, 22 Dec 2020)
Changed paths:
M osc/commandline.py
Log Message:
-----------
Merge branch 'creq_no_supersede_dups' of https://github.com/marcus-h/osc
Do not supersede the same requests several times in osc creq.
Compare: https://github.com/openSUSE/osc/compare/745dc1180d3b...610456005025
Branch: refs/heads/master
Home: https://github.com/openSUSE/obs-build
Commit: 451a4fb29565e4e29e0c5b18f17a972ee24fecfd
https://github.com/openSUSE/obs-build/commit/451a4fb29565e4e29e0c5b18f17a97…
Author: Michael Schroeder <mls(a)suse.de>
Date: 2020-12-22 (Tue, 22 Dec 2020)
Changed paths:
M build-vm
Log Message:
-----------
Add a test to check if we know the specified filesystem
For some reason bash terminates the function if the variable
name is bad in a ${!var} expansion. So make sure that var
is known to return a valid error.
Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 3bd43fd8aa4367fec3d552f32f0d8ac4a8fd376b
https://github.com/openSUSE/open-build-service/commit/3bd43fd8aa4367fec3d55…
Author: Daniel Donisa <daniel.donisa(a)suse.com>
Date: 2020-12-18 (Fri, 18 Dec 2020)
Changed paths:
M src/api/lib/tasks/make_user_an_admin.rake
A src/api/lib/tasks/user_admin_rights.rb
A src/api/spec/lib/tasks/user_admin_rights_spec.rb
Log Message:
-----------
Add a rake task to toggle admin rights on some user
In order to avoid repeating some mistakes made previously when dealing with data
on production, we've automated the process of granting and removing admin rights
to some specific user.
Fixes #10524
Commit: 0ede6a3e1c50f4a7ad25b05e459cd36629645448
https://github.com/openSUSE/open-build-service/commit/0ede6a3e1c50f4a7ad25b…
Author: Lukas Krause <lkrause(a)suse.de>
Date: 2020-12-22 (Tue, 22 Dec 2020)
Changed paths:
M src/api/lib/tasks/make_user_an_admin.rake
A src/api/lib/tasks/user_admin_rights.rb
A src/api/spec/lib/tasks/user_admin_rights_spec.rb
Log Message:
-----------
Merge pull request #10530 from danidoni/add-role-removal-rake-task
Add role removal rake task
Compare: https://github.com/openSUSE/open-build-service/compare/0e3def877c68...0ede6…