[openSUSE/open-build-service] 1885ea: Move distribution related methods to a concern
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 1885eaea36cb7614392a9305cdf8dbcea79845f2 https://github.com/openSUSE/open-build-service/commit/1885eaea36cb7614392a93... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2021-07-21 (Wed, 21 Jul 2021) Changed paths: M src/api/.rubocop_todo.yml A src/api/app/models/concerns/project_distribution.rb M src/api/app/models/project.rb Log Message: ----------- Move distribution related methods to a concern Commit: 8966896a00e56a208c5b4d37ccb7ffb70b786f05 https://github.com/openSUSE/open-build-service/commit/8966896a00e56a208c5b4d... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2021-07-21 (Wed, 21 Jul 2021) Changed paths: M src/api/app/assets/javascripts/webui/application.js A src/api/app/assets/javascripts/webui/distributions.js M src/api/app/assets/javascripts/webui/repositories.js A src/api/app/controllers/webui/distributions_controller.rb M src/api/app/controllers/webui/repositories_controller.rb M src/api/app/models/repository.rb A src/api/app/views/webui/distributions/_breadcrumb_items.html.haml A src/api/app/views/webui/distributions/_variant.html.haml A src/api/app/views/webui/distributions/new.html.haml A src/api/app/views/webui/distributions/toggle.js.erb M src/api/app/views/webui/package/_no_repositories.html.haml M src/api/app/views/webui/project/_buildstatus.html.haml M src/api/app/views/webui/repositories/_breadcrumb_items.html.haml M src/api/app/views/webui/repositories/_project_repositories.html.haml R src/api/app/views/webui/repositories/distributions.html.haml M src/api/config/routes/webui_routes.rb M src/api/spec/models/repository_spec.rb Log Message: ----------- Introduces Distribution Variants If two `Distribution` from the same vender have the same repository name, they are considered "variants". You can only enable one variant in the UI. This is useful for stacked distributions where one includes the other. Like Arch community which includes all packages from Arch extra. Additionally: This moves the distribution related UI functionality into it's own controller: Webui::DistributionsController Commit: 80d8457bd761364f876ec95ae546d7519918907e https://github.com/openSUSE/open-build-service/commit/80d8457bd761364f876ec9... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2021-07-21 (Wed, 21 Jul 2021) Changed paths: M src/api/app/models/project.rb Log Message: ----------- Remove distributions with interconnect projects If the interconnect is removed, remove the remote distributions that build on top of it too. Commit: ecf6a51430d7cbccf8f6a4ee4d52042c71e96227 https://github.com/openSUSE/open-build-service/commit/ecf6a51430d7cbccf8f6a4... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2021-07-21 (Wed, 21 Jul 2021) Changed paths: M src/api/app/jobs/fetch_remote_distributions_job.rb Log Message: ----------- Require project parameter, it's always needed Commit: 6f28c8f378847bd3016a019b1bc15beeaee16658 https://github.com/openSUSE/open-build-service/commit/6f28c8f378847bd3016a01... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2021-07-21 (Wed, 21 Jul 2021) Changed paths: A src/api/spec/controllers/webui/distributions_controller_spec.rb M src/api/spec/controllers/webui/repositories_controller_spec.rb M src/api/spec/features/webui/repositories_spec.rb Log Message: ----------- Spec out controller Commit: eea16b1920e6a284de3a2a88b6c6c7b7ea5f8a74 https://github.com/openSUSE/open-build-service/commit/eea16b1920e6a284de3a2a... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2021-07-21 (Wed, 21 Jul 2021) Changed paths: M src/api/app/models/project/remote_url.rb Log Message: ----------- Catch one more reason fetching something can go wrong DNS problems or wrong url... Commit: 48b331bf94f1ca32559a877f752a6f8eb63cf8ef https://github.com/openSUSE/open-build-service/commit/48b331bf94f1ca32559a87... Author: Victor Pereira <vpereira@suse.de> Date: 2021-07-21 (Wed, 21 Jul 2021) Changed paths: M src/api/.rubocop_todo.yml M src/api/app/assets/javascripts/webui/application.js A src/api/app/assets/javascripts/webui/distributions.js M src/api/app/assets/javascripts/webui/repositories.js A src/api/app/controllers/webui/distributions_controller.rb M src/api/app/controllers/webui/repositories_controller.rb M src/api/app/jobs/fetch_remote_distributions_job.rb A src/api/app/models/concerns/project_distribution.rb M src/api/app/models/project.rb M src/api/app/models/project/remote_url.rb M src/api/app/models/repository.rb A src/api/app/views/webui/distributions/_breadcrumb_items.html.haml A src/api/app/views/webui/distributions/_variant.html.haml A src/api/app/views/webui/distributions/new.html.haml A src/api/app/views/webui/distributions/toggle.js.erb M src/api/app/views/webui/package/_no_repositories.html.haml M src/api/app/views/webui/project/_buildstatus.html.haml M src/api/app/views/webui/repositories/_breadcrumb_items.html.haml M src/api/app/views/webui/repositories/_project_repositories.html.haml R src/api/app/views/webui/repositories/distributions.html.haml M src/api/config/routes/webui_routes.rb A src/api/spec/controllers/webui/distributions_controller_spec.rb M src/api/spec/controllers/webui/repositories_controller_spec.rb M src/api/spec/features/webui/repositories_spec.rb M src/api/spec/models/repository_spec.rb Log Message: ----------- Merge pull request #11250 from hennevogel/feature/distro-variants Feature: Distribution variants Compare: https://github.com/openSUSE/open-build-service/compare/106e8b1b3169...48b331...
participants (1)
-
Victor Pereira