[obs-commits] [openSUSE/open-build-service] 38bf63: [dist] Remove obs-api-testsuite-deps & find_requir...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 38bf6344653f834dd945a14684d38d83bd6943ec https://github.com/openSUSE/open-build-service/commit/38bf6344653f834dd945a1... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: R dist/find-requires.sh R dist/obs-api-deps.spec M dist/obs-server.spec Log Message: ----------- [dist] Remove obs-api-testsuite-deps & find_requires and add all hard dependencies manually to obs-server.spec. This is in preparation of using the bundle_gems service which does not require use find_requires and obs-api-testsuite-deps to pull in the dependencies. Co-authored-by: Ana María Martínez Gómez <ammartinez@suse.de> Commit: 13201bda129fbf45960c9f1ced2da1fd18a743b9 https://github.com/openSUSE/open-build-service/commit/13201bda129fbf45960c9f... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M dist/obs-server.spec M src/api/Makefile Log Message: ----------- [dist] Prepare obs-server.spec to use bundle_gems service Therefore we need to add Gemfile & Gemfile.lock to the sources. Furthermore we now install the gems from the gem cache in /usr/lib64/obs-api/ directory to not override global installed gems. Co-authored-by: Ana María Martínez Gómez <ammartinez@suse.de> Commit: e8f40d1bd08dfe9a17510ea4fbacf364d2b57f7c https://github.com/openSUSE/open-build-service/commit/e8f40d1bd08dfe9a17510e... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M dist/obs-server.spec Log Message: ----------- [dist] Fix rpmlint issues by bundle_gems service By using the bundle_gems service some rpmlint issues got introduced. We e.g fix: - Removing test / spec directory because of broken fixture files (permissions, certificates, shebang) - Removing binstubs with broken shebang line - Running gem_cleanup sript from gem2rpm - Removing .gitignore files - Remove ext directories as only needed for debugging (e.g contains backup files rpmlint does not like) Co-authored-by: Ana María Martínez Gómez <ammartinez@suse.de> Commit: 83aaac93c0c77728aee180df17718aabf3069fd5 https://github.com/openSUSE/open-build-service/commit/83aaac93c0c77728aee180... Author: Stephan Kulow <coolo@suse.de> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M src/api/script/api_test_in_spec.sh Log Message: ----------- Stop cating test.log in rpm builds This creates a 100MB log file that is unusuable in browser logs and you need more time understanding what failed and the chances the test.log helps you more than the actual exception is slim Commit: 33a46413ce6cb24bef79509b8c570e5ab38cede4 https://github.com/openSUSE/open-build-service/commit/33a46413ce6cb24bef7950... Author: Stephan Kulow <coolo@suse.de> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M .rubocop.yml A dist/obs-bundled-gems.spec M dist/obs-server.spec Log Message: ----------- Dist: introduce another spec file to package bundled gems Co-authored-by: Ana María Martínez Gómez <ammartinez@suse.de> Commit: 8ae1ccc77f88bd0e16ca68a0bee866f6152853b4 https://github.com/openSUSE/open-build-service/commit/8ae1ccc77f88bd0e16ca68... Author: Stephan Kulow <coolo@suse.de> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M dist/obs-server.spec Log Message: ----------- Dist: Update the obs-server.spec Use the bundled gems and clean up old suse_versions (minimum SLE12) Commit: 77b0f32ce42b0cdbd9262fa0e36e0e884b9fc00c https://github.com/openSUSE/open-build-service/commit/77b0f32ce42b0cdbd9262f... Author: Stephan Kulow <coolo@suse.de> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M dist/README.UPDATERS M dist/obs-bundled-gems.spec M dist/obs-server.spec M dist/obsapidelayed M dist/setup-appliance.sh M dist/systemd/obsapidelayed.service M docs/api/restility/bin/rest_doc M src/api/Makefile M src/api/Rakefile M src/api/bin/bundle M src/api/bin/rails M src/api/bin/rake M src/api/db/migrate/20150623063641_reindex_sphinx_db.rb M src/api/script/api_test_in_spec.sh M src/api/script/check_database M src/api/script/delayed_job.api.rb M src/api/script/delayed_job_monitor.rb M src/api/script/import M src/api/script/plugin M src/api/script/reformat_memprof M src/api/script/rubygem_package_names.rb M src/api/script/start_test_backend Log Message: ----------- Fix calling of ruby 'binaries' to use bundler Now that the gems are no longer globally installed, but only in a directory bundler knows, we have to be careful what we call where. bin/rails does the right thing as do does passenger, but all other scripts have to be careful Commit: 0b0ba2582e299b905858b7da799bc645ef65b416 https://github.com/openSUSE/open-build-service/commit/0b0ba2582e299b905858b7... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M dist/obs-server.spec Log Message: ----------- Ensure that rake installed & Gemfile version are the same Otherwise passenger will fail when using the Gemfile. This will require manual update of the installed version everytime rake is updated in the Gemfile. As this will only fail when installing the package and not when building it, it is needed to check it manually in the spec. Co-authored-by: Stephan Kulow <coolo@suse.de> Commit: f6a7bc888e57a09721bfaff7c15a427c958b9db8 https://github.com/openSUSE/open-build-service/commit/f6a7bc888e57a09721bfaf... Author: Stephan Kulow <coolo@suse.de> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M dist/obs-server.spec M dist/setup-appliance.sh M src/api/Makefile M src/api/script/api_test_in_spec.sh Log Message: ----------- Use binstubs where possible instead of bundle exec This way there are less places to change when we move to a different ruby version Commit: b5b4e4c93ad1ce5442c364bb1cce16b1ec05966f https://github.com/openSUSE/open-build-service/commit/b5b4e4c93ad1ce5442c364... Author: Stephan Kulow <stephan@kulow.org> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M .rubocop.yml M dist/README.UPDATERS R dist/find-requires.sh R dist/obs-api-deps.spec A dist/obs-bundled-gems.spec M dist/obs-server.spec M dist/obsapidelayed M dist/setup-appliance.sh M dist/systemd/obsapidelayed.service M docs/api/restility/bin/rest_doc M src/api/Makefile M src/api/Rakefile M src/api/bin/bundle M src/api/bin/rails M src/api/bin/rake M src/api/db/migrate/20150623063641_reindex_sphinx_db.rb M src/api/script/api_test_in_spec.sh M src/api/script/check_database M src/api/script/delayed_job.api.rb M src/api/script/delayed_job_monitor.rb M src/api/script/import M src/api/script/plugin M src/api/script/reformat_memprof M src/api/script/rubygem_package_names.rb M src/api/script/start_test_backend Log Message: ----------- Merge pull request #5397 from ChrisBr/spec/gem-service Move to bundle_gems service for obs-server package Compare: https://github.com/openSUSE/open-build-service/compare/4b26ebd56655...b5b4e4... **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
Stephan Kulow