|
||||
|
||||
Getting Started with Git for PMMLThis is a brief guide to help you get started using Git to make changes to the PMML repository. This is part of the DMG/PMML change management process. PrerequisiteIn order to commit changes to the PMML Git repository, you need to have a SourceForge account with sufficient privileges. Set UpThere a few steps you need to take before you can start using Git to work on PMML files. Add your public key to your SourceForge accountLog in to your SF account, click on Account from the top right, and then on Services. You will see a "Edit SSH Keys for Shell/CVS". Click on it and you will get page where you can paste your public key. Install GitDownload and install Git from the Git download page. First time Git setupRun the following commands
Details and other configuration options can be found here and here. Clone the PMML RepositoryRun Examples using GitNote: Some basic knowledge and understanding of Git would be really helpful. Going through chapters 1,2, and 3 (especially) of the Pro Git book) is strongly recommended. It's an easy and short read. Work on an existing branchTo contribute work to an existing branch:
At any time you can run Note that steps 2 through 5 can be repeated many times before you move on to step 6. In other words, you can commit locally changes in many iterations until you are ready to push them to SF. Validating prehtmlBefore you commit any changes, please make sure you have run the validation script at /bin/makeHTML.py. This will loop through all the prehtml files, check for consistency and if there are no errors, generate .html and .xsd. It relies on python v2.7 to run the script. |
||||
|