This is a work in progress. As this evolves, we update this narrative.
Given you have a GitHub repository that has commits matching the VersionOne asset mention pattern, like S-12345, D-00312, etc, and you want to start seeing those correlated with those assets inside VersionOne's asset detail view, then:
- Install a VersionOne build from ci-server/job/CommitStream-core-developing/
- Running example: https://v1commitstream.cloudapp.net/VersionOne
- TODO: Add config setting that tells VersionOne where to find the CommitStream integration JavaScript.
- Notes:
- Currently, it's hard-coded to look here: http://v1commitstream.azurewebsites.net/app.js?_=1411487691068, which pulls in these dependencies asynchronously via require.js:
- Moment.js
- Handlebars
- assetDetailCommitsModule from http://v1commitstream.azurewebsites.net/assetDetailCommitsModule.js
- This points to our running Azure-hosted EventStore service at http://v1eventstore.cloudapp.net:2113
- This will evolve into ability for an Admin to install the CommitStream integration from an Integrations.mvc page
- This page will initially be unlinked from the top-level menu system, but Ian will tell customers about it.
- Only customers who Ian has added to a whitelist will be able to access this page
- Currently, it's hard-coded to look here: http://v1commitstream.azurewebsites.net/app.js?_=1411487691068, which pulls in these dependencies asynchronously via require.js:
- Notes:
- TODO: Add config setting that tells VersionOne where to find the CommitStream integration JavaScript.
- Running example: https://v1commitstream.cloudapp.net/VersionOne
- Download a 3.0+ build of EventStore from http://geteventstore.com/downloads/ and install it on a server
- Running example: http://v1eventstore.cloudapp.net:2113
- Login info: if it's not running, you'll need to SSH to the box and start EventStore, here's how:
- TODO: document this part
- Note: as mentioned above, this is the location that the CommitStream-core-developing VersionOne build contains
- Login info: if it's not running, you'll need to SSH to the box and start EventStore, here's how:
- Running example: http://v1eventstore.cloudapp.net:2113
- Clone the GitHub commit import script from https://github.com/kunzimariano/EventStore-Demo
- Modify these lines to point to the correct EventStore instance: https://github.com/kunzimariano/EventStore-Demo/blob/master/Import-FullCommits.ps1#L5-L7
- Follow the instructions in the readme to execute the import
- Now, to create the required projections in EventStore, do this:
- TODO
- You should now be able to navigate to an asset detail in your VersionOne instance and see commits.
- Note: yes the commits are hard-coded, and we are fixing that now.