{ "info": { "author": "Michal Belica", "author_email": "miso.belica@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Software Development :: Version Control" ], "description": "=======================\nGitLab webhooks handler\n=======================\n\nThis is simple server (receiver) for `GitLab's `_ webhooks feature.\n\n\nAlternatives\n------------\n- https://github.com/shawn-sterling/gitlab-webhook-receiver\n- https://github.com/vinodc/gitlab-webhook-branch-deployer\n\n\nInstallation\n------------\n\nMake sure you have `Python `_ 2.6+/3.2+ properly installed (`Windows `_/`Linux `_). Then just type ``[sudo] pip install glhooks`` in your favorite shell. Now you have *glhooks* installed so you can run it like this ``python -m glhooks ...``. You can find skeleton for the configuration file in `git repository `_ in ``config/config.ini``.\n\nI recommend `Supervisor `_ or similar application to run the *glhooks* server. Install it via ``[sudo] apt-get install supervisor``. You can find the example of *Supervisor* configuration file for *glhooks* in `git repository `_ in ``config/glhooks.conf``. But you can just create some shell script and copy it into ``/etc/init.d/`` (example in `git repository `_ in ``config/glhooks.sh``).\n\nNext step is to generate a SSH key **without the passphrase**: ``ssh-keygen -b 4096 -t rsa``. Then add the generated SSH **public key** to your GitLab account. If you have multiple SSH keys in ``$HOME/.ssh/`` you probably has to create file ``$HOME/.ssh/config``. You can find the example file in `git repository `_ in ``config/config.ssh``.\n\nFinally add the hook ``http://server.example.com:8000/`` into your project webhooks at GitLab.\n\n\nUpdating\n--------\n\nWhen you change at least one of the configuration files you has to restart *glhooks* server by ``[sudo] supervisorctl restart glhooks`` or ``[sudo] service glhooks restart``.\n\n\nContributing\n------------\nFeel free to `send a pull request `_ or to `report an issue `_.\n\n\n.. :changelog:\n\nChangelog\n=========\n\n0.1.0 (2014-01-14)\n------------------\n- First public release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/miso-belica/gitlab-webhooks", "keywords": "Git,GitLab,webhook,hook", "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "glhooks", "package_url": "https://pypi.org/project/glhooks/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/glhooks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/miso-belica/gitlab-webhooks" }, "release_url": "https://pypi.org/project/glhooks/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Service for automatic updating of git repositories from GitLab.", "version": "0.1.0" }, "last_serial": 978410, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "eb63ca1dfd98bf8c50ad9c35f8479341", "sha256": "241356c4753071b8e544db7233373d333d85189d34811e5e30230daad3aa05a5" }, "downloads": -1, "filename": "glhooks-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eb63ca1dfd98bf8c50ad9c35f8479341", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14217, "upload_time": "2014-01-23T15:28:02", "url": "https://files.pythonhosted.org/packages/3f/81/c8897d72cba617a240bfe67ce6e426ff69b884cb70bcf75e2e4a906d72ee/glhooks-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8eeea9ed0dc86bc83be444db82745bf6", "sha256": "edace17c2b0c658a21579455dea193d3aa7244cf078a5ec6af92584e4c85e0f7" }, "downloads": -1, "filename": "glhooks-0.1.0.win32.exe", "has_sig": false, "md5_digest": "8eeea9ed0dc86bc83be444db82745bf6", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 205920, "upload_time": "2014-01-14T18:24:01", "url": "https://files.pythonhosted.org/packages/80/01/e6714bf64649882eb222e1f449de75179c7b113d81f0b22a2cad83114aa4/glhooks-0.1.0.win32.exe" }, { "comment_text": "", "digests": { "md5": "74e9c1218e250d92157aead555a4c4dd", "sha256": "0131c7b6da8f055fc7a9bdaf17bb7cba8c70bb940809ae2e9a5dd4eeeff6a985" }, "downloads": -1, "filename": "glhooks-0.1.0.zip", "has_sig": false, "md5_digest": "74e9c1218e250d92157aead555a4c4dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17910, "upload_time": "2014-01-14T18:23:55", "url": "https://files.pythonhosted.org/packages/ec/b0/b428f8ed575c6c940800725db98ab1969445a80eeffbbb470ece69f18056/glhooks-0.1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eb63ca1dfd98bf8c50ad9c35f8479341", "sha256": "241356c4753071b8e544db7233373d333d85189d34811e5e30230daad3aa05a5" }, "downloads": -1, "filename": "glhooks-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eb63ca1dfd98bf8c50ad9c35f8479341", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14217, "upload_time": "2014-01-23T15:28:02", "url": "https://files.pythonhosted.org/packages/3f/81/c8897d72cba617a240bfe67ce6e426ff69b884cb70bcf75e2e4a906d72ee/glhooks-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8eeea9ed0dc86bc83be444db82745bf6", "sha256": "edace17c2b0c658a21579455dea193d3aa7244cf078a5ec6af92584e4c85e0f7" }, "downloads": -1, "filename": "glhooks-0.1.0.win32.exe", "has_sig": false, "md5_digest": "8eeea9ed0dc86bc83be444db82745bf6", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 205920, "upload_time": "2014-01-14T18:24:01", "url": "https://files.pythonhosted.org/packages/80/01/e6714bf64649882eb222e1f449de75179c7b113d81f0b22a2cad83114aa4/glhooks-0.1.0.win32.exe" }, { "comment_text": "", "digests": { "md5": "74e9c1218e250d92157aead555a4c4dd", "sha256": "0131c7b6da8f055fc7a9bdaf17bb7cba8c70bb940809ae2e9a5dd4eeeff6a985" }, "downloads": -1, "filename": "glhooks-0.1.0.zip", "has_sig": false, "md5_digest": "74e9c1218e250d92157aead555a4c4dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17910, "upload_time": "2014-01-14T18:23:55", "url": "https://files.pythonhosted.org/packages/ec/b0/b428f8ed575c6c940800725db98ab1969445a80eeffbbb470ece69f18056/glhooks-0.1.0.zip" } ] }