Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Python module that wraps the CM Synergy command line interface
Python
branch: master

Initialize predecessor to 'None' to avoid AttributeError

Signed-off-by: Aske Olsson <askeolsson@gmail.com>
latest commit 0c014d96aa
@dvaske dvaske authored
Failed to load latest commit information.
.gitignore Created module populate_ccm_cache.
CCMHistory.py Initialize predecessor to 'None' to avoid AttributeError
DirectoryObject.py Uniforming the license headers
FileObject.py Fix key error in attributes lookup
ProjectObject.py Initialize baseline_predecessor and baseline_successor as lists in Pr…
README.md Updates README with contact info
SynergyObject.py Cache now supports info from multiple databases
SynergySession.py Makes it possible to run get_synergy_history in offline mode
SynergySessions.py Makes it possible to run get_synergy_history in offline mode
SynergyUtils.py Populate cache when getting all objects in a project
TaskObject.py Uniforming the license headers
add_project_snapshot_to_git.py Don't fail if there is no file to delete
ccm_cache.py Get object source/content through attribute if ccm cat fails
ccm_fast_export.py Minor fix and log update!
ccm_history_to_graphs.py Print object, task and release graph before creating commit graph (de…
ccm_objects_in_project.py Populate cache when getting all objects in a project
ccm_types.py Remove company specific test part from files
configuration.conf.sample Makes it possible to run get_synergy_history in offline mode
convert_history.py Check tasks.links before unlinking
do_history_conversion.py Added do_history_conversion to output synergy history as git fast imp…
get_snapshot.py Import snapshot of synergy project to git
get_synergy_history.py Makes it possible to run get_synergy_history in offline mode
load_configuration.py Configuration updates and cleanup
populate_ccm_cache.py Populate cache when getting all objects in a project
user.py Log debug etc. to file instead of stdout
users.py Integrated user lookup to ccm_fast_export

README.md

PySynergy

ccm -> git converter

HOWTO

Create a configuration.conf file with the info needed for your setup, look in the configuration.conf.sample.

Run get_synergy_history.py and the converter will start quering the Synergy database for project info. Data will be stored in two places: ccm_cache_path from the config will store all Synergy objects as so they can easily and fast be be loaded again. The release and task structure and how everything is linked together is stored in the PySynergy folder.

To do the actual conversion run do_convert_history.py and pipe this to git fast-import or a file for later import through git fast-import

Done!

For the conversion of synergy data to git data you'll need to have pygraph installed.

NOTE

If you need assistance or help in migrating from Synergy to git, don't hesitate to contact me at aske.olsson@switch-gears.dk

I'm currently not having access to any Synergy servers, so development on PySynergy is slow, if not stopped.

Something went wrong with that request. Please try again.