Line 40: |
Line 40: |
| ===Development stages/actions=== | | ===Development stages/actions=== |
| ====Check out==== | | ====Check out==== |
− | To get a local copy of a package we need to retrieve the source from the repository, this is called a check out. To check out a package from the SME Contribs repository take a look at [[:Package_Modification#Import_cvs]]. | + | To get a local copy of a package we need to retrieve the source from the repository, this is called a check out. To check out a package from the SME Contribs repository take a look at [[Package_Modification]]. |
| + | To be able to work on your code in the SME Server CVS repository you need an account on SourceForge. If you do not have an account at CVS, retrieving is performed as an anonymous user and changes cannot be saved. |
| + | |
| + | ===== Case 1 - Registered Users ===== |
| + | - To retrieve a package or a full tree as a registered user, cd into a work directory and issue following commands: |
| + | * for smeserver |
| + | cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P packagename [individual package] |
| + | cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P rpms [full tree] |
| + | * for smecontribs |
| + | cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smecontribs co -P packagename [individual package] |
| + | cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smecontribs co -P rpms [full tree] |
| + | |
| + | ===== Case 2 - Anonymous users ===== |
| + | - To retrieve a package or a full tree as an anonymous user, cd into a work directory and issue following commands: |
| + | * for smeserver |
| + | cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smeserver checkout -P packagename [individual package] |
| + | cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P rpms [full tree] |
| + | |
| + | * for smecontribs |
| + | cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smecontribs checkout -P packagename [individual package] |
| + | cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smecontribs co -P rpms [full tree] |
| + | |
| ====Retrieving the latest version==== | | ====Retrieving the latest version==== |
| If you already once checked out the source of a certain package you can update your local copy with the following command: | | If you already once checked out the source of a certain package you can update your local copy with the following command: |