Difference between revisions of "Obsolete Service/obs"
Jump to navigation
Jump to search
Line 52: | Line 52: | ||
== Upgrade notes == | == Upgrade notes == | ||
+ | |||
{| class="wikitable" | {| class="wikitable" | ||
!scope="row" | git | !scope="row" | git | ||
Line 58: | Line 59: | ||
|- | |- | ||
|} | |} | ||
+ | |||
+ | Packages: | ||
+ | |||
+ | apt-get install liblocal-lib-perl libio-compress-perl libnet-ssleay-perl createrepo cmake librpm-dev check | ||
+ | |||
+ | Gems: | ||
+ | |||
+ | su - obs | ||
+ | cd ~/app/src/api | ||
+ | rake gems:install | ||
+ | |||
+ | Perl modules: | ||
+ | cpan -i Socket/MsgHdr.pm | ||
+ | |||
+ | Build sat-solver: | ||
+ | |||
+ | su - obs | ||
+ | cd ~/app/src/backend/sat-solver | ||
+ | cmake . -DDEBIAN=1 | ||
+ | make | ||
+ | |||
+ | Build BSSolv: | ||
+ | |||
+ | su - obs | ||
+ | cd ~/app/src/backend | ||
+ | perl Makefile.PL | ||
+ | make | ||
== Hints == | == Hints == |
Revision as of 06:24, 6 April 2013
Hostnames
- obs.sugarlabs.org
- packages.sugarlabs.org
- sweets.sugarlabs.org
Hosted on
Administrative contact
- obs AT sugarlabs DOT org
Sysadmins
Notes
OBS instance with sugar related changes.
Home | /srv/obs
|
---|---|
Daemon |
|
Config |
|
Logs | /srv/obs/site/log
|
SSL certificates |
|
Upgrade notes
git |
|
---|
Packages:
apt-get install liblocal-lib-perl libio-compress-perl libnet-ssleay-perl createrepo cmake librpm-dev check
Gems:
su - obs cd ~/app/src/api rake gems:install
Perl modules:
cpan -i Socket/MsgHdr.pm
Build sat-solver:
su - obs cd ~/app/src/backend/sat-solver cmake . -DDEBIAN=1 make
Build BSSolv:
su - obs cd ~/app/src/backend perl Makefile.PL make
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]}