{ "info": { "author": "Charles Tapley Hoyt", "author_email": "charles.hoyt@scai.fraunhofer.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only" ], "description": "PyBEL-Git |build| |zenodo|\n==========================\nGit and continuous integration tools for PyBEL to assist in curating BEL.\n\nUsage with Continuous Integration\n---------------------------------\nBelow are examples on using ``pybel-git`` within the configuration\nof several continuous integration services. Additonaly, the ``-r``\noption can be used to specify required annotations. For example,\n``-r Confidence`` can be used during re-curation.\n\nUsing GitHub and Travis-CI\n~~~~~~~~~~~~~~~~~~~~~~~~~~\nTo configure `Travis-CI `_ to evaluate the \nBEL files that have changed in the latest commit to a in a GitHub \nrepository on each commit, the following ``travis.yml`` file can \nbe used:\n\n.. code-block:: yaml\n\n sudo: false\n cache: pip\n language: python\n python:\n - 3.6\n install:\n - pip install pybel-git\n script:\n - pybel-git ci\n\nCurrently, the build doesn't use a cached resource file, so this job\nmight take a long time. The `travis_wait `_ command can be used so the script reads\n``travis_wait 30 pybel-git ci`` and the job will be allowed to run for\nthirty (30) minutes.\n\nAn example repository can be found at https://github.com/cthoyt/pybel-git-test.\nAn example build for this repository can be found at https://travis-ci.com/cthoyt/pybel-git-test/builds/87612373.\n\nUsing GitLab with GitLab CI/CD\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nTo configure `GitLab CI/CD `_ to \nevaluate the BEL files that have changed in the latest commit to\na GitLab repository, the following ``.gitlab-ci.yml`` can be used:\n\n.. code-block:: yaml\n\n test:\n image: python:3.6\n script:\n - pip install pybel-git\n - pybel-git ci\n\nAs with GitHub/Travis-CI, this configuration does not use a cached\nresource file. GitLab CI/CD doesn't seem to offer a wait time, but\nit might also not have an issue with timing out, either.\n\nAn example repository can be found at https://gitlab.com/cthoyt/pybel-gitlab-example.\nAn example build for this repository can be found at https://gitlab.com/cthoyt/pybel-gitlab-example/-/jobs/113454179\n\nUsing Atlassian BitBucket with Bitbucket Pipelines\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nTo configure a BitBucket Pipelines to evaluate BEL files that have \nbeen changed in the latest commit to a BitBucket repository, the \nfollowing ``bitbucket-pipelines.yml`` ca be used:\n\n.. code-block:: yaml\n\n image: python:3.6\n\n pipelines:\n default:\n - step:\n caches:\n - pip\n script: \n - pip install pybel-git\n - pybel-git ci\n\nAn example repository can be found at https://bitbucket.org/pybel/pybel-bitbucket-example.\nAn example build for this repository can be found at https://bitbucket.org/pybel/pybel-bitbucket-example/addon/pipelines/home#!/results/2.\n\nUsage with Git Service and Continuous Integration\n-------------------------------------------------\nDeeper Integration with GitLab\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nPyBEL-Git contains extra scripts to assist in automatic checking and feedback\nfor projects residing in GitLab that are using the Git Flow workflow of branching\nand making merge requests.\n\nThis script checks each branch, compiles the BEL documents that have changed\ncompared to master, and puts comments on the merge request with the warnings\nand feedback on the syntactic and semantic correctness of the BEL files.\n\nIt can be run with:\n\n.. code-block:: bash\n\n pybel-git ci_gitlab \\\n\t --url \"https://gitlab.scai.fraunhofer.de\" # the url of the desired gitlab instance \\\n --project-id 449 # the gitlab project id, shown at the top of the page for the repository \\\n\nThis script uses `EasyConfig `_ and can also be configured\nvia the environment variables ``GITLAB_URL``, ``GITLAB_PROJECT_ID``, and ``GITLAB_TOKEN``.\n\n.. |build| image:: https://travis-ci.com/pybel/pybel-git.svg?branch=master\n :target: https://travis-ci.com/pybel/pybel-git\n\n.. |zenodo| image:: https://zenodo.org/badge/152552674.svg\n :target: https://zenodo.org/badge/latestdoi/152552674\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/pybel/pybel-git/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pybel/pybel-git", "keywords": "Biological Expression Language,Protein Protein Interaction Networks", "license": "MIT", "maintainer": "Charles Tapley Hoyt", "maintainer_email": "charles.hoyt@scai.fraunhofer.de", "name": "pybel-git", "package_url": "https://pypi.org/project/pybel-git/", "platform": "", "project_url": "https://pypi.org/project/pybel-git/", "project_urls": { "Bug Tracker": "https://github.com/pybel/pybel-git/issues", "Download": "https://github.com/pybel/pybel-git/releases", "Homepage": "https://github.com/pybel/pybel-git", "Source Code": "https://github.com/pybel/pybel-git" }, "release_url": "https://pypi.org/project/pybel-git/0.0.2/", "requires_dist": [ "pybel", "click", "easy-config", "gitpython" ], "requires_python": ">=3.6", "summary": "PyBEL Git utilities", "version": "0.0.2" }, "last_serial": 4628030, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "bed110c2a3fea30ec34710a87fc077f2", "sha256": "7e357143ef15225ff040ef8c64cfcde7baba30dc90c623b37790eee92b4d992e" }, "downloads": -1, "filename": "pybel_git-0.0.1-py36-none-any.whl", "has_sig": false, "md5_digest": "bed110c2a3fea30ec34710a87fc077f2", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": ">=3.6", "size": 7736, "upload_time": "2018-11-19T12:29:45", "url": "https://files.pythonhosted.org/packages/4b/30/6c3057d5ce9eeaa3e882b405412470788dd5780311ad92d0a1443347bdb3/pybel_git-0.0.1-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "be152df009844d10258bcb220db921b4", "sha256": "49e7ce2599e52fc88104c4d2c03c922cb10db4c2a37eec43b989b01743c02200" }, "downloads": -1, "filename": "pybel_git-0.0.1.tar.gz", "has_sig": false, "md5_digest": "be152df009844d10258bcb220db921b4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 7867, "upload_time": "2018-11-19T12:29:47", "url": "https://files.pythonhosted.org/packages/2a/bd/fb978c63379b67e60f4c7e7e26b059d47466de8c2ad490575a61ad741f87/pybel_git-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e734fc07f50f2702013f64b0ac95b6e8", "sha256": "beed5068879d0931bffcf8259ac364a3196b8a2b191b51b972c1826a8b1524db" }, "downloads": -1, "filename": "pybel_git-0.0.2-py36-none-any.whl", "has_sig": false, "md5_digest": "e734fc07f50f2702013f64b0ac95b6e8", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": ">=3.6", "size": 8323, "upload_time": "2018-12-22T17:36:28", "url": "https://files.pythonhosted.org/packages/18/0f/e285811bbd029a834b219502b8075904b6747c8a303d3b3f9dbaf94ddb71/pybel_git-0.0.2-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7aefb87789e8331eb9db6e7e808b3e3e", "sha256": "3bd01d403959d1d7376f7be76e21c20cf8fc2fdf71ee56afb25b89c30f1ea2ee" }, "downloads": -1, "filename": "pybel_git-0.0.2.tar.gz", "has_sig": false, "md5_digest": "7aefb87789e8331eb9db6e7e808b3e3e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8557, "upload_time": "2018-12-22T17:36:31", "url": "https://files.pythonhosted.org/packages/08/87/aa4225038f20c12a4669a43961dfa3d80b9b45557f8c15c602f14c85f731/pybel_git-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e734fc07f50f2702013f64b0ac95b6e8", "sha256": "beed5068879d0931bffcf8259ac364a3196b8a2b191b51b972c1826a8b1524db" }, "downloads": -1, "filename": "pybel_git-0.0.2-py36-none-any.whl", "has_sig": false, "md5_digest": "e734fc07f50f2702013f64b0ac95b6e8", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": ">=3.6", "size": 8323, "upload_time": "2018-12-22T17:36:28", "url": "https://files.pythonhosted.org/packages/18/0f/e285811bbd029a834b219502b8075904b6747c8a303d3b3f9dbaf94ddb71/pybel_git-0.0.2-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7aefb87789e8331eb9db6e7e808b3e3e", "sha256": "3bd01d403959d1d7376f7be76e21c20cf8fc2fdf71ee56afb25b89c30f1ea2ee" }, "downloads": -1, "filename": "pybel_git-0.0.2.tar.gz", "has_sig": false, "md5_digest": "7aefb87789e8331eb9db6e7e808b3e3e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8557, "upload_time": "2018-12-22T17:36:31", "url": "https://files.pythonhosted.org/packages/08/87/aa4225038f20c12a4669a43961dfa3d80b9b45557f8c15c602f14c85f731/pybel_git-0.0.2.tar.gz" } ] }