Skip to content
A Python module that wraps the CM Synergy command line interface
Python
Find file
Latest commit 28df0a7 Oct 5, 2015 @dvaske dvaske Loads offline mode as a boolean
Issue: #11
Failed to load latest commit information.
.gitignore Created module populate_ccm_cache. Sep 19, 2011
CCMHistory.py Initialize predecessor to 'None' to avoid AttributeError May 20, 2015
DirectoryObject.py Uniforming the license headers May 25, 2011
FileObject.py Fix key error in attributes lookup Mar 26, 2012
ProjectObject.py Initialize baseline_predecessor and baseline_successor as lists in Pr… Nov 4, 2011
README.md Updates README with contact info Jun 26, 2013
SynergyObject.py Cache now supports info from multiple databases Oct 24, 2011
SynergySession.py Makes it possible to run get_synergy_history in offline mode May 20, 2015
SynergySessions.py Makes it possible to run get_synergy_history in offline mode May 20, 2015
SynergyUtils.py Populate cache when getting all objects in a project Feb 21, 2012
TaskObject.py Uniforming the license headers May 25, 2011
add_project_snapshot_to_git.py Don't fail if there is no file to delete Nov 16, 2011
ccm_cache.py Get object source/content through attribute if ccm cat fails Jul 5, 2012
ccm_fast_export.py Minor fix and log update! Jun 25, 2012
ccm_history_to_graphs.py Print object, task and release graph before creating commit graph (de… Jan 5, 2012
ccm_objects_in_project.py Populate cache when getting all objects in a project Feb 21, 2012
ccm_types.py Remove company specific test part from files Oct 11, 2011
configuration.conf.sample Makes it possible to run get_synergy_history in offline mode May 20, 2015
convert_history.py Check tasks.links before unlinking Jun 18, 2012
do_history_conversion.py Added do_history_conversion to output synergy history as git fast imp… Dec 8, 2011
get_snapshot.py Import snapshot of synergy project to git Nov 10, 2011
get_synergy_history.py Makes it possible to run get_synergy_history in offline mode May 20, 2015
load_configuration.py Loads offline mode as a boolean Oct 5, 2015
populate_ccm_cache.py Populate cache when getting all objects in a project Feb 21, 2012
user.py Log debug etc. to file instead of stdout Jan 12, 2012
users.py Integrated user lookup to ccm_fast_export Jul 4, 2011

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.