svnrepo
Repository tools
Svn repository
Authors:
- Stijn De Weirdt (Ghent University)
- Dries Verdegem (Ghent University)
- Kenneth Hoste (Ghent University)
- Pieter De Baets (Ghent University)
- Jens Timmerman (Ghent University)
- Toon Willems (Ghent University)
- Ward Poelmans (Ghent University)
- Fotis Georgatos (Uni.Lu, NTUA)
SvnRepository
¶
Bases: FileRepository
Class for svn repositories
__init__(*args)
¶
Set self.client to None. Real logic is in setup_repo and create_working_copy
add_easyconfig(cfg, name, version, stats, previous_stats)
¶
Add easyconfig to SVN repository
PARAMETER | DESCRIPTION |
---|---|
cfg |
location of easyconfig file
|
name |
software name
|
version |
software install version, incl. toolchain & versionsuffix
|
stats |
build stats, to add to archived easyconfig
|
previous_stats |
list of previous build stats
|
RETURNS | DESCRIPTION |
---|---|
location of archived easyconfig |
add_patch(patch, name)
¶
Add patch to SVN repository
PARAMETER | DESCRIPTION |
---|---|
patch |
location of patch file
|
name |
software name
|
RETURNS | DESCRIPTION |
---|---|
location of archived patch |
cleanup()
¶
Clean up SVN working copy.
commit(msg=None)
¶
Commit working copy to SVN repository
create_working_copy()
¶
Create SVN working copy.
setup_repo()
¶
Set up SVN repository.
stage_file(path)
¶
Stage file at specified location in repository for commit
PARAMETER | DESCRIPTION |
---|---|
path |
location of file to stage
|