{ "info": { "author": "Christoph Miksche", "author_email": "christoph@miksche.org", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: Unix", "Programming Language :: Python :: 3" ], "description": "# Gitea Auto Update\n\n[![Build Status](https://travis-ci.org/CMiksche/gitea-auto-update.svg?branch=master)](https://travis-ci.org/CMiksche/gitea-auto-update)\n[![PyPI version](https://badge.fury.io/py/gitea-auto-update.svg)](https://badge.fury.io/py/gitea-auto-update)\n\nScript for a automatic update of gitea. Should be run locally on the gitea server. Has options for updating via new binary file or build from source.\n\n## Procedure\n* Get Gitea Version from the Gitea CLI and if that fails from the Gitea API\n* Get latest Release via GitHub API\n* Check if there is a newer Version\n* If there is a newer Version:\n * If binary file was selected: \n * Download new version\n * Check sha256\n * Overwrite old version\n * If build from source is active: \n * Checkout new release branch\n * Build binary\n * Overwrite old binary\n\n\n## General Information\nLicense: GNU General Public License\n\nAuthor: Christoph Daniel Miksche (m5e.de)\n\nUses python version 3\n\n## Installation\n\nCreate a settings.ini file on your system. Example:\n\n ````\n[Gitea]\nsite=https://your-gitea-instance.com/api/v1/version\napiUrl=https://api.github.com/repos/go-gitea/gitea/releases/latest\nsystem=linux-amd64\nfile=/usr/local/bin/gitea\ntmpDir=/tmp/\nbuildFromSource=\nsourceDir=\nlogFile=update.log\n ````\n\nUse the following command to install gitea-auto-update.\n\n ```\n sudo pip3 install gitea-auto-update\n ```\n\nEnter the command `gite-auto-update --settings=/path/to/settings.ini` in your commandline.\n\nIf you want to schedule your updates, edit your /etc/crontab file.\n\n## Tutorials\n\n* English: http://blog.m5e.de/gitea/update/upgrade/bash/script/2018/11/26/gitea-auto-update-script.html\n* German: https://blog.wronnay.net/automatische-gitea-updates/\n\n## Contributors\n\n - [@Eideen](https://github.com/Eideen)\n - [@iwalton3](https://github.com/iwalton3)\n\nThank you for your support!\n\nInterested in contributing to this project? Check out the [Contribution Guidelines](CONTRIBUTING.md).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/CMiksche/gitea-auto-update", "keywords": "gitea,update,debian,linux", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "gitea-auto-update", "package_url": "https://pypi.org/project/gitea-auto-update/", "platform": "", "project_url": "https://pypi.org/project/gitea-auto-update/", "project_urls": { "Homepage": "https://github.com/CMiksche/gitea-auto-update" }, "release_url": "https://pypi.org/project/gitea-auto-update/2.0.7/", "requires_dist": [ "requests", "packaging", "fire", "configparser" ], "requires_python": ">=3", "summary": "A script which can update gitea to a new version.", "version": "2.0.7" }, "last_serial": 5781246, "releases": { "2.0.0": [], "2.0.1": [ { "comment_text": "", "digests": { "md5": "3663568a3aebe71b6467c8fad1f7e187", "sha256": "1811a73893cadd91ac6dc9e3e6add5b3490d3f3bba5ca1cc1b69d4d6f81a25f5" }, "downloads": -1, "filename": "gitea_auto_update-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3663568a3aebe71b6467c8fad1f7e187", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18682, "upload_time": "2019-08-26T20:10:23", "url": "https://files.pythonhosted.org/packages/94/88/ab80ad05b59316af7316831d05ec82679eba1e2a878e672d26ccf01a2c08/gitea_auto_update-2.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac497529c4c345f3e6851b9c678ec574", "sha256": "d07943fd574ba2c2b689b69261777d858cc34912e990478606298c8945cfab6b" }, "downloads": -1, "filename": "gitea_auto_update-2.0.1.tar.gz", "has_sig": false, "md5_digest": "ac497529c4c345f3e6851b9c678ec574", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4478, "upload_time": "2019-08-26T20:10:24", "url": "https://files.pythonhosted.org/packages/a7/8d/55a605a9e8bcb474d651eae8fdadb6a93613b1959639f6991382ee7a8f8c/gitea_auto_update-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "d680cfdf22646e92daf70b8d4ded071f", "sha256": "4573b210c85f130cfff6715d2c0ded134841f49a83f5a25d030c8ca59b20580f" }, "downloads": -1, "filename": "gitea_auto_update-2.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d680cfdf22646e92daf70b8d4ded071f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18682, "upload_time": "2019-08-26T20:13:35", "url": "https://files.pythonhosted.org/packages/d6/ef/6f2c6aec2ab84d84b1679e2e694b477406ed45ab3e9fc2532f07ee74982b/gitea_auto_update-2.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4e55219569f0105818d0f4ab1c28c492", "sha256": "ed73f5d8bebde8e627f38a204e2d07693421f0720ab8c9fa5cd48fddd0afaa84" }, "downloads": -1, "filename": "gitea_auto_update-2.0.2.tar.gz", "has_sig": false, "md5_digest": "4e55219569f0105818d0f4ab1c28c492", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4481, "upload_time": "2019-08-26T20:13:36", "url": "https://files.pythonhosted.org/packages/22/e5/7df7bf21e191db85aa2b91ac18cb0217a41a6dddaa796d1e04cc70e4d308/gitea_auto_update-2.0.2.tar.gz" } ], "2.0.3": [ { "comment_text": "", "digests": { "md5": "68fc7b3c516f26c7d8ccf1aa55179606", "sha256": "6d04d373c6b16eb6870c0661e578f2e4507e5a90d766ba7f235cb1df34ff0943" }, "downloads": -1, "filename": "gitea_auto_update-2.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "68fc7b3c516f26c7d8ccf1aa55179606", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19161, "upload_time": "2019-08-26T20:41:28", "url": "https://files.pythonhosted.org/packages/8b/87/0be13b92ee33d970ea363ccd12273c00a3d377954ea2d862903a6323a805/gitea_auto_update-2.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a6782f55bf109f6c916b627010fd3e72", "sha256": "df29a7ab6d65a4c6472964241844f87aadba491eec437f39a338420cd6a46259" }, "downloads": -1, "filename": "gitea_auto_update-2.0.3.tar.gz", "has_sig": false, "md5_digest": "a6782f55bf109f6c916b627010fd3e72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4533, "upload_time": "2019-08-26T20:41:30", "url": "https://files.pythonhosted.org/packages/39/3a/7cd4cd9b96963dec87daeee610766983f491b7aadea7733a17616600da8b/gitea_auto_update-2.0.3.tar.gz" } ], "2.0.4": [ { "comment_text": "", "digests": { "md5": "82a943c5f774032530aad285bb2e1261", "sha256": "607412980e89461de7926a582f6d96f3127bdbeeb641839abaf04283d87b74d6" }, "downloads": -1, "filename": "gitea_auto_update-2.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "82a943c5f774032530aad285bb2e1261", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19169, "upload_time": "2019-08-26T20:54:40", "url": "https://files.pythonhosted.org/packages/e1/8a/7b3feaa5f56d0ff54a8bdece8a84e4abc669b7ca9522534ef791120cc79c/gitea_auto_update-2.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ce4f02ec98e98c32e9c84b062168eb69", "sha256": "ad7bdcecda3b4ca66f487db730c9f37dce1aa664a5ef5ec25091e5e5fa9146c7" }, "downloads": -1, "filename": "gitea_auto_update-2.0.4.tar.gz", "has_sig": false, "md5_digest": "ce4f02ec98e98c32e9c84b062168eb69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4538, "upload_time": "2019-08-26T20:54:41", "url": "https://files.pythonhosted.org/packages/c1/e4/0c345dca3f570581477181e41d38f7188ea95b3a95356364cd5ba6d65816/gitea_auto_update-2.0.4.tar.gz" } ], "2.0.5": [ { "comment_text": "", "digests": { "md5": "c028439b3eb9d1dffaeea7fc275b44f6", "sha256": "22233e879967122c581baaad4f76f51ca32ee5bb1b8ada16eae52c6079bd4777" }, "downloads": -1, "filename": "gitea_auto_update-2.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "c028439b3eb9d1dffaeea7fc275b44f6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18852, "upload_time": "2019-08-26T21:13:35", "url": "https://files.pythonhosted.org/packages/53/e7/c77d7268060d0fe6e5c39192fb600adea393d73fc1e0c7f1d771a4147c8b/gitea_auto_update-2.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "daf629dbbdc88efb2b30c3f8a6f14f01", "sha256": "53250dd8f7e61657d352584aef1e0a255a88f91955fae247d096180d45463d44" }, "downloads": -1, "filename": "gitea_auto_update-2.0.5.tar.gz", "has_sig": false, "md5_digest": "daf629dbbdc88efb2b30c3f8a6f14f01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4504, "upload_time": "2019-08-26T21:13:36", "url": "https://files.pythonhosted.org/packages/3d/a1/acfa54e1582c879d9bb005cc7eb4ac8c7d505a195369abdc4ca12ec811df/gitea_auto_update-2.0.5.tar.gz" } ], "2.0.6": [ { "comment_text": "", "digests": { "md5": "38cbbbd17f2e668e6df4d36a3f7993ed", "sha256": "8729f5ce59b0d619e0acaff80cb2929e623c9904175e462cae8c2651bbe50790" }, "downloads": -1, "filename": "gitea_auto_update-2.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "38cbbbd17f2e668e6df4d36a3f7993ed", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 18960, "upload_time": "2019-09-02T11:50:04", "url": "https://files.pythonhosted.org/packages/71/2e/87972fe32ff0ba70fcd2ed0d33f0199a06f73677b05f3c9fe665d862b132/gitea_auto_update-2.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d0290fd3e4dfd412ba5cebed70c36bd6", "sha256": "123ade6f85dd51c67f3a72cd7cbaa7c8e52002a4b1d7c1607e563024629bd9a6" }, "downloads": -1, "filename": "gitea_auto_update-2.0.6.tar.gz", "has_sig": false, "md5_digest": "d0290fd3e4dfd412ba5cebed70c36bd6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4629, "upload_time": "2019-09-02T11:50:06", "url": "https://files.pythonhosted.org/packages/4b/29/2d0b8b163c8eedc80504fa52134ba3e95a5bc9549f86740f774536fdba91/gitea_auto_update-2.0.6.tar.gz" } ], "2.0.7": [ { "comment_text": "", "digests": { "md5": "2b8582b7beae7f95b6d35467bd95df32", "sha256": "b21bb74b5e9da1c33ebdc6fabd35edb5ebcd7173ec15c9a949497ca9666eef15" }, "downloads": -1, "filename": "gitea_auto_update-2.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "2b8582b7beae7f95b6d35467bd95df32", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 19040, "upload_time": "2019-09-04T13:31:37", "url": "https://files.pythonhosted.org/packages/e2/13/8d5592d172d26be0ed97badbd36e9f6097a45377e8492dae24a116bb8e55/gitea_auto_update-2.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ae02979b9fcb8c3d79c7cb0312d784cf", "sha256": "47080c5feaad9e275b13b14a7a6a9eb4588a895d019e73032a3f3d963989b966" }, "downloads": -1, "filename": "gitea_auto_update-2.0.7.tar.gz", "has_sig": false, "md5_digest": "ae02979b9fcb8c3d79c7cb0312d784cf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4703, "upload_time": "2019-09-04T13:31:38", "url": "https://files.pythonhosted.org/packages/5e/b0/f3f63fff8f7223e22c43731c355fe96e91d60c01b6ff9a306447aea9784f/gitea_auto_update-2.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2b8582b7beae7f95b6d35467bd95df32", "sha256": "b21bb74b5e9da1c33ebdc6fabd35edb5ebcd7173ec15c9a949497ca9666eef15" }, "downloads": -1, "filename": "gitea_auto_update-2.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "2b8582b7beae7f95b6d35467bd95df32", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 19040, "upload_time": "2019-09-04T13:31:37", "url": "https://files.pythonhosted.org/packages/e2/13/8d5592d172d26be0ed97badbd36e9f6097a45377e8492dae24a116bb8e55/gitea_auto_update-2.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ae02979b9fcb8c3d79c7cb0312d784cf", "sha256": "47080c5feaad9e275b13b14a7a6a9eb4588a895d019e73032a3f3d963989b966" }, "downloads": -1, "filename": "gitea_auto_update-2.0.7.tar.gz", "has_sig": false, "md5_digest": "ae02979b9fcb8c3d79c7cb0312d784cf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4703, "upload_time": "2019-09-04T13:31:38", "url": "https://files.pythonhosted.org/packages/5e/b0/f3f63fff8f7223e22c43731c355fe96e91d60c01b6ff9a306447aea9784f/gitea_auto_update-2.0.7.tar.gz" } ] }