Project Description

There is some code to create database entries in the database cleaner file (spec/support/database_cleaner.rb).

These database entries should be removed from the database cleaner, and:

  • create these records in the seeds, and
  • create data migrations with these entries

Goal for this Hackweek

  • Remove the code to create database entries from the database cleaner
  • Create these records in the seeds, and
  • Create data migrations with these entries

These changes should also fix this issue: https://github.com/openSUSE/open-build-service/issues/13931

Resources

  • database_cleaner.rb script: https://github.com/openSUSE/open-build-service/blob/master/src/api/spec/support/database_cleaner.rb
  • seeds.rb script: https://github.com/openSUSE/open-build-service/blob/master/src/api/db/seeds.rb
  • Build Solutions Trello card: https://trello.com/c/WOXnpR11/2366-improve-databasecleanerrb

Looking for hackers with the skills:

obs rubyonrails

This project is part of:

Hack Week 23

Activity

  • 9 months ago: enavarro_suse started this project.
  • 9 months ago: enavarro_suse added keyword "obs" to this project.
  • 9 months ago: enavarro_suse added keyword "rubyonrails" to this project.
  • 9 months ago: enavarro_suse originated this project.

  • Comments

    • enavarro_suse
      9 months ago by enavarro_suse | Reply

      With these three pull requests, the project is finished:

      • https://github.com/openSUSE/open-build-service/pull/15178
      • https://github.com/openSUSE/open-build-service/pull/15180
      • https://github.com/openSUSE/open-build-service/pull/15181

    Similar Projects

    This project is one of its kind!