Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 5f05409384e5b2df539dadbb26e0b09bc41d6e83
https://github.com/openSUSE/open-build-service/commit/5f05409384e5b2df539da…
Author: B S Srinidhi <srinidhi.bs(a)gmail.com>
Date: 2019-07-25 (Thu, 25 Jul 2019)
Changed paths:
M src/api/app/models/issue.rb
M src/api/spec/factories/issue.rb
M src/api/spec/factories/issue_tracker.rb
M src/api/spec/mixins/parse_package_diff_spec.rb
M src/api/spec/models/issue_spec.rb
M src/api/test/unit/attrib_test.rb
Log Message:
-----------
[frontend] Add validation for Issue.name
This patch is extension of PR#4128 in order to fix test failures.
Fixes #1215
Use custom validation to match Issue.name against regex defined in
corresponding IssueTracker.
Also fixed `valid_name?` method to match the name with the regex defined
in the corresponding issue tracker.
rspec:
* Setting issue name to correct format.
* Replacing 'deleted' with 1234 as name of the deleted issue.
* New model tests (based on user_spec.rb) to validate simple issues.
* Ensure CVE-XXXX-YYYY value in name is marked as invalid.
[ci] Associate IssueTracker when creating new Issue
Commit: 19c61b1707384e400f23a6bffe1dd7aa3b5f8aa7
https://github.com/openSUSE/open-build-service/commit/19c61b1707384e400f23a…
Author: Victor Pereira <vpereira(a)suse.de>
Date: 2019-07-31 (Wed, 31 Jul 2019)
Changed paths:
M src/api/app/models/issue.rb
M src/api/spec/factories/issue.rb
M src/api/spec/factories/issue_tracker.rb
M src/api/spec/mixins/parse_package_diff_spec.rb
M src/api/spec/models/issue_spec.rb
M src/api/test/unit/attrib_test.rb
Log Message:
-----------
Merge pull request #7291 from srinidhibs/validate-issue-name
[frontend] Add validation for Issue.name
Compare: https://github.com/openSUSE/open-build-service/compare/d72e21ccb517...19c61…
Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: d72e21ccb51747f4f674a4e4e3c3d0b588551836
https://github.com/openSUSE/open-build-service/commit/d72e21ccb51747f4f674a…
Author: Frank Schreiner <schreiner(a)suse.de>
Date: 2019-07-31 (Wed, 31 Jul 2019)
Changed paths:
M dist/obs-server.spec
M src/backend/Makefile
Log Message:
-----------
[dist] Include backend data dirs in package
Setting proper permissions for the top level directories in /srv/obs.
This was formerly done by "obsstoragesetup" only.
As "obsstoragesetup" should not be mandatory to run to get an working OBS
server, now this also done in the package. We also keep the old method in
"obsstoragesetup" as it gives the possibility to change OBS_BASE_DIR to users
needs.
Fixes #7984
Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 2c97009441e9cd5d36e1e1c3215b5d63c6e7c717
https://github.com/openSUSE/open-build-service/commit/2c97009441e9cd5d36e1e…
Author: Henne Vogelsang <hvogel(a)opensuse.org>
Date: 2019-07-31 (Wed, 31 Jul 2019)
Changed paths:
M src/api/config/initializers/delayed_job_config.rb
Log Message:
-----------
Switching the reserve SQL strategy for DelayedJob
There are too many problems with the optimized SQL for locking jobs,
if there are over 10K jobs it takes about 2 seconds on build.o.o.
Co-authored-by: Stephan Kulow <coolo(a)suse.de>
Commit: c1d27d686d72ac695a2765af2e0a59473e9afdde
https://github.com/openSUSE/open-build-service/commit/c1d27d686d72ac695a276…
Author: Henne Vogelsang <hvogel(a)opensuse.org>
Date: 2019-07-31 (Wed, 31 Jul 2019)
Changed paths:
M src/api/config/initializers/delayed_job_config.rb
Log Message:
-----------
Merge pull request #8004 from hennevogel/bugfix/dj-sql-strategy
Switching the reserve SQL strategy for DelayedJob
Compare: https://github.com/openSUSE/open-build-service/compare/8c073f702c3e...c1d27…