[obs-commits] [openSUSE/open-build-service] 0b137e: [api] avoid an endless loop in special situations
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 0b137ea33a657b07cc7bc8fe06fd52a248275d61 https://github.com/openSUSE/open-build-service/commit/0b137ea33a657b07cc7bc8... Author: Adrian Schröter <adrian@suse.de> Date: 2017-09-05 (Tue, 05 Sep 2017) Changed paths: M src/api/app/models/project.rb Log Message: ----------- [api] avoid an endless loop in special situations When multiple reuse of repositories in same project in the right order. Current code will find the new created path again and again, so we need a cycle detection here. It would be possible to simplify the code a lot, if we just could update a single entry instead, but we don't guarantee single entry for position atm. Commit: 945a2df00c94a9cc4789101dd2077c2ac064627c https://github.com/openSUSE/open-build-service/commit/945a2df00c94a9cc478910... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2017-09-06 (Wed, 06 Sep 2017) Changed paths: M src/api/app/models/project.rb Log Message: ----------- Merge pull request #3763 from adrianschroeter/fix_loop [api] avoid an endless loop in special situations Compare: https://github.com/openSUSE/open-build-service/compare/92f913c38fdf...945a2d...
participants (1)
-
Henne Vogelsang