Difference between revisions of "User talk:Snoble"
From SME Server
Jump to navigationJump to searchm |
m (plague) |
||
Line 1: | Line 1: | ||
− | + | *set up developer environment | |
$ cat /etc/profile.d/smebuild.sh | $ cat /etc/profile.d/smebuild.sh | ||
Line 12: | Line 12: | ||
alias cp='cp -i --preserve=timestamps' | alias cp='cp -i --preserve=timestamps' | ||
alias mv='mv -i' | alias mv='mv -i' | ||
+ | |||
+ | *Setup access to build system | ||
+ | $ yum install --enablerepo=smedev plague-client | ||
+ | |||
+ | # ask admin@contribs.org for certificates, | ||
+ | # give email address to use for notifications, and to be subscribed to lists | ||
+ | |||
+ | # cp certs and config to ~/ | ||
+ | .plague-client.cfg | ||
+ | .username.pem | ||
+ | .contribs-upload-ca.pem | ||
+ | .contribs-server-ca.pem | ||
+ | |||
+ | # check access | ||
+ | $ plague-client list_builders | ||
+ | |||
+ | Builders: | ||
+ | ------------------------------------------------------------------------------------------ | ||
+ | build64-1.contribs.org x86_64 amd64 ia32e noarch i386 i486 i586 i686 athlon available | ||
+ | build32-1.contribs.org i386 i486 i586 i686 athlon noarch available | ||
− | + | * if local username is different to sf.net username | |
$ cat ~/.ssh/config | $ cat ~/.ssh/config | ||
Host smeserver.cvs.sourceforge.net | Host smeserver.cvs.sourceforge.net | ||
Line 24: | Line 44: | ||
− | + | * import cvs code (not source code) | |
mkdir ~/smeserver | mkdir ~/smeserver | ||
cd ~/smeserver | cd ~/smeserver | ||
Line 38: | Line 58: | ||
− | + | * go to work | |
cd smeserver/work or smecontribs/work | cd smeserver/work or smecontribs/work | ||
mzgetsf smeserver-release | mzgetsf smeserver-release |
Revision as of 02:34, 25 December 2007
- set up developer environment
$ cat /etc/profile.d/smebuild.sh # Developer environment # This gets symlinked into /etc/profile.d export CVS_RSH=ssh # tell CVS to use ssh # DO NOT set CVSROOT alias rm='rm -i' alias cp='cp -i --preserve=timestamps' alias mv='mv -i'
- Setup access to build system
$ yum install --enablerepo=smedev plague-client # ask admin@contribs.org for certificates, # give email address to use for notifications, and to be subscribed to lists # cp certs and config to ~/
.plague-client.cfg .username.pem .contribs-upload-ca.pem .contribs-server-ca.pem
# check access $ plague-client list_builders Builders: ------------------------------------------------------------------------------------------ build64-1.contribs.org x86_64 amd64 ia32e noarch i386 i486 i586 i686 athlon available build32-1.contribs.org i386 i486 i586 i686 athlon noarch available
- if local username is different to sf.net username
$ cat ~/.ssh/config Host smeserver.cvs.sourceforge.net User sfusername Host smecontribs.cvs.sourceforge.net User sfusername $ chmod 600 ~/.ssh/config
- import cvs code (not source code)
mkdir ~/smeserver cd ~/smeserver cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P rpms cd rpms cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P common mkdir ~/smecontribs cd ~/smecontribs cvs -z3 -d:ext:smecontribs.cvs.sourceforge.net:/cvsroot/smecontribs co -P rpms cd rpms cvs -z3 -d:ext:smecontribs.cvs.sourceforge.net:/cvsroot/smecontribs co -P common
- go to work
cd smeserver/work or smecontribs/work mzgetsf smeserver-release cd smeserver-release mzprep (make changes) mzpatch -n .......... edit F/*.spec mzbuild (check rpm) mzput -m 'See changelog'