{ "info": { "author": "Shawn Crosby", "author_email": "scrosby@salesforce.com", "bugtrack_url": null, "classifiers": [], "description": "Post Commit hook utility\n========================\n\nThis module graps the git log from your last commit and uses it to:\n\n\t1. Update GUS items\n\t2. Create a code review\n\t\nTo use this, create the following commit-msg and post-commit in your .git/hooks directory\nof your repository and make executable\n\ncommit-msg:\n #!/usr/bin/env python\n import sys\n from git.Git import CommitMessage\n cm = CommitMessage()\n cm.validate(sys.argv[1])\n\npost-commit:\n\t#!/usr/bin/env python\n\t\n\tfrom git.PostCommit import PostCommit\n\t\n\tpc = PostCommit()\n\tpc.commit()\n\t\nYou can also utilize a the webservice to do the updates asynchronously.\nThe web service is a django project in the internal git hub. Just clone\ngit@git.soma.salesforce.com:/halifax/PostCommitService.git and fire it up.\n\n\t#!/usr/bin/env python\n\t\n\tfrom git.PostCommit import PostCommit\n\t\n\tpc = PostCommit()\n\tpc.remote()\n\t\nThe default server is localhost:8000. If you want to specify a server\n\n\t#!/usr/bin/env python\n\t\n\tfrom git.PostCommit import PostCommit\n\t\n\tpc = PostCommit()\n\tpc.remote(server=\"my.remote.com:8000\")\n\nIt provides a module that parses the last commit log and gives you\n\nAuthor:\n\t- name\n\t- email\n\t\nComment:\n\t- title (parses first line as title)\n\t- overview (remaining lines)\n\t- annotations (as a dictionary. @key value in comments)\n\t\nChanges:\n\t- list (Files that were modified/added/deleted in the commit)\n\t\nPatch:\n\t- diff (A unified diff file that can be used to create code reviews)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi?r6_commit", "keywords": null, "license": "Be Real", "maintainer": null, "maintainer_email": null, "name": "git_logparser", "package_url": "https://pypi.org/project/git_logparser/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/git_logparser/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://pypi.python.org/pypi?r6_commit" }, "release_url": "https://pypi.org/project/git_logparser/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Library to parse Git Logs", "version": "0.1.0" }, "last_serial": 857925, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0f960b3f57a3beeb7b1e2b5f2eaea17d", "sha256": "a9c4e0941a21610e8baa7cc0a5da766969d471d0465b213e262ab9a24d0184f3" }, "downloads": -1, "filename": "git_logparser-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "0f960b3f57a3beeb7b1e2b5f2eaea17d", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6375, "upload_time": "2013-09-05T14:53:11", "url": "https://files.pythonhosted.org/packages/48/cf/3c7f00b97faa28852f5bca8317fa51682109d5eb7dca1d19056877835acc/git_logparser-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "8a7374fcec83a97835cb3ef58e770610", "sha256": "64742336e4fdb715823440b377abd31dc8d64432c01b4fed3e559d277849fa42" }, "downloads": -1, "filename": "git_logparser-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8a7374fcec83a97835cb3ef58e770610", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4142, "upload_time": "2013-09-05T14:53:10", "url": "https://files.pythonhosted.org/packages/a9/8d/97c6a56b14ffbf7c82f224c0830879d781073376d08f2f52926f513e8b75/git_logparser-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0f960b3f57a3beeb7b1e2b5f2eaea17d", "sha256": "a9c4e0941a21610e8baa7cc0a5da766969d471d0465b213e262ab9a24d0184f3" }, "downloads": -1, "filename": "git_logparser-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "0f960b3f57a3beeb7b1e2b5f2eaea17d", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6375, "upload_time": "2013-09-05T14:53:11", "url": "https://files.pythonhosted.org/packages/48/cf/3c7f00b97faa28852f5bca8317fa51682109d5eb7dca1d19056877835acc/git_logparser-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "8a7374fcec83a97835cb3ef58e770610", "sha256": "64742336e4fdb715823440b377abd31dc8d64432c01b4fed3e559d277849fa42" }, "downloads": -1, "filename": "git_logparser-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8a7374fcec83a97835cb3ef58e770610", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4142, "upload_time": "2013-09-05T14:53:10", "url": "https://files.pythonhosted.org/packages/a9/8d/97c6a56b14ffbf7c82f224c0830879d781073376d08f2f52926f513e8b75/git_logparser-0.1.0.tar.gz" } ] }