The webui is currently the poor cousin of the OBS parts even though it's wildly used. It's a pain in the ass to code for it as there is not a API for most things you need to do - and if there is it's cumbersome to use.

E.g. the webui needs to query /configuration.xml to find out the page title. This XML contains all configurable items about the OBS including scheduler splits, architectures, ...

The general idea of this project is to make the webui an engine of the API so we can map build.opensuse.org to api.opensuse.org/webui and be done with it. The webui engine then can make use of the API models in their beauty, also removing code duplication.

Looking for hackers with the skills:

ruby

This project is part of:

Hack Week 10

Activity

  • about 11 years ago: srinidhi liked this project.
  • about 11 years ago: hennevogel liked this project.
  • about 11 years ago: ralfflaxa liked this project.
  • about 11 years ago: dmdiss liked this project.
  • about 11 years ago: coolo added keyword "ruby" to this project.
  • about 11 years ago: coolo started this project.
  • about 11 years ago: coolo originated this project.

  • Comments

    • coolo
      about 11 years ago by coolo | Reply

      https://github.com/coolo/open-build-service/compare/new_webui?expand=1 shows the current state - no single test passes :)

    • coolo
      about 11 years ago by coolo | Reply

      the idea is to finish integrating the webui below /webui2, then remove the need of the webui controllers and after that remount to /webui

    • coolo
      about 11 years ago by coolo | Reply

      The webui is dead - long live the webui engine :)

      OK, not for so long actually, the end goal is having one rails app to rule them all.

    • coolo
      about 11 years ago by coolo | Reply

      Details: http://lists.opensuse.org/opensuse-buildservice/2013-10/msg00086.html

    Similar Projects

    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


    Recipes catalog and calculator in Rails 8 by gfilippetti

    My wife needs a website to catalog and sell the products of her upcoming bakery, and I need to learn and practice modern Rails. So I'm using this Hack Week to build a modern store using the latest Ruby on Rails best practices, ideally up to the deployment.

    TO DO

    • Index page
    • Product page
    • Admin area -- Supplies calculator based on orders -- Orders notification
    • Authentication
    • Payment
    • Deployment

    Day 1

    As my Rails knowledge was pretty outdated and I had 0 experience with Turbo (wich I want to use in the app), I started following a turbo-rails course. I completed 5 of 11 chapters.

    Day 2

    Continued the course until chapter 8 and added live updates & an empty state to the app. I should finish the course on day 3 and start my own project with the knowledge from it.

    Hackweek 24

    For this Hackweek I'll continue this project, focusing on a Catalog/Calculator for my wife's recipes so she can use for her Café.

    Day 1