{"id":37956237,"url":"https://github.com/indellient/bldr_package_sync","last_synced_at":"2026-01-16T18:00:59.665Z","repository":{"id":102495183,"uuid":"162833587","full_name":"Indellient/bldr_package_sync","owner":"Indellient","description":"Habitat Builder Upstream Sync","archived":false,"fork":false,"pushed_at":"2020-08-24T14:45:52.000Z","size":1190,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-03-03T17:12:15.689Z","etag":null,"topics":["golang","habitat"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Indellient.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":"2018-12-22T18:20:26.000Z","updated_at":"2024-06-19T11:05:23.256Z","dependencies_parsed_at":null,"dependency_job_id":"f6e6da48-67d8-4a7a-9b2e-93cd3a4685e5","html_url":"https://github.com/Indellient/bldr_package_sync","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/Indellient/bldr_package_sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Indellient%2Fbldr_package_sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Indellient%2Fbldr_package_sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Indellient%2Fbldr_package_sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Indellient%2Fbldr_package_sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Indellient","download_url":"https://codeload.github.com/Indellient/bldr_package_sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Indellient%2Fbldr_package_sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["golang","habitat"],"created_at":"2026-01-16T18:00:33.300Z","updated_at":"2026-01-16T18:00:59.634Z","avatar_url":"https://github.com/Indellient.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Habitat Builder Syncer\n\nThis package is intended to sync habitat packages, and their corresponding keys from an upstream\nbuilder, to a target builder.\n\nThese values are driven by configuration.\n\n## Usage\n\nFor the preferred usage on the habitat package please review the [Habitat package README](./habitat/README.md)\n\nCurrently there is only one mode to execute in, continuity as an agent where the sync process happens followed\nby a sleep and re-execution.\n\n### Example\n\nThis will run the sync process with the given configuration file.\n\n```\nbldr_package_sync --config user.toml sync\n```\n\n## Configuration\n\n* `interval`: integer value used to determine the amount of time to sleep after running the process\n* `log_level`: the level to print logs at (debug, info, warn, error)\n* `temp_dir`: the temp directory to stage files in\n* `env`: additional environment variables to use when shelling out (could be proxy or ssl, see\n  [troubleshooting](#troubleshooting))\n* `features`: list of beta features to include\n  * options: `PACKAGE_CONSTRAINTS`\n* `upstream`: the bldr to pull packages/keys from\n  * `url`: the url to the corresponding upstream\n* `target`: the bldr to push packages/keys to\n  * `url`: the url to the corresponding target\n  * `authToken`: the authToken to push to the origins in the target (must have access to _all_\n    outlined origins)\n* `origin`: list of origins and channels to pull packages from\n  * `name`: the name of the origin\n  * `channels`: a list of channels to pull/push packages to\n* `package`: list of package constraints (this feature is beta)\n  * `name`: the name of the origin\n  * `contraint`: the constraint on the package\n\n### Full Example\n\n```\ninterval = 300\nenv = []\nlog_level = \"info\"\ntemp_dir = \"/tmp\"\n\n[upstream]\nurl = \"https://bldr.habitat.sh\"\n\n[target]\nurl = \"\"\nauthToken = \"\"\n\n[[origin]]\nname = \"habitat\"\nchannels = [\"stable\", \"on-prem-stable\"]\n\n[[origin]]\nname = \"core\"\nchannels = [\"stable\"]\n```\n\n#### Package Contraints (Beta)\n\n```\ninterval = 300\nenv = []\nlog_level = \"info\"\ntemp_dir = \"/tmp\"\nfeatures = [\"PACKAGE_CONSTRAINTS\"]\n\n[upstream]\nurl = \"https://bldr.habitat.sh\"\n\n[target]\nurl = \"\"\nauthToken = \"\"\n\n[[origin]]\nname = \"habitat\"\nchannels = [\"stable\", \"on-prem-stable\"]\n\n[[origin]]\nname = \"core\"\nchannels = [\"stable\"]\n\n[[package]]\nname = \"core/hab\"\nconstraint = \"\u003c 0.80.0\"\n\n[[package]]\nname = \"core/hab-pkg-export-docker\"\nconstraint = \"\u003c 0.80.0\"\n```\n\n## Troubleshooting\n\nIf running on a mac and getting SSL related errors, try appending to the env array in the config\nfile:\n\n```\nenv = [\"SSL_CERT_FILE=/usr/local/etc/openssl/cert.pem\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findellient%2Fbldr_package_sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findellient%2Fbldr_package_sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findellient%2Fbldr_package_sync/lists"}