{"id":15724466,"url":"https://github.com/knuxify/apktoys","last_synced_at":"2025-03-31T01:14:40.521Z","repository":{"id":139954110,"uuid":"484735879","full_name":"knuxify/apktoys","owner":"knuxify","description":"personal collection of Alpine Linux packaging helpers (NOT ANDROID'S APK!)","archived":false,"fork":false,"pushed_at":"2023-06-28T08:47:52.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T20:55:24.264Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knuxify.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":"2022-04-23T12:04:34.000Z","updated_at":"2022-04-23T12:06:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"e904586c-3a71-422a-999a-75655ba556b1","html_url":"https://github.com/knuxify/apktoys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuxify%2Fapktoys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuxify%2Fapktoys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuxify%2Fapktoys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuxify%2Fapktoys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knuxify","download_url":"https://codeload.github.com/knuxify/apktoys/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399798,"owners_count":20770908,"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":"2024-10-03T22:16:45.968Z","updated_at":"2025-03-31T01:14:40.482Z","avatar_url":"https://github.com/knuxify.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apktoys\n\npersonal collection of packaging helpers\n\n## usage\n\n1. edit `apktoys` to change the `APORTS_DIRECTORY` variable to your aports directory. (you can also pass a custom APORTS_DIRECTORY by setting the variable when calling any of these tools.)\n2. add `source /path/to/apktoys` to your bashrc. alternatively, run `apktoys \u003ctool\u003e`.\n\n## tools\n\n**note**: `\u003cpackage\u003e` takes either `repository/pkgname` (e.g. `community/xfce4-weather-plugin`) or just `pkgname` as an argument.\n\n* `at-newpkg \u003cpackage\u003e [\u003cpackage\u003e \u003cpackage\u003e ...]` - takes package names and commits the packages with the given names.\n* `at-upgrade \u003cpackage\u003e [--no-commit]` - sets the pkgver to the provided version, updates the checksum, tries to find a changelog, builds the app and if all succeeds commits the change\n* `at-move \u003cpackage\u003e \u003ctarget-repository\u003e [--no-commit]` - moves the provided package to the target repository (testing, community, main, unmaintained) and commits the change.\n* `at-commit \u003ctemplate\u003e \u003cpackage\u003e [data] [--amend/-m]` - runs a git commit from a given template. `\u003ctemplate\u003e` is one of `upgrade`, `move`. `[data]` is used differently depending on the template: for `upgrade` it's the new version, for `move` it's the old repository.\n* (TODO) `at-lint [\u003cpackage\u003e]` - lints a package and checks for common errors. if no package is provided, assumes current directory. reccomended to set as a pre-commit hook.\n* (TODO) `at-commit-lint [\u003ccommit\u003e]` - checks if the commit is correct, i.e. only contains what needs to be contained. if commit is not provided, assumes latest commit. reccomended to set as a post-commit hook.\n* `at-install-makedepends [\u003cpackage\u003e]` - installs depends, makedepends and checkdepends for the package. if package name is not provided, assumes name from current working directory.\n* `at-uninstall-makedepends [\u003cpackage\u003e]` - uninstalls makedepends installed with `at-install-makedepends`.\n* `at-repoforpkg \u003cpackage\u003e` - returns a string like `repository/pkgname`. usually used internally for the other commands, but may be useful in other cases.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknuxify%2Fapktoys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknuxify%2Fapktoys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknuxify%2Fapktoys/lists"}