Dpuiu Linux: Difference between revisions

From Cbcb
Jump to navigation Jump to search
Line 4: Line 4:
* CVS server:         PROJECTNAME.cvs.sourceforge.net
* CVS server:         PROJECTNAME.cvs.sourceforge.net
* Subversion server: PROJECTNAME.svn.sourceforge.net
* Subversion server: PROJECTNAME.svn.sourceforge.net


== Authentication ==
== Authentication ==


* [http://alexandria.wiki.sourceforge.net/SSH+Key+Generation KeyGen]
* [http://alexandria.wiki.sourceforge.net/SSH+Key+Generation KeyGen]
* Generate the enw key:
  sh-keygen -t dsa -C dxpuiu@shell.sf.net
  cat /nfshomes/dpuiu/.ssh/id_dsa.pub >> /nfshomes/dpuiu/.ssh/authorized_keys
* Upload key to the Sourceforge server ("Account Maintenance" site)


== CVS ==
== CVS ==

Revision as of 15:44, 24 November 2008

Sourceforge

  • shell server: shell.sourceforge.net
  • CVS server: PROJECTNAME.cvs.sourceforge.net
  • Subversion server: PROJECTNAME.svn.sourceforge.net


Authentication

  sh-keygen -t dsa -C dxpuiu@shell.sf.net
  cat /nfshomes/dpuiu/.ssh/id_dsa.pub >> /nfshomes/dpuiu/.ssh/authorized_keys
  • Upload key to the Sourceforge server ("Account Maintenance" site)

CVS

  • Checkout
 cvs -z3 -d:ext:dxpuiu@amos.cvs.sourceforge.net:/cvsroot/amos co -P AMOS
  • Add a new file
 cd src/Utils 
 cp ~/bin/file .
 
 cvs add file
 cvs ci
  • Add a new dir
 cd src/Utils 
 cp -R ~/bin/dir .
 
 cvs add dir
 cvs ci
 
 cd dir
 cvs add *
 cvs ci
  • Update files
 cd src/Utils 
 
 cvs update
  • Keep track of the version in the code :
 Add following line: my $VERSION = '$Revision: 1.0 $ ';
 Revision gets automatically incremented when "cvs ci"; no need to "cvs update"
  • View file
 http://amos.cvs.sourceforge.net/viewvc/*checkout*/amos/AMOS/src/Utils/seq2amos.pl
  • View all files
 http://amos.cvs.sourceforge.net/viewvc/amos/