{"id":37218027,"url":"https://github.com/cockroachdb/sqlfmt","last_synced_at":"2026-01-15T01:07:46.055Z","repository":{"id":57555564,"uuid":"290272425","full_name":"cockroachdb/sqlfmt","owner":"cockroachdb","description":"SQL formatter with width-aware output","archived":false,"fork":true,"pushed_at":"2022-12-12T19:45:52.000Z","size":118,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-31T23:12:21.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sqlfum.pt/","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"madelynnblue/sqlfmt","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cockroachdb.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}},"created_at":"2020-08-25T16:56:32.000Z","updated_at":"2024-08-19T18:07:53.000Z","dependencies_parsed_at":"2023-01-28T00:31:16.686Z","dependency_job_id":null,"html_url":"https://github.com/cockroachdb/sqlfmt","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cockroachdb/sqlfmt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fsqlfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fsqlfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fsqlfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fsqlfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cockroachdb","download_url":"https://codeload.github.com/cockroachdb/sqlfmt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fsqlfmt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","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":[],"created_at":"2026-01-15T01:07:45.473Z","updated_at":"2026-01-15T01:07:46.042Z","avatar_url":"https://github.com/cockroachdb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqlfmt\nExperimental SQL formatter with width-aware output\n\nBased on http://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf.\n\nRequires having the master branch of https://github.com/cockroachdb/cockroach checked out at `$GOPATH/src/github.com/cockroachdb/cockroach`, and running `make` in that directory.\n\n# Deployment\n\nTo deploy:\n\n1. Ensure your kubectl creds for the desired cluster are present.\n   * See https://github.com/cockroachlabs/h2hello \n2. Run `./build.sh`\n3. If everything went well, kill current pods so they will be redeployed from the new docker image:\n`kubectl get po | grep sqlfmt | awk '{print $1}' | xargs kubectl delete pod`\n   * Note that this will work only if your branch is the same branch used by\n     the service. You can use the below command to set the image:\n   * `kubectl set image deployment/sqlfmt sqlfmt=gcr.io/cockroach-dev-inf/cockroachlabs/sqlfmt:master`\n\nNote that step 8 will only work if you're on the master branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcockroachdb%2Fsqlfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcockroachdb%2Fsqlfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcockroachdb%2Fsqlfmt/lists"}