Skip to content

Plugin for Open Build Service to manage openSUSE Factory related stuff

License

Notifications You must be signed in to change notification settings

jberry-suse/obs_factory

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObsFactory

Mountable engine for Open Build Service to add some urls that will allow a better overview of some openSUSE Factory specific artifacts like staging projects.

For example, if the engine is mounted in /factory it will provide /factory/staging_projects.json which will output something like

{ 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: [ ]
    ]
  } ]
}

And /factory/staging_projects.html which will provide the same information in a convenient dashboard.

Installing

Add this to OBS Gemfile

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

And this to the config/routes.rb file of OBS inside the routes.draw block

mount ObsFactory::Engine => "/factory"

About

Plugin for Open Build Service to manage openSUSE Factory related stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 72.1%
  • HTML 21.3%
  • CSS 5.9%
  • JavaScript 0.7%