Difference between revisions of "Obsolete Service/obs"

From Sugar Labs
Jump to navigation Jump to search
Line 58: Line 58:
 
|-
 
|-
 
|}
 
|}
 +
 +
== Hints ==
 +
 +
Delete download repository copies:
 +
 +
repos={}; Download.find_each {|i| repos[i.metafile] = [(repos.include?(i.metafile) ? repos[i.metafile] : 0), i.id].max}; Download.find_each {|i| i.delete if i.id != repos[i.metafile]}

Revision as of 07:52, 19 February 2013

Hostnames

  • obs.sugarlabs.org
  • packages.sugarlabs.org
  • sweets.sugarlabs.org

Hosted on

Machine/jita

Administrative contact

  • obs AT sugarlabs DOT org

Sysadmins

Notes

OBS instance with sugar related changes.

Home /srv/obs
Daemon

/etc/init.d/obs
/etc/init.d/obs-worker

Config

/srv/obs/app/src/backend/BSConfig.pm
/srv/obs/app/src/api/config/
/srv/obs/app/src/webui/config/

Logs /srv/obs/site/log
SSL certificates

/etc/ssl/private/obs.sugarlabs.org.key
/etc/ssl/certs/obs.sugarlabs.org.pem
/etc/ssl/private/packages.sugarlabs.org.key
/etc/ssl/certs/packages.sugarlabs.org.pem

Warning.png
Caution
Since python OBS clients can't handle SNI, default vhost needs to provide obs.sugarlabs.org SSL certificate.

Upgrade notes

git

/srv/obs/app

Hints

Delete download repository copies:

repos={}; Download.find_each {|i| repos[i.metafile] = [(repos.include?(i.metafile) ? repos[i.metafile] : 0), i.id].max}; Download.find_each {|i| i.delete if i.id != repos[i.metafile]}