A Go API for Polarion
(This is a hack)
Polarion is an ALM tool (now) from Siemens (See https://polarion.plm.automation.siemens.com). Polarion stores its data in Subversion repositories in XML format, with one repository per project. The current API is a read-only view of a working copy of just one revision of the data.
This package implements an API over a working copy of a Subversion repository of a Polarion project. It qualifies as a hack.
NOTE To build a local copy with revisions, svnrdump can be used, and then a local SVN or Git server repo created. But: Git doesn't support files > 100 MB !
- func ListDirectories(path string) string
- func Sanitize(text string) string
- type Document
- type Item
- type Link
- type Polarion
- type Project
var PolarionBasePath = ""
Link holds the relation between two workitems, which may possibly reside in another project.
Polarion holds information common to all projects
Project is a container in RAM of parts of the project on disk.
The project ID used is the base name of the path in upper case. If the ID differs from the folder name it has to be changed manually after the call to Open.
Documents returns all names of directories in the modules/<space>/ directory of the project