Git Product home page Git Product logo

obs_factory's Introduction

ObsFactory

Mountable engine for Open Build Service to add paths that will provide a better overview of some distribution specific artifacts like staging projects.

Provides the following paths:

  • project/dashboard/:project

  • project/staging_projects/:project

  • project/staging_projects/:project/:id

Append ?format=json to access the raw data which will output something like the following.

{ projects: [
    { name: staging:A,
       description: blah,
       untracked_requests: [ 3443, 3444 ],
       obsolete_requests: [ 33221 ],
       unreviewed_requests: [
           { id => 44434, missing_reviews => [repo_checker, legal] },
           { id => 44431, missing_reviews => [repo_checker] } ],
       buildstatus: { working => 3, broken => 1 }
       openqa: [ {job => 33, result => 'ok'} ]
       subprojects: [
           name: staging:A:DVD,
           description: blah DVD,
           untracked_requests: [ ],
           invalid_requests: [ ],
           unreviewed_requests: [ ],
           buildstatus: { working => 3, broken => 1 }
           openqa: [ ]
       ]
    }
]}

Installation

Add this to OBS Gemfile in src/api.

gem 'obs_factory', path: '/local/path/to/obs_factory'

Copy dist/init_obs_factory.rb to OBS/src/api/lib/engines/ and change the require path as needed.

obs_factory's People

Contributors

coolo avatar ancorgs avatar nilxam avatar krauselukas avatar jberry-suse avatar dimstar77 avatar lnussel avatar adrianschroeter avatar andreas-schwab avatar fcrozat avatar hennevogel avatar bugfinder avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.