Subversion Repositories SvarDOS

Rev

Rev 891 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 891 Rev 1260
Line 30... Line 30...
30
SvarDOS packages are stored in the project's svn tree, hence the first thing to
30
SvarDOS packages are stored in the project's svn tree, hence the first thing to
31
do is for you to pull the SvarDOS subversion tree. You must have obtained
31
do is for you to pull the SvarDOS subversion tree. You must have obtained
32
credentials to svn access already. To fetch the SvarDOS package repository
32
credentials to svn access already. To fetch the SvarDOS package repository
33
to your local disk, use such svn checkout:
33
to your local disk, use such svn checkout:
34
 
34
 
35
$ svn co svn://YOURLOGIN@svn.svardos.org/svardos/packages svardos-packages
35
$ svn co svn://YOURLOGIN@svn.svardos.org/svardos-pkgs
36
 
36
 
37
It is a one time only action that should create a "svardos-packages" directory
37
It is a one time only action that should create a "svardos-pkgs" directory
38
on your disk. Inside you will find all SvarDOS packages.
38
on your disk. Inside you will find all SvarDOS packages.
39
 
39
 
40
 
40
 
41
=== UPLOADING A NEW PACKAGE ===================================================
41
=== UPLOADING A NEW PACKAGE ===================================================
42
 
42
 
43
So you have created this new SvarDOS SVP package with some very cool software
43
So you have created this new SvarDOS SVP package with some very cool software
44
in it. Great! To upload it to the SvarDOS online repo, copy your new package
44
in it. Great! To upload it to the SvarDOS online repo, copy your new package
45
to your local svardos-packages directory. Then, instruct svn to add the new
45
to your local svardos-packages directory. Then, instruct svn to add the new
46
file(s) to the repo:
46
file(s) to the repo:
47
 
47
 
48
$ cd svardos-packages
48
$ cd svardos-pkgs
49
$ svn add package-ver.svp
49
$ svn add package-ver.svp
50
$ svn add package-ver.zip   <-- optional, only if package has available sources
50
$ svn add package-ver.zip   <-- optional, only if package has available sources
51
 
51
 
52
Review the changes to make sure you added the right files:
52
Review the changes to make sure you added the right files:
53
$ svn st
53
$ svn st
Line 91... Line 91...
91
On rare occasions it may be necessary to delete some packages. For example if
91
On rare occasions it may be necessary to delete some packages. For example if
92
they proved to be harmful in some way, or if their licensing is not compatible
92
they proved to be harmful in some way, or if their licensing is not compatible
93
with SvarDOS distribution, etc. Removing a package means deleting it from the
93
with SvarDOS distribution, etc. Removing a package means deleting it from the
94
svn repository and commiting the change. Example:
94
svn repository and commiting the change. Example:
95
 
95
 
96
$ cd svardos-packages
96
$ cd svardos-pkgs
97
$ svn del package.svp
97
$ svn del package.svp
98
$ svn del package.zip       <-- only if zip with sources exists
98
$ svn del package.zip       <-- only if zip with sources exists
99
$ svn commit -m 'removed package PACKAGE_NAME because (reason here)'
99
$ svn commit -m 'removed package PACKAGE_NAME because (reason here)'
100
 
100
 
101
 
101