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

  • about 1 year ago: enavarro_suse started this project.
  • about 1 year ago: enavarro_suse added keyword "obs" to this project.
  • about 1 year ago: enavarro_suse added keyword "rubyonrails" to this project.
  • about 1 year ago: enavarro_suse originated this project.

  • Comments

    • enavarro_suse
      about 1 year 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

    Switch software-o-o to parse repomd data by hennevogel

    Currently software.opensuse.org search is using the OBS binary search for everything, even for packages inside the openSUSE distributions. Let's switch this to use repomd data from download.opensuse.org


    Implement a full OBS api client in Rust by nbelouin

    Description

    I recently started to work on tooling for OBS using rust, to do so I started a Rust create to interact with OBS API, I only implemented a few routes/resources for what I needed. What about making it a full fledged OBS client library.

    Goals

    • Implement more routes/resources
    • Implement a test suite against the actual OBS implementation
    • Bonus: Create an osc like cli in Rust using the library

    Resources

    • https://github.com/suse-edge/obs-tools/tree/main/obs-client
    • https://api.opensuse.org/apidocs/


    New features in openqa-trigger-from-obs for openQA by jlausuch

    Description

    Implement new features in openqa-trigger-from-obs to make xml more flexible.

    Goals

    One of the features to be implemented: - Possibility to define "VERSION" and "ARCH" variables per flavor instead of global.

    Resources

    https://github.com/os-autoinst/openqa-trigger-from-obs


    Automation of ABI compatibility checks by ateixeira

    Description

    ABI compatibility checks could be further automated by using the OBS API to download built RPMs and using existing tools to analyze ABI compatibility between the libraries contained in those packages. This project aims to explore these possibilities and figure out a way to make ABI checks as painless and fast as possible for package maintainers.

    Resources

    https://github.com/openSUSE/abi-compliance-checker

    https://github.com/lvc/abi-compliance-checker

    https://sourceware.org/libabigail/


    Learn about OSB and contribute to `kustomize` and `k9s` packages to add ARM arch by dpock

    Description

    There are already k9s and kustomize packages that exist for openSUSE today. These could be used as the source for these binaries in our rancher projects. By using them we would benefit from CVE fixes included in our distribution of the packages not in cluded upstream. However they are not providing arm package builds which are required.

    Goals

    • [ ] Update the kustomize package in OBS to use the newest version and send change request

    Resources

    • k9s: https://build.opensuse.org/package/show/openSUSE:Factory/k9s
    • kustomize: https://build.opensuse.org/package/show/openSUSE:Factory/kustomize
    • Learning Docs: https://confluence.suse.com/display/packaging/Training%2C+Talks+and+Videos


    Fix RSpec tests in order to replace the ruby-ldap rubygem in OBS by enavarro_suse

    Description

    "LDAP mode is not official supported by OBS!". See: config/options.yml.example#L100-L102

    However, there is an RSpec file which tests LDAP mode in OBS. These tests use the ruby-ldap rubygem, mocking the results returned by a LDAP server.

    The ruby-ldap rubygem seems no longer maintaned, and also prevents from updating to a more recent Ruby version. A good alternative is to replace it with the net-ldap rubygem.

    Before replacing the ruby-ldap rubygem, we should modify the tests so the don't mock the responses of a LDAP server. Instead, we should modify the tests and run them against a real LDAP server.

    Goals

    Goals of this project:

    • Modify the RSpec tests and run them against a real LDAP server
    • Replace the net-ldap rubygem with the ruby-ldap rubygem

    Achieving the above mentioned goals will:

    • Permit upgrading OBS from Ruby 3.1 to Ruby 3.2
    • Make a step towards officially supporting LDAP in OBS.

    Resources