The /PloneSVNaccess Module

PloneSVNaccess
Providing read and write access to subversion.

PloneSVNaccess.py
The Product.

Author: Christian Koller 'admin@iecw.net'.

Released under GNU GPL v2 or later.

Module Contents

PloneSVNaccess (class) [#]

Plone Subversion access The main class, setting the schema, the content_icon, the actions (Tabs) and a lot of protected methods for the page templates

For more information about this class, see The PloneSVNaccess Class.

The PloneSVNaccess Class

PloneSVNaccess (class) [#]

Plone Subversion access
The main class, setting the schema, the content_icon, the actions (Tabs) and a lot of protected methods for the page templates

actions [#]

Redefine the view tab (action) and define the view_log and local_roles for PloneSVNaccess

commitSVNfile(REQUEST, RESPONSE) [#]

Commit file to svn.
Calls: PloneSVNaccessTool.py

content_icon [#]

Set the icon for the PloneSVNaccess

deleteFileOrFolder(REQUEST, RESPONSE) [#]

Delete File or Folder
Calls: PloneSVNaccessTool.py

getDiff(svn_path, username, password, curSVNFile, curRevNo, otherRevNo) [#]

Return File Diff
Calls: PloneSVNaccessTool.py

getDir(svn_path, username, password, folder, revNo) [#]

Get the folder listing
Calls: PloneSVNaccessTool.py

getFile(svn_path, username, password, curSVNFile, revNo) [#]

Get the file info
Calls: PloneSVNaccessTool.py

getFileContent(REQUEST, RESPONSE) [#]

Get File Content
Calls: PloneSVNaccessTool.py

getFolderContent(REQUEST, RESPONSE) [#]

Get Folder as TAR or ZIP
Calls: PloneSVNaccessTool.py

getLog(svn_path, username, password, folder, curRevNo, startRevNo=None) [#]

Return Log info
Calls: PloneSVNaccessTool.py

getMaxRevNo(svn_path, username, password) [#]

Return the RevNo of head
Calls: PloneSVNaccessTool.py

getRevNos(curRevNo, maxRevNo, svn_path, username, password, folderOrFile) [#]

Returns Revision Numbers
Calls: PloneSVNaccessTool.py

getSingleFile(svn_path, username, password, curSVNFile, revNo, errorType, forDownload) [#]

Get a single file
Calls: PloneSVNaccessTool.py

newFolder(REQUEST, RESPONSE) [#]

Create a new Folder
Calls: PloneSVNaccessTool.py

schema [#]

The schema includes five variables, the access_mode, the repository_path, the username and password for the repository and the webdav_path

uploadSVNfile(REQUEST, RESPONSE) [#]

Upload file to svn
Calls: PloneSVNaccessTool.py