My.co.ke CodeProjects

From Skunkworks

Jump to: navigation, search

Contents

General Information

Subversion

Directory Management

  • Add directories
$ svn  mkdir https://[username:[password]@]my.co.ke/svn/sampleproject/trunk/
$ svn  mkdir https://[username:[password]@]my.co.ke/svn/sampleproject/branches

Importing a project

  • Local import (using the https:// uri)
 svn import project/ https://[username:[password]@]my.co.ke/svn/sampleproject/trunk/ -m "My first Import"
  • where
    • project is the local folder to be imported
    • https://... is the url to import to
    • -m ... is the commit message

The folder project will be created on the trunk if it doesnt exist.

Remote checkout

  • You can also check out code imported into the server in the following way
svn  co https://[username:[password]@]my.co.ke/svn/sampleproject/trunk/


File Management on your working copy

  • Once you have checked out your code, Files can be easily managed by using svn [rm|add|cat|cp|ls|mv|up] etc.
  • Sample usage
$ mkdir src/
$ svn add src/
$ cd src/
$ echo -e "#include<stdio.h>\nvoid main(){printf("Hello World\n");}" > file.c
$ svn add file.c
$ svn diff

Commit

  • Once you have coded and want to commit your changes, just issue an svn commit/ci
$ cd ..
$ svn commit -m "hello updated"

Projects

Pingster

A simple uptime measurement tool using icmp replies. Ping utilities written as cron-python scripts for, A django application is used for rendering the data. Data is stored in mysql

Subversion

Trac

Personal tools