{"id":16918224,"url":"https://github.com/vito/posh","last_synced_at":"2025-03-20T22:25:17.607Z","repository":{"id":66250875,"uuid":"12262827","full_name":"vito/posh","owner":"vito","description":"declarative bosh diff","archived":false,"fork":false,"pushed_at":"2013-08-22T16:42:23.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T19:11:56.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/vito.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-21T06:20:13.000Z","updated_at":"2013-12-06T07:05:06.000Z","dependencies_parsed_at":"2023-02-20T00:45:38.839Z","dependency_job_id":null,"html_url":"https://github.com/vito/posh","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/vito%2Fposh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fposh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fposh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fposh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vito","download_url":"https://codeload.github.com/vito/posh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244701907,"owners_count":20495786,"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-13T19:39:15.258Z","updated_at":"2025-03-20T22:25:17.587Z","avatar_url":"https://github.com/vito.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"template system mockup:\n\n  {{ foo }}:\n    look for the nearest 'foo' key (i.e. lexical scoping) and bring it in\n\n  {{ foo.bar.baz }}:\n    look for the nearest 'foo' key and get attributes on it\n\n    if foo.bar is nil, return nil\n\n  {{ \"foo\" }}:\n    string literal\n\n  {{ \"foo\" + bar }}\n    string concatenation (where bar is another arbitrary expr)\n\n  {{ auto }}:\n    context-sensitive; in a resource pool's instances: this means calculate\n    based on the # of jobs declared in the pool\n\n  {{ merge }}:\n    bring the current path in from the template being diff'd against\n\n    e.g.:\n\n    foo:\n      bar:\n        baz: {{ merge }}\n\n    will bring in {{ foo.bar.baz }}\n\n    if the corresponding value is not defined, it will return nil\n\n  {{ a || b }}:\n    uses a or b if a is nil\n\n  {{ static_ips(N, \"cf1.static\") }}:\n    generate N static IPs in the cf1.static network, returning an array of\n    strings\n\n    see https://github.com/cloudfoundry/bosh/blob/a41407817b1d07e1f2523305c73ef5c53598d199/bosh_cli/lib/cli/commands/biff.rb#L239-L271\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito%2Fposh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvito%2Fposh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito%2Fposh/lists"}