{"id":18365249,"url":"https://github.com/openlink/vadpacker","last_synced_at":"2026-02-16T10:17:06.892Z","repository":{"id":66842502,"uuid":"45037260","full_name":"openlink/vadpacker","owner":"openlink","description":"OpenLink's VAD Packer is a standalone tool to speed up building .vad archives for OpenLink Virtuoso","archived":false,"fork":false,"pushed_at":"2024-12-31T11:43:36.000Z","size":106,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-12-23T00:25:23.196Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openlink.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-27T11:43:47.000Z","updated_at":"2025-11-05T01:33:50.000Z","dependencies_parsed_at":"2024-03-14T14:30:01.242Z","dependency_job_id":"d7fdd294-2cf9-4efd-aafa-df9535069d9a","html_url":"https://github.com/openlink/vadpacker","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/openlink/vadpacker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlink%2Fvadpacker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlink%2Fvadpacker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlink%2Fvadpacker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlink%2Fvadpacker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openlink","download_url":"https://codeload.github.com/openlink/vadpacker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlink%2Fvadpacker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29505797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-05T23:12:58.344Z","updated_at":"2026-02-16T10:17:06.865Z","avatar_url":"https://github.com/openlink.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"OpenLink Virtuoso VADPacker\n===========================\n\nOpenLink's vadpacker is a small python tool which allows to create Virtuoso VAD packages from a sticker\nfile template. This template can contain variables and resource tags which use file globbing.\n\n\nVariables\n---------\n\nThe sticker file can contain any variable at any point in the file. Variables are marked with enclosing\n$ characters.\n\nExample:\n\n    \u003cversion package=\"$VERSION$\"\u003e\n\nValues for these variables are specified on the command line as follows:\n\n    vadpacker.py --var=\"VERSION=1.0\" ...\n\nThe following variables are replaced with default values if nothing is specified on the commandline:\n\n- `PACKDATE`: Will be replaced with the current date and time formatted according to `%Y-%m-%d %H:%M`\n- `HOME`: Will be replaced with the current home directory (env variable `HOME` on *NIX systems)\n\n\nResource Globbing\n-----------------\n\nVadpacker supports powerful resource globbing to simplify the resource list in a sticker template.\nThe most simple resource globbing looks as follows:\n\n    \u003cresource source_uri=\"*.png\" target_uri=\"wa/\" /\u003e\n\nThis will list all PNG images from the current folder and create resource entries for them. The trailing\nslash in the `target_uri` attribute will make vadpacker append the relative path. Thus, if the current folder\nwould contain files `one.png` and `two.png` the resulting resource lines would look as follows (other attributes\nhave been removed for readability:\n\n    \u003cresource source_uri=\"one.png\" target_uri=\"wa/one.png\" /\u003e\n    \u003cresource source_uri=\"two.png\" target_uri=\"wa/two.png\" /\u003e\n\nThe same can be achieved by using the `$p$` variable which will be replaced with the relative path of the source\nfile:\n\n    \u003cresource source_uri=\"*.png\" target_uri=\"wa/$p$\" /\u003e\n\nIn contrast to the `$p$` variable `$f$` will be expended to the filename only. This is useful when creating entries\nin which the target folder differs from the source folder. A typical example could look as follows:\n\n    \u003cresource source_uri=\"oat/images/*.png\" target_uri=\"images/oat/$f$\" /\u003e\n\nFinally vadpacker supports *recursive globbing* which is enabled through the usage of the special pattern `**/`:\n\n    \u003cresource source_uri=\"images/**/*.png\" target_uri=\"images/$p$\" /\u003e\n\nThis will recursively find all PNG files and put them into the images folder using the relative path. It includes\nfiles in the `images` folder, meaning `**/` expands to any sub-folder and the empty string.\n\n_Tip:_ If the source files reside in a subfolder which should not be included in the target urls, then the *--prefix*\noption is the solution. Using it is comparable to changing into the directory and then executing vadpacker.\n\n\nResource selection via Inline Scripts\n-------------------------------------\n\nA powerful but also potentially dangerous feature of the vadpacker is the selection of resources via arbitrary shell\nscript execution. This is achieved by replacing the source_uri pattern with a shell command like in the following\nexample:\n\n    \u003cresource source_uri=\"`find . -name \"*.png\"|grep -v \"notme.png\"`\" target_uri=\"images/\" /\u003e\n\nThis will find all .png files in the current folder excluding any file named *notme.png*.\n\n\nDefault Resource Values\n-----------------------\n\nTo make sticker templates even simpler to read and maintain vadpacker uses the following default for resource\nattributes:\n\n- `overwrite` = `yes`\n- `type` = `dav`\n- `source` = `data`\n- `dav_owner` = `dav`\n- `dav_grp` = `administrators`\n- `dav_perm` = if the file extension is one of `.vsp`, `.vspx`, or `.php` the default is `111101101NN`, otherwise `110100100NN`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlink%2Fvadpacker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenlink%2Fvadpacker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlink%2Fvadpacker/lists"}