{"id":51303657,"url":"https://github.com/gerph/riscos-allocate","last_synced_at":"2026-06-30T22:04:36.930Z","repository":{"id":368316396,"uuid":"1284568000","full_name":"gerph/riscos-allocate","owner":"gerph","description":"A CLI tool for creating and decoding RISC OS allocation files (filetype \u0026FB0).","archived":false,"fork":false,"pushed_at":"2026-06-30T02:08:01.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-30T04:08:17.971Z","etag":null,"topics":["riscos"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gerph.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-30T02:00:34.000Z","updated_at":"2026-06-30T02:08:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gerph/riscos-allocate","commit_stats":null,"previous_names":["gerph/riscos-allocate"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gerph/riscos-allocate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerph%2Friscos-allocate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerph%2Friscos-allocate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerph%2Friscos-allocate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerph%2Friscos-allocate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gerph","download_url":"https://codeload.github.com/gerph/riscos-allocate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerph%2Friscos-allocate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34984786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["riscos"],"created_at":"2026-06-30T22:04:36.264Z","updated_at":"2026-06-30T22:04:36.925Z","avatar_url":"https://github.com/gerph.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# riscos-allocate\n\n`riscos-allocate` is a command line tool for working with RISC OS Allocate\nrequest files. It reads the native binary request format, displays a readable\nsummary, extracts a YAML representation for editing and source control, and can\nrecreate a binary request from that YAML description.\n\nThe repository also contains PRM-in-XML documentation for both the tool and\nthe Allocate file format in [`prminxml/`](prminxml/).\n\n## Features\n\n- Display the contents of an Allocate request file.\n- Extract a request to UTF-8 YAML with `--extract`.\n- Extract a request to `Allocation.yaml` plus detached attachments with\n  `--extract-files`.\n- Create a new Allocate binary request from YAML with `--create`.\n- Preserve filetype attachments either inline or as detached files.\n\n## Requirements\n\n- Python 3.10 or newer for the tool and Python package build.\n- `riscos-prminxml` if you want to lint or build the bundled HTML\n  documentation.\n\n## Installation\n\nInstall from the repository with:\n\n```sh\npython3 -m pip install .\n```\n\nThis installs the `riscos-allocate` command line tool.\n\n## Usage\n\nDisplay a request:\n\n```sh\nriscos-allocate request,fb0\n```\n\nExtract inline YAML:\n\n```sh\nriscos-allocate --extract request,fb0\n```\n\nExtract YAML plus detached files:\n\n```sh\nriscos-allocate --extract-files extracted request,fb0\n```\n\nRecreate a binary request from YAML:\n\n```sh\nriscos-allocate --create extracted -o rebuilt,fb0\n```\n\n## Building\n\nBuild the Python distribution artifacts:\n\n```sh\nmake dist\n```\n\nBuild the HTML documentation from the PRM-in-XML sources:\n\n```sh\nmake docs\n```\n\nBuild both release artifacts:\n\n```sh\nmake\n```\n\nGenerated files are written to:\n\n- `dist/` for the Python source distribution and wheel\n- `build/docs/html/` for the generated documentation\n\n## Repository Layout\n\n- [`riscos_allocate.py`](riscos_allocate.py) contains the tool implementation.\n- [`riscos-allocate.py`](riscos-allocate.py) is a thin executable wrapper.\n- [`prminxml/`](prminxml/) contains the source documentation.\n- [`.github/workflows/build.yml`](.github/workflows/build.yml) builds the\n  release artifacts in CI.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerph%2Friscos-allocate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgerph%2Friscos-allocate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerph%2Friscos-allocate/lists"}