{"id":15690092,"url":"https://github.com/sbcgua/abap-package-version-shield","last_synced_at":"2025-07-21T16:32:55.279Z","repository":{"id":37025669,"uuid":"232608883","full_name":"sbcgua/abap-package-version-shield","owner":"sbcgua","description":"shield.io lambda to detect version of abap package, serialized by abapGit","archived":false,"fork":false,"pushed_at":"2025-01-22T16:46:17.000Z","size":1316,"stargazers_count":8,"open_issues_count":15,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T16:30:34.942Z","etag":null,"topics":["abap","badge","hacktoberfest","lambda","shields"],"latest_commit_sha":null,"homepage":"https://sbcgua.github.io/abap-package-version-shield","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbcgua.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-01-08T16:38:37.000Z","updated_at":"2025-01-22T16:46:21.000Z","dependencies_parsed_at":"2024-07-31T08:36:18.221Z","dependency_job_id":"c2644d81-8c5a-49d0-8e51-ee78f511927b","html_url":"https://github.com/sbcgua/abap-package-version-shield","commit_stats":{"total_commits":202,"total_committers":5,"mean_commits":40.4,"dds":"0.43069306930693074","last_synced_commit":"c03148cd3929aa97516e7060b3b04cdcd7a79739"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sbcgua/abap-package-version-shield","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcgua%2Fabap-package-version-shield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcgua%2Fabap-package-version-shield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcgua%2Fabap-package-version-shield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcgua%2Fabap-package-version-shield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbcgua","download_url":"https://codeload.github.com/sbcgua/abap-package-version-shield/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcgua%2Fabap-package-version-shield/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266334499,"owners_count":23912987,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["abap","badge","hacktoberfest","lambda","shields"],"created_at":"2024-10-03T18:07:15.152Z","updated_at":"2025-07-21T16:32:55.255Z","avatar_url":"https://github.com/sbcgua.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD041 --\u003e\n[![Known Vulnerabilities](https://snyk.io/test/github/sbcgua/abap-package-version-shield/badge.svg?targetFile=package.json)](https://snyk.io/test/github/sbcgua/abap-package-version-shield?targetFile=package.json)\n![Version](https://img.shields.io/github/v/tag/sbcgua/abap-package-version-shield.svg)\n\n# ABAP package version shield\n\n\u003e [!IMPORTANT]\n\u003e Mid January 2025 the original URL `shield.abap.space` became offline due to lack of funding for the domain name. I'm looking for ideas how to fund it properly (40-50 USD per year), please post to [the issue](https://github.com/sbcgua/abap-package-version-shield/issues/191) if you have ideas how to resolve this.\n\u003e\n\u003e Currently the service is available at new url [abap-version-shield.sbcg.com.ua](https://abap-version-shield.sbcg.com.ua) (see below) and also a mirror at [tools.abappm.com](https://github.com/abapPM/tools.abappm.com/blob/main/README.md#abap-package-version-badge).\n\n## Usage\n\nThere is an amazing service [shields.io](https://shields.io/) that produces github status badges. In particular, it can retrieve shield configuration from another API. This piece of code implements such API endpoint for extracting abap package version.\n\n![shield sample](docs/shield-sample.svg)\n\nThe service is available at `abap-version-shield.sbcg.com.ua` domain. In order to add a badge to your repository add the following line at the top of your root readme file.\n\n```text\n![abap package version](https://img.shields.io/endpoint?url=https://abap-version-shield.sbcg.com.ua/version-shield-json/$TYPE/$OWNER/$REPO/$PATH/$CONSTANT_NAME)\n```\n\nwhere:\n\n- $TYPE = 'github' (only this for now)\n- $OWNER = your github user name\n- $REPO = you repo name\n- $PATH = path to abap file with version constant\n- $CONSTANT_NAME = constant name to search version in (optional, \"version\" by default)\n\nFor example: [`https://img.shields.io/endpoint?url=https://abap-version-shield.sbcg.com.ua/version-shield-json/github/sbcgua/mockup_loader/src/zif_mockup_loader.intf.abap/version`](https://img.shields.io/endpoint?url=https://abap-version-shield.sbcg.com.ua/version-shield-json/github/sbcgua/mockup_loader/src/zif_mockup_loader.intf.abap/version)\n\n![example](docs/code-example.png)\n\n### Notes\n\n- The version is supposed to be in [semantic version](https://semver.org/) format - e.g. `'X.Y.Z'` or `'vX.Y.Z'` or `'vX.Y.Z-beta'` - the version string is validated and a wrongly formatted one will not pass (e.g. `'X.Y'` is not valid)\n- if `$PATH` = `.apack-manifest.xml` the version is read directly from that file.\n- apack parsing also supports displaying dependency version (see [issue #1](https://github.com/sbcgua/abap-package-version-shield/issues/1)). `'...apack-manifest.xml/dependencies/\u003cgroup_id\u003e/\u003cartifact_id\u003e'`.\n- namespaced filenames and structured constants (`begin of...`) are also supported\n\n### Badge customizing\n\nShields.io allows to override some of parameters e.g. label and color - see more in [their documentation](https://shields.io/). For example: `https://img.shields.io/endpoint?url=...\u0026label=version\u0026color=red` to display the shield in red and with shorter \"version\" label instead of \"abap package version\".\n\n## Badge constructor\n\nInteractive badge constructor is available at [this repository github page](https://sbcgua.github.io/abap-package-version-shield#badge-constructor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbcgua%2Fabap-package-version-shield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbcgua%2Fabap-package-version-shield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbcgua%2Fabap-package-version-shield/lists"}