[obs-commits] [openSUSE/open-build-service] 6a9e87: Hide build results for delete requests
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 6a9e8708bbecef94349fe42b2df4ef6ec1c82889 https://github.com/openSUSE/open-build-service/commit/6a9e8708bbecef94349fe4... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2020-05-08 (Fri, 08 May 2020) Changed paths: M src/api/app/views/webui/shared/_buildresult_box.html.haml Log Message: ----------- Hide build results for delete requests When we are in a request for package deletion, it makes no sense to build the package which no longer exists. Using 'defined?' to ckeck if the project or package exist is not a good idea because it always returns truthy (returns "local-variable") even if they are nil. Therefore, 'defined?' has been replaced by '||='. Commit: 8154a28c3b2c0794c4920d0ce737421fdeee7f0d https://github.com/openSUSE/open-build-service/commit/8154a28c3b2c0794c4920d... Author: Lukas Krause <lkrause@suse.de> Date: 2020-05-08 (Fri, 08 May 2020) Changed paths: M src/api/app/views/webui/shared/_buildresult_box.html.haml Log Message: ----------- Merge pull request #9522 from saraycp/fix-9514 Hide build results for delete requests Compare: https://github.com/openSUSE/open-build-service/compare/d3fbb13a07d2...8154a2...
participants (1)
-
Lukas Krause