{"id":26128966,"url":"https://github.com/your-tools/lockdiff","last_synced_at":"2025-07-20T11:32:04.535Z","repository":{"id":41474371,"uuid":"506320051","full_name":"your-tools/lockdiff","owner":"your-tools","description":"Simplify looking at diffs for lock files, such as Cargo.lock or poetry.lock","archived":false,"fork":false,"pushed_at":"2025-05-11T14:39:46.000Z","size":99,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T13:42:16.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/your-tools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2022-06-22T16:13:47.000Z","updated_at":"2025-05-11T14:39:50.000Z","dependencies_parsed_at":"2024-03-26T16:52:41.981Z","dependency_job_id":"028331eb-f345-4424-90eb-777e74100a16","html_url":"https://github.com/your-tools/lockdiff","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/your-tools/lockdiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-tools%2Flockdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-tools%2Flockdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-tools%2Flockdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-tools%2Flockdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/your-tools","download_url":"https://codeload.github.com/your-tools/lockdiff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-tools%2Flockdiff/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266117301,"owners_count":23879045,"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":"2025-03-10T19:29:38.102Z","updated_at":"2025-07-20T11:32:04.508Z","avatar_url":"https://github.com/your-tools.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lockdiff\n\nConvert a lock with lots of info to something more readable\n\nFor instance:\n\n```toml\n[[package]]\nname = \"foo\"\nversion = \"1.4\"\n```\n\nbecomes:\n\n```\nfoo (1.4)\n```\n\n# Using lockdiff with git\n\nThe primary purpose of this tool is to hide \"noise\" related to package changes\nin automatically generated files such as `Cargo.lock` when using with `git diff`\nand related commands.\n\nFor this to work, you need to register the 'lockdiff' as a text converter\nin your git config (usually `~/.config/git/config`)\n\n```ini\n[diff \"lockdiff\"]\ntextconv = lockdiff\n```\n\nand then tell `git` to use `lockdiff` when diffing files, in `~/.config/git/attributes`:\n\n```\nCargo.lock diff=lockdiff\n```\n\nNote: in case of `requirements.txt`, you may want to put the config in `.git/info/attributes`\nbecause sometimes the `requirements.txt` is maintained by hand and not generated by a tool like `pip-compile`.\n\n\n# Supported locks\n\n* `Cargo.lock`\n* `Gemfile.lock`\n* `composer.lock`\n* `go.sum`\n* `package-lock.json`\n* `poetry.lock`\n* `pubspec.lock`\n* `shard.lock`\n* `yarn.lock`\n* `requirements.txt` and similar (the file name must contain `requirements` and end with `.txt`, like in `dev-requirements.txt`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyour-tools%2Flockdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyour-tools%2Flockdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyour-tools%2Flockdiff/lists"}