{"id":24811167,"url":"https://github.com/thin-edge/tedge-archive-plugin","last_synced_at":"2025-07-14T10:38:44.398Z","repository":{"id":250007158,"uuid":"833209136","full_name":"thin-edge/tedge-archive-plugin","owner":"thin-edge","description":"thin-edge.io archive software management plugin for devices without any package managers","archived":false,"fork":false,"pushed_at":"2024-07-24T15:37:05.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-30T12:19:44.410Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thin-edge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-24T15:10:14.000Z","updated_at":"2024-07-24T15:37:08.000Z","dependencies_parsed_at":"2024-07-24T18:12:36.256Z","dependency_job_id":null,"html_url":"https://github.com/thin-edge/tedge-archive-plugin","commit_stats":null,"previous_names":["thin-edge/tedge-archive-plugin"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Ftedge-archive-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Ftedge-archive-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Ftedge-archive-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Ftedge-archive-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thin-edge","download_url":"https://codeload.github.com/thin-edge/tedge-archive-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245468766,"owners_count":20620449,"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":[],"created_at":"2025-01-30T12:19:32.668Z","updated_at":"2025-03-25T13:24:15.698Z","avatar_url":"https://github.com/thin-edge.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tedge-archive-plugin\n\n## Plugin summary\n\nManage simple archive packages (e.g. tarballs) on a device using thin-edge.io software management plugin api.\n\n**Technical summary**\n\nThe following details the technical aspects of the plugin to get an idea what systems it supports.\n\n|||\n|--|--|\n|**Languages**|`shell` (posix compatible)|\n|**CPU Architectures**|`all/noarch`. Not CPU specific|\n|**Supported init systems**|`N/A`|\n|**Required Dependencies**|-|\n|**Optional Dependencies (feature specific)**|-|\n\n### How to do I get it?\n\nThe following linux package formats are provided on the releases page and also in the [tedge-community](https://cloudsmith.io/~thinedge/repos/community/packages/) repository:\n\n|Operating System|Repository link|\n|--|--|\n|Debian/Raspbian (deb)|[![Latest version of 'tedge-archive-plugin' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/thinedge/community/deb/tedge-archive-plugin/latest/a=all;d=any-distro%252Fany-version;t=binary/?render=true\u0026show_latest=true)](https://cloudsmith.io/~thinedge/repos/community/packages/detail/deb/tedge-archive-plugin/latest/a=all;d=any-distro%252Fany-version;t=binary/)|\n|Alpine Linux (apk)|[![Latest version of 'tedge-archive-plugin' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/thinedge/community/alpine/tedge-archive-plugin/latest/a=noarch;d=alpine%252Fany-version/?render=true\u0026show_latest=true)](https://cloudsmith.io/~thinedge/repos/community/packages/detail/alpine/tedge-archive-plugin/latest/a=noarch;d=alpine%252Fany-version/)|\n|RHEL/CentOS/Fedora (rpm)|[![Latest version of 'tedge-archive-plugin' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/thinedge/community/rpm/tedge-archive-plugin/latest/a=noarch;d=any-distro%252Fany-version;t=binary/?render=true\u0026show_latest=true)](https://cloudsmith.io/~thinedge/repos/community/packages/detail/rpm/tedge-archive-plugin/latest/a=noarch;d=any-distro%252Fany-version;t=binary/)|\n\n### What will be deployed to the device?\n\n* The following software management plugins which is called when installing and removing `archive` packages via Cumulocity IoT\n    * `archive` - Manage (list/install/remove) packages using a tarball (gzip) format\n\n\n## Plugin Dependencies\n\nThe following packages are required to use the plugin:\n\n* Posix shell (`/bin/sh`)\n\n## Package format\n\nThe software management plugin installs and removes archives (e.g. tarball) using a very simple packaging format which mirrors some of the Debian package format conventions.\n\nThe following Table\n\n|Path|Description|\n|----|-----------|\n|`SCRIPTS/preinst`|Maintainer script which is executed prior to the archive being expanded. Must have `755` chmod permissions to be executed!|\n|`SCRIPTS/postinst`|Maintainer script which is executed after the archive has been expanded. Must have `755` chmod permissions to be executed!|\n|`*/*`|All other paths will be unpacked into the `ROOT_DIR` as defined in the `/etc/tedge/sm-plugins/archive` script|\n\nThe `ROOT_DIR` can be controlled by setting a dotenv file in the following location:\n\n```sh\n/etc/tedge-archive-plugin/env\n```\n\n```sh\n# The root directory where all of the tars will be unpacked to\nROOT_DIR=/data\n```\n\n## Development\n\n### Start demo\n\n1. Start the demo\n\n    ```sh\n    just up\n    ```\n\n2. Bootstrap the device\n\n    ```sh\n    just bootstrap\n    ```\n\n### Stop demo\n\n```sh\njust down\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthin-edge%2Ftedge-archive-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthin-edge%2Ftedge-archive-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthin-edge%2Ftedge-archive-plugin/lists"}