{"id":18596041,"url":"https://github.com/losuler/zypper-automatic","last_synced_at":"2025-05-05T18:45:03.539Z","repository":{"id":133523825,"uuid":"226054461","full_name":"losuler/zypper-automatic","owner":"losuler","description":"Automatically install and notify of updates in openSUSE.","archived":false,"fork":false,"pushed_at":"2024-01-11T10:33:58.000Z","size":75,"stargazers_count":2,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-02T18:27:47.903Z","etag":null,"topics":["automatic","notifications","opensuse","rpm","systemd","updates","zypper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/losuler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-05T08:36:51.000Z","updated_at":"2023-02-07T20:59:33.000Z","dependencies_parsed_at":"2023-07-10T01:33:57.017Z","dependency_job_id":null,"html_url":"https://github.com/losuler/zypper-automatic","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losuler%2Fzypper-automatic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losuler%2Fzypper-automatic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losuler%2Fzypper-automatic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losuler%2Fzypper-automatic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/losuler","download_url":"https://codeload.github.com/losuler/zypper-automatic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252555618,"owners_count":21767200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic","notifications","opensuse","rpm","systemd","updates","zypper"],"created_at":"2024-11-07T01:22:53.792Z","updated_at":"2025-05-05T18:45:03.521Z","avatar_url":"https://github.com/losuler.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://gitlab.com/losuler/zypper-automatic\"\u003e\n  \u003c/a\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003ch3 align=\"center\"\u003eZypper Automatic\u003c/h3\u003e\n    \u003cp align=\"center\"\u003e\n      Automatically install and notify of updates in openSUSE.\n    \u003c/p\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n## About\n\nThe benefits this has over [`yast2-online-update-configuration`](https://github.com/yast/yast-online-update-configuration) is the integration with systemd services/timers and email notifications similar to what's provided in [`dnf-automatic`](https://dnf.readthedocs.io/en/latest/automatic.html) or [`unattended-upgrades`](https://wiki.debian.org/UnattendedUpgrades).\n\n## Builds\n\nBuilds are available on OBS at https://build.opensuse.org/package/show/home:losuler/zypper-automatic.\n\nThis repo can be added on supported systems by:\n\n```bash\n# openSUSE Tumbleweed\nzypper addrepo https://download.opensuse.org/repositories/home:losuler/openSUSE_Tumbleweed/home:losuler.repo\n# openSUSE Leap 15.2\nzypper addrepo https://download.opensuse.org/repositories/home:losuler/openSUSE_Leap_15.2/home:losuler.repo\n```\n\n```bash\nzypper refresh\nzypper install zypper-automatic\n```\n\n## Config\n\nThe configuration file located at `/etc/zypper-automatic.conf` has three main sections. The already filled in values in the examples below are the defaults.\n\n### Zypper\n\n```toml\n[zypper]\npatch_categories =\nwith_interactive = false\nlist_only = false\n```\n\n`patch_categories` is a list delimited by commas `,` of patches you'd like to install. Categories include `security`, `recommended`, `optional`, `feature`, `document` and `yast`.\u003csup\u003e[1]\u003c/sup\u003e\n\n`with_interactive` when set to `true` will install \"interactive patches, that is, those that need reboot, contain a message, or update a package whose license needs to be confirmed.\"\u003csup\u003e[2]\u003c/sup\u003e\n\n`list_only` when set to `true` will only send a list of the patches waiting to be installed and will not install them.\n\n[1]: https://en.opensuse.org/SDB:Zypper_manual#CONCEPTS\n[2]: https://en.opensuse.org/SDB:Zypper_manual#COMMANDS\n\n### Emitters\n\n```toml\n[emitters]\nemitter =\n```\n\nThe `emitter` refers to one of the message services listed in the subsections below.\n\n#### Email\n\n```toml\n[email]\nemail_to =\n```\n\n`email_to` is the email in which to send the notification to. It requires a Sendmail compatible MTA (Mail Transfer Agent) to be setup.\n\n#### Telegram\n\n```toml\n[telegram]\ntoken =\nchat_id =\n```\n\n`token` is the token for the Telegram bot, which is provided by creating a bot by following the steps provided in the [Telegram bot API documentation](https://core.telegram.org/bots#3-how-do-i-create-a-bot).\n\n`chat_id` is the unique identifier for the target chat. It can be obtained by messaging the bot and executing the following command (replace `$BOT_TOKEN`). The ID may be found at `\"chat\": {\"id\": 12345678},`:\n\n```sh\ncurl https://api.telegram.org/bot$BOT_TOKEN/getUpdates | python -m json.tool\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosuler%2Fzypper-automatic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flosuler%2Fzypper-automatic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosuler%2Fzypper-automatic/lists"}