Branch: refs/heads/master
Home: https://github.com/openSUSE/software-o-o
Commit: 8ba27a888d618f5e290d414bafaea8606aa89c47
https://github.com/openSUSE/software-o-o/commit/8ba27a888d618f5e290d414bafae...
Author: Alexander Graul
Date: 2019-05-05 (Sun, 05 May 2019)
Changed paths:
M app/controllers/distributions_controller.rb
M app/helpers/distribution_helper.rb
M config/routes.rb
M test/integration/distributions_test.rb
Log Message:
-----------
Use a single Leap action to render all releases
All three releases ("testing", "stable" and "legacy") share a lot of
logic. Instead of having three actions that basically do the same, only
one action is needed that behaves differently based on how it was
accessed (i.e. by which route). Additionally, this allows an easy
addition of versioned leap routes. From now on, /leap/15_1 will render
the appropriate page (while in beta, it uses the "testing" style, then
the regular ("stable") style).
Tests for /distributions/testing, /distributions/legacy and versioned
routes are added to ensure the action works correctly.
Fixes https://github.com/openSUSE/software-o-o/issues/542.
Co-authored-by: Ana María Martínez Gómez
Commit: 9bc705448b7cd91b07124388b2bb61f54bb8871b
https://github.com/openSUSE/software-o-o/commit/9bc705448b7cd91b07124388b2bb...
Author: Ana María Martínez Gómez
Date: 2019-05-06 (Mon, 06 May 2019)
Changed paths:
M app/controllers/distributions_controller.rb
M app/helpers/distribution_helper.rb
M config/routes.rb
M test/integration/distributions_test.rb
Log Message:
-----------
Merge pull request #559 from alexandergraul/leap_versioned_routes
Use a single Leap action to render all releases
Compare: https://github.com/openSUSE/software-o-o/compare/da1a0edd6d28...9bc705448b7c