{ "info": { "author": "Pulp Project Developers", "author_email": "pulp-dev@redhat.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "``pulp_maven`` Plugin\n=====================\n\nThis is the ``pulp_maven`` Plugin for `Pulp Project\n3.0+ `__. This plugin let's users use Pulp as a pull-through\ncache for Maven repositories.\n\nAll REST API examples bellow use `httpie `__ to perform the requests.\nThe ``httpie`` commands below assume that the user executing the commands has a ``.netrc`` file\nin the home directory. The ``.netrc`` should have the following configuration:\n\n.. code-block::\n\n machine localhost\n login admin\n password admin\n\nIf you configured the ``admin`` user with a different password, adjust the configuration\naccordingly. If you prefer to specify the username and password with each request, please see\n``httpie`` documentation on how to do that.\n\nThis documentation makes use of the `jq library `_\nto parse the json received from requests, in order to get the unique urls generated\nwhen objects are created. To follow this documentation as-is please install the jq\nlibrary with:\n\n``$ sudo dnf install jq``\n\nInstall ``pulpcore``\n--------------------\n\nFollow the `installation\ninstructions `__\nprovided with pulpcore.\n\nUsers should install from **either** PyPI or source.\n\nInstall ``pulp-maven`` from source\n----------------------------------\n\n.. code-block:: bash\n\n sudo -u pulp -i\n source ~/pulpvenv/bin/activate\n git clone https://github.com/pulp/pulp_maven.git\n cd pulp_maven\n pip install -e .\n\nInstall ``pulp-maven`` From PyPI\n--------------------------------\n\n.. code-block:: bash\n\n sudo -u pulp -i\n source ~/pulpvenv/bin/activate\n pip install pulp-maven\n\nMake and Run Migrations\n-----------------------\n\n.. code-block:: bash\n\n export DJANGO_SETTINGS_MODULE=pulpcore.app.settings\n django-admin makemigrations maven\n django-admin migrate maven\n\nRun Services\n------------\n\n.. code-block:: bash\n\n django-admin runserver 24817\n gunicorn pulpcore.content:server --bind 'localhost:24816' --worker-class 'aiohttp.GunicornWebWorker' -w 2\n sudo systemctl restart pulp-resource-manager\n sudo systemctl restart pulp-worker@1\n sudo systemctl restart pulp-worker@2\n\n\nCreate a new Maven remote ``bar``\n---------------------------------\n\n``$ http POST http://localhost:24817/pulp/api/v3/remotes/maven/maven/ name='bar' url='https://repo1.maven.org/maven2/'``\n\n.. code:: json\n\n {\n \"_href\": \"/pulp/api/v3/remotes/maven/maven/2668a20c-3908-4767-b134-531e5145d7b7/\",\n ...\n }\n\n``$ export REMOTE_HREF=$(http :24817/pulp/api/v3/remotes/maven/maven/ | jq -r '.results[] | select(.name == \"bar\") | ._href')``\n\nCreate a Maven Distribution for the Maven Remote\n------------------------------------------------\n\n``$ http POST http://localhost:24817/pulp/api/v3/distributions/maven/maven/ name='baz' base_path='my/local/maven' remote=$REMOTE_HREF``\n\n\n.. code:: json\n\n {\n \"_href\": \"/pulp/api/v3/distributions/67baa17e-0a9f-4302-b04a-dbf324d139de/\",\n ...\n }\n\n\nAdd Pulp as mirror for Maven\n----------------------------\n\n.. code:: xml\n\n \n \n \n pulp-maven-central\n Local Maven Central mirror \n http://localhost:24816/pulp/content/my/local/maven\n central\n \n \n \n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.pulpproject.org/", "keywords": "", "license": "GPLv2+", "maintainer": "", "maintainer_email": "", "name": "pulp-maven", "package_url": "https://pypi.org/project/pulp-maven/", "platform": "", "project_url": "https://pypi.org/project/pulp-maven/", "project_urls": { "Homepage": "http://www.pulpproject.org/" }, "release_url": "https://pypi.org/project/pulp-maven/0.1.0b3/", "requires_dist": [ "pulpcore-plugin (~=0.1rc5)" ], "requires_python": ">=3.6", "summary": "pulp-maven plugin for the Pulp Project", "version": "0.1.0b3" }, "last_serial": 5816520, "releases": { "0.1.0b1": [ { "comment_text": "", "digests": { "md5": "7f08d1ba7293a83d81c50e05fd645599", "sha256": "013c52545c65298a77e2ae41d4a61c8fb1df75f5b2ceb5d4839f3162d07ba34d" }, "downloads": -1, "filename": "pulp_maven-0.1.0b1-py3-none-any.whl", "has_sig": false, "md5_digest": "7f08d1ba7293a83d81c50e05fd645599", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 17293, "upload_time": "2019-04-02T21:59:20", "url": "https://files.pythonhosted.org/packages/15/97/daba65c75d5b8fdea17dca2ad97a826694940757f4102c9183ff295cd544/pulp_maven-0.1.0b1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09bdd97d08cb5acd6779d4e90be9e5c1", "sha256": "a3b897450b9e2fe88c05efc4f291cded05f58fc5f8613430919b31b22f211b8c" }, "downloads": -1, "filename": "pulp-maven-0.1.0b1.tar.gz", "has_sig": false, "md5_digest": "09bdd97d08cb5acd6779d4e90be9e5c1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 7823, "upload_time": "2019-04-02T21:59:22", "url": "https://files.pythonhosted.org/packages/36/d5/7ee9eff8be555cbd3209a069f3b07edcb064a44525ce22e70685dacb9f8a/pulp-maven-0.1.0b1.tar.gz" } ], "0.1.0b2": [ { "comment_text": "", "digests": { "md5": "2956128a2e1b134fd8df17e37cbe0d78", "sha256": "4374bf8a422a9309ae53cb47878c6c23adc1b9d9cfabdd9af1357c6b4a8cd825" }, "downloads": -1, "filename": "pulp_maven-0.1.0b2-py3-none-any.whl", "has_sig": false, "md5_digest": "2956128a2e1b134fd8df17e37cbe0d78", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 19791, "upload_time": "2019-05-28T22:34:30", "url": "https://files.pythonhosted.org/packages/54/ce/ee24ba37dd79b49fadf7aa95be569a7494d382e412e1746dba5971d6a616/pulp_maven-0.1.0b2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d6a51887a855126941d8d514e4e9fbf", "sha256": "b7af212dad4d1304bd9c43d8f074e3b5260df6514564550eb5912e0438d4e551" }, "downloads": -1, "filename": "pulp-maven-0.1.0b2.tar.gz", "has_sig": false, "md5_digest": "8d6a51887a855126941d8d514e4e9fbf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10220, "upload_time": "2019-05-28T22:34:31", "url": "https://files.pythonhosted.org/packages/8c/a5/bf77a5c2ef96b4999f43ec14f817cad8fc049ce607bee89a4cfd664f9f0d/pulp-maven-0.1.0b2.tar.gz" } ], "0.1.0b3": [ { "comment_text": "", "digests": { "md5": "378cdeb12d6207a06bb8a0f380fbb40e", "sha256": "a23bacee3890173cc3a85e2a8f5769542adec21657f37b735e18fc2382e061d3" }, "downloads": -1, "filename": "pulp_maven-0.1.0b3-py3-none-any.whl", "has_sig": false, "md5_digest": "378cdeb12d6207a06bb8a0f380fbb40e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 20613, "upload_time": "2019-09-11T19:28:41", "url": "https://files.pythonhosted.org/packages/a6/0b/21911ffbc4a0658fac7f0578ddb2cc0762dc6db4d4f56781f13dcda2f3d3/pulp_maven-0.1.0b3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c44c3b3ae4b903ad94a121892e1d4b8b", "sha256": "39e3427f679eeddf80a617c618824efd803287e2ee4fcb9723e58c12f43b2c07" }, "downloads": -1, "filename": "pulp-maven-0.1.0b3.tar.gz", "has_sig": false, "md5_digest": "c44c3b3ae4b903ad94a121892e1d4b8b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10458, "upload_time": "2019-09-11T19:28:42", "url": "https://files.pythonhosted.org/packages/fb/2a/1e87c7d8ef51c88ad486e87579edfb24a16690c02558780c3a986184c852/pulp-maven-0.1.0b3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "378cdeb12d6207a06bb8a0f380fbb40e", "sha256": "a23bacee3890173cc3a85e2a8f5769542adec21657f37b735e18fc2382e061d3" }, "downloads": -1, "filename": "pulp_maven-0.1.0b3-py3-none-any.whl", "has_sig": false, "md5_digest": "378cdeb12d6207a06bb8a0f380fbb40e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 20613, "upload_time": "2019-09-11T19:28:41", "url": "https://files.pythonhosted.org/packages/a6/0b/21911ffbc4a0658fac7f0578ddb2cc0762dc6db4d4f56781f13dcda2f3d3/pulp_maven-0.1.0b3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c44c3b3ae4b903ad94a121892e1d4b8b", "sha256": "39e3427f679eeddf80a617c618824efd803287e2ee4fcb9723e58c12f43b2c07" }, "downloads": -1, "filename": "pulp-maven-0.1.0b3.tar.gz", "has_sig": false, "md5_digest": "c44c3b3ae4b903ad94a121892e1d4b8b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10458, "upload_time": "2019-09-11T19:28:42", "url": "https://files.pythonhosted.org/packages/fb/2a/1e87c7d8ef51c88ad486e87579edfb24a16690c02558780c3a986184c852/pulp-maven-0.1.0b3.tar.gz" } ] }