[openSUSE/open-build-service] e992fd: Allow retrieving deleted maintainers
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: e992fd0ee500076018bc27f2f4eb841efab71f79 https://github.com/openSUSE/open-build-service/commit/e992fd0ee500076018bc27... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-05-10 (Wed, 10 May 2023) Changed paths: M src/api/app/mixins/has_relationships.rb Log Message: ----------- Allow retrieving deleted maintainers Until now, retrieving projects' maintainers that were deleted made the code crash. Deleted users are displayed everywhere in the application (groups' members, projects' users etc). They are visible but on a special state, "deleted". So there is no reason to stop displaying them in the list of maintainers. Commit: ba9df5cd61cc639c9d580716123994f7e99ffc1b https://github.com/openSUSE/open-build-service/commit/ba9df5cd61cc639c9d5807... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-05-10 (Wed, 10 May 2023) Changed paths: A src/api/spec/cassettes/Project/_maintainers/returns_all_the_users_but_user_2_only_once.yml A src/api/spec/cassettes/Project/_maintainers/when_one_of_the_users_is_deleted/still_returns_the_deleted_user.yml A src/api/spec/cassettes/Project/_maintainers/when_the_group_is_deleted/returns_the_deleted_user_but_not_the_deleted_group_s_user.yml M src/api/spec/models/project_spec.rb Log Message: ----------- Add specs for Project#maintainers Which is defined in the mixin HasRelationships. Commit: 2e4f9e1673bd1200748cad0382a80e31dbc2c3ff https://github.com/openSUSE/open-build-service/commit/2e4f9e1673bd1200748cad... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2023-05-11 (Thu, 11 May 2023) Changed paths: M src/api/app/mixins/has_relationships.rb A src/api/spec/cassettes/Project/_maintainers/returns_all_the_users_but_user_2_only_once.yml A src/api/spec/cassettes/Project/_maintainers/when_one_of_the_users_is_deleted/still_returns_the_deleted_user.yml A src/api/spec/cassettes/Project/_maintainers/when_the_group_is_deleted/returns_the_deleted_user_but_not_the_deleted_group_s_user.yml M src/api/spec/models/project_spec.rb Log Message: ----------- Merge pull request #14303 from saraycp/fix_14302 Allow retrieving deleted maintainers Compare: https://github.com/openSUSE/open-build-service/compare/11b63a2ba084...2e4f9e...
participants (1)
-
Henne Vogelsang