{"id":28517962,"url":"https://github.com/sourcegraph/tf-dag","last_synced_at":"2026-03-01T10:33:19.128Z","repository":{"id":65170031,"uuid":"584971575","full_name":"sourcegraph/tf-dag","owner":"sourcegraph","description":"Fork of directed acyclic graph (DAG) implementation from hashicorp/terraform","archived":false,"fork":false,"pushed_at":"2025-11-13T13:29:23.000Z","size":67,"stargazers_count":18,"open_issues_count":1,"forks_count":2,"subscribers_count":22,"default_branch":"main","last_synced_at":"2026-01-15T17:03:49.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/sourcegraph/tf-dag","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sourcegraph.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-04T01:40:35.000Z","updated_at":"2025-10-30T11:53:12.000Z","dependencies_parsed_at":"2024-06-20T21:50:55.078Z","dependency_job_id":"0d1c77fc-2e47-4b94-8e50-932fe83b7840","html_url":"https://github.com/sourcegraph/tf-dag","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"bb35ae6e6af3c1064ac3d3249efe1678231098c2"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sourcegraph/tf-dag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Ftf-dag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Ftf-dag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Ftf-dag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Ftf-dag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcegraph","download_url":"https://codeload.github.com/sourcegraph/tf-dag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Ftf-dag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29966834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T09:33:09.965Z","status":"ssl_error","status_checked_at":"2026-03-01T09:25:48.915Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":"2025-06-09T05:34:51.101Z","updated_at":"2026-03-01T10:33:19.122Z","avatar_url":"https://github.com/sourcegraph.png","language":"Go","readme":"# tf-dag\n\nFork of [github.com/terraform/hashicorp/internal/dag](https://github.com/hashicorp/terraform/tree/main/internal/dag). Directed acyclic graph (DAG) implementation in Go.\n\n## Why the fork?\n\nThe `dag` package from [terraform/hashicorp] is one of the most well maintained and tested DAG implementations in Go, and [many projects depend on it](https://sourcegraph.com/search?q=context:global+lang:Go+%22github.com/hashicorp/terraform/dag%22\u0026patternType=standard\u0026sm=1\u0026groupBy=repo). However, it was [made internal](https://github.com/hashicorp/terraform/commit/70eebe3521d2f1ffcb5c12b75e90f1b82db94551). Additionally, upstream package contains a lot of extra dependencies where most projects do not need.\n\nBy forking it, we can import it as a standlone package and introduce custom changes to make it more generic.\n\n### Changes\n\nBelow is a list of changes we made to the upstream package:\n\n- [x] replace the use of [`tfdiags`](https://github.com/hashicorp/terraform/tree/main/internal/tfdiags) with `error`\n- [ ] remove logging\n\n## Usage\n\n```sh\ngo get github.com/sourcegraph/tf-dag\n```\n\n[terraform/hashicorp]: https://github.com/hashicorp/terraform\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcegraph%2Ftf-dag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourcegraph%2Ftf-dag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcegraph%2Ftf-dag/lists"}