{ "info": { "author": "Martijn Jacobs", "author_email": "martijn@devopsconsulting.nl", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "=================\nvdt.simpleaptrepo\n=================\n\nSimple command line tool to create apt repositories. This will work on debian and ubuntu.\n\n.. image:: https://api.travis-ci.org/devopsconsulting/vdt.simpleaptrepo.svg?branch=master\n :target: https://travis-ci.org/devopsconsulting/vdt.simpleaptrepo\n\nInstallation:\n=============\n\nFirst install from pypi::\n\n pip install vdt.simpleaptrepo\n\nThis tool is a wrapper for some debian specific packages, so you will need to install them first::\n\n apt-get install gnupg dpkg-sig apt-utils\n\nTo show which commands are available::\n\n simpleapt --help\n\nCreate a repository:\n====================\nFirst you need to create a gpg key to sign your packages with. This is not mandatory but highly recommended::\n\n simpleapt create-gpg-key\n\nCopy and remember the key's hash. The output looks something like this::\n\n gpg: key 10FB8BDC marked as ultimately trusted\n\nSo copy the `10FB8BDC` hash, you will need it later.\n\nNow create a repository::\n\n simpleapt create-repo myrepo /www/ --gpgkey 10FB8BDC\n\n Repository 'myrepo' created\n Now add a component with the 'add-component' command\n\n\nCreate a component:\n===================\n\nIn one repository you have multiple components::\n\n simpleapt add-component myrepo test\n\nYou will see what you need to do now::\n\n Component 'test' created in repo 'myrepo'\n\n Now add some unsigned debian packages in the directory\n and run the 'update-repo' command (see the 'add packages' section below)\n\n Configure your webservice to set the www-root to /www/\n Add http:///myrepo/test / to your sources.list\n \n Add the key on the host where you want to install the packages.\n (This is only needed once per repository)\n wget -qO - http:///myrepo/test/keyfile | sudo apt-key add -\n\nAdd some more if you like::\n\n simpleapt add-component myrepo staging\n simpleapt add-component myrepo production\n\nSee that our repo is there::\n\n simpleapt list-repos\n \n myrepo (gpgkey: 10FB8BDC)\n test\n staging\n main\n\n\nAdd packages:\n=============\n\nCopy some debian package into a component's directory and update the repo::\n\n simpleapt update-repo myrepo test\n\n Exported key 10FB8BDC to /www/myrepo/test/keyfile\n\n Signed package /www/myrepo/test/my-package_0.0.1_all.deb\n Creates Packages\n Creates Packages.gz\n Create Release with key 10FB8BDC\n Create InRelease with key 10FB8BDC\n Create Releases.gpg with key 10FB8BDC\n\nWhen there a a lot packages you can skip resigning packages by using the ``--skip-signed`` option::\n\n simpleapt update-repo myrepo test --skip-signed\n\n Exported key 10FB8BDC to /www/myrepo/test/keyfile\n\n Skipped signing /www/myrepo/test/my-package_0.0.1_all.deb\n\n Creates Packages\n Creates Packages.gz\n Create Release with key 10FB8BDC\n Create InRelease with key 10FB8BDC\n Create Releases.gpg with key 10FB8BDC\n\n\nNow you can install these packages!\n\n\nChangelog:\n==========\n0.0.5 (2018-08-04):\n-------------------\n- Checked for python 3.7 support\n\n0.0.4 (2017-11-20):\n-------------------\n- Added a ``--skip-signed`` option so we can skip already signed debian packages\n- Added python 3 support\n\n\nUseful URLS:\n============\n\nhttp://blog.packagecloud.io/eng/2014/10/28/howto-gpg-sign-verify-deb-packages-apt-repositories/\n\nhttps://keyring.debian.org/creating-key.html\n\nhttps://wiki.debian.org/SecureApt#How_apt_uses_Release.gpg\n\nhttps://help.ubuntu.com/community/CreateAuthenticatedRepository\n\nhttp://lists.gnupg.org/pipermail/gnupg-users/2004-May/022471.html", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/devopsconsulting/vdt.simpleaptrepo", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "vdt.simpleaptrepo", "package_url": "https://pypi.org/project/vdt.simpleaptrepo/", "platform": "", "project_url": "https://pypi.org/project/vdt.simpleaptrepo/", "project_urls": { "Homepage": "https://github.com/devopsconsulting/vdt.simpleaptrepo" }, "release_url": "https://pypi.org/project/vdt.simpleaptrepo/0.0.5/", "requires_dist": null, "requires_python": "", "summary": "A simple command line utility to create a debian repository", "version": "0.0.5" }, "last_serial": 4136800, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "25be489dd9a38455fef7f5d69ba0b20b", "sha256": "bb35c620ff322d037ab11837b7b71cbed69ab24a39019efa8bc08e78c2275086" }, "downloads": -1, "filename": "vdt.simpleaptrepo-0.0.1.tar.gz", "has_sig": false, "md5_digest": "25be489dd9a38455fef7f5d69ba0b20b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10978, "upload_time": "2016-10-04T13:04:11", "url": "https://files.pythonhosted.org/packages/2b/c2/cd73ab9b01486a5d13ef8aadbec09d8eacd325e6de6ff20d424f10f48aec/vdt.simpleaptrepo-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6a155223466d95f62e41c4a42d8d51b8", "sha256": "220394fc7fe64ab1ac3a8792e803b7bd73f419d5848c410c731682e69302d437" }, "downloads": -1, "filename": "vdt.simpleaptrepo-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6a155223466d95f62e41c4a42d8d51b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12002, "upload_time": "2016-10-20T15:02:00", "url": "https://files.pythonhosted.org/packages/96/25/b3a446abedb27773e4fa18894f4f5706ff6ddefce46f2aba702428403a76/vdt.simpleaptrepo-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "255c0633808a4eba4eccd389f6804744", "sha256": "c205415903bdf4f15ea699b796de3a911920725b81070982afa58ce665fd621e" }, "downloads": -1, "filename": "vdt.simpleaptrepo-0.0.3.tar.gz", "has_sig": false, "md5_digest": "255c0633808a4eba4eccd389f6804744", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10941, "upload_time": "2017-09-28T13:19:33", "url": "https://files.pythonhosted.org/packages/b1/9d/b31dd81523016d96929c4c055a819126883878e3d22c8ab64f736f40cd12/vdt.simpleaptrepo-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "8b44c2a812818074a7d78b063fa74bc6", "sha256": "280e1d63488a4ea56fde92e3e57d11735cf0c33d2afa8c22fb124660de46a7ae" }, "downloads": -1, "filename": "vdt.simpleaptrepo-0.0.4.tar.gz", "has_sig": false, "md5_digest": "8b44c2a812818074a7d78b063fa74bc6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6437, "upload_time": "2017-11-20T11:10:41", "url": "https://files.pythonhosted.org/packages/35/86/d8ad09acfb0b2165368cacf607e6e7ac732e42408655e70811b2a9686550/vdt.simpleaptrepo-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "45416caafa19db24862a902380d437ac", "sha256": "d7c13b30f7f105619b4803a300a06d534cdbacd860637e016930d371626de179" }, "downloads": -1, "filename": "vdt.simpleaptrepo-0.0.5.tar.gz", "has_sig": false, "md5_digest": "45416caafa19db24862a902380d437ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5924, "upload_time": "2018-08-05T06:44:33", "url": "https://files.pythonhosted.org/packages/59/dd/fe9b076fda89e812c2884f91af9f24174ade4e028a8f12db5e219cbf092e/vdt.simpleaptrepo-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "45416caafa19db24862a902380d437ac", "sha256": "d7c13b30f7f105619b4803a300a06d534cdbacd860637e016930d371626de179" }, "downloads": -1, "filename": "vdt.simpleaptrepo-0.0.5.tar.gz", "has_sig": false, "md5_digest": "45416caafa19db24862a902380d437ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5924, "upload_time": "2018-08-05T06:44:33", "url": "https://files.pythonhosted.org/packages/59/dd/fe9b076fda89e812c2884f91af9f24174ade4e028a8f12db5e219cbf092e/vdt.simpleaptrepo-0.0.5.tar.gz" } ] }