easybuild.tools.repository.svnrepo module¶
Repository tools
Svn repository
| author: | Stijn De Weirdt (Ghent University) |
|---|---|
| author: | Dries Verdegem (Ghent University) |
| author: | Kenneth Hoste (Ghent University) |
| author: | Pieter De Baets (Ghent University) |
| author: | Jens Timmerman (Ghent University) |
| author: | Toon Willems (Ghent University) |
| author: | Ward Poelmans (Ghent University) |
| author: | Fotis Georgatos (Uni.Lu, NTUA) |
-
class
easybuild.tools.repository.svnrepo.SvnRepository(*args, **kwargs)¶ Bases:
easybuild.tools.repository.filerepo.FileRepositoryClass for svn repositories
-
DESCRIPTION= 'An SVN repository. The 1st argument contains the subversion repository location, this can be a directory or an URL. The 2nd argument is a path inside the repository where to save the files.'¶
-
USABLE= False¶
-
add_easyconfig(cfg, name, version, stats, previous_stats)¶ Add easyconfig to SVN repository
Parameters: - cfg – location of easyconfig file
- name – software name
- version – software install version, incl. toolchain & versionsuffix
- stats – build stats, to add to archived easyconfig
- previous – list of previous build stats
Returns: location of archived easyconfig
-
add_patch(patch, name)¶ Add patch to SVN repository
Parameters: - patch – location of patch file
- name – software name
Returns: 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
Parameters: path – location of file to stage
-