{"id":16250831,"url":"https://github.com/christophwille/dotnet-depguard","last_synced_at":"2025-03-19T19:32:08.993Z","repository":{"id":40813377,"uuid":"222484727","full_name":"christophwille/dotnet-depguard","owner":"christophwille","description":"Go-depguard-inspired simple blacklist implementation for .NET NuGet package dependencies","archived":false,"fork":false,"pushed_at":"2023-02-06T13:39:20.000Z","size":14,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T10:21:23.070Z","etag":null,"topics":["csharp","dotnet-core","nuget","tool"],"latest_commit_sha":null,"homepage":"","language":"C#","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/christophwille.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":"2019-11-18T15:44:00.000Z","updated_at":"2023-03-05T07:23:25.000Z","dependencies_parsed_at":"2024-10-27T21:30:01.336Z","dependency_job_id":"da100534-2911-4159-8215-a30c74c84dcd","html_url":"https://github.com/christophwille/dotnet-depguard","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"9d3673d7b8cb05d03eb651f469b0709b97c13f16"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophwille%2Fdotnet-depguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophwille%2Fdotnet-depguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophwille%2Fdotnet-depguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christophwille%2Fdotnet-depguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christophwille","download_url":"https://codeload.github.com/christophwille/dotnet-depguard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244493170,"owners_count":20461618,"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":["csharp","dotnet-core","nuget","tool"],"created_at":"2024-10-10T15:06:48.110Z","updated_at":"2025-03-19T19:32:08.700Z","avatar_url":"https://github.com/christophwille.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotnet-depguard\n\nInspired by https://github.com/OpenPeeDeeP/depguard with support for blacklisted dependencies only.\n\n## Usage\n\nPut a .depguard.json file in your project directory (see test-projects for an example). List the NuGet packages that are \ndisallowed from use in your projects and go. \n\nExit code 0 means you are golden, 1 means you have a blacklisted dependency (and it is printed), -1 is an input error.\n\n## Installation\n\nDownload and install the [.NET Core 2.1 SDK](https://www.microsoft.com/net/download) or newer. Once installed, run the following command:\n\n```bash\ndotnet tool install --global depguard\n```\n\nIf you already have a previous version of **depguard** installed, you can upgrade to the latest version using the following command:\n\n```bash\ndotnet tool update --global depguard\n```\n\n## Kudos\n\nBuilt on https://www.nuget.org/packages/DotNetOutdated.Core with also quite a bit of code from the \nmain project https://github.com/jerriep/dotnet-outdated (project started with issue https://github.com/jerriep/dotnet-outdated/issues/223\nin dotnet-outdated repository). Thanks to the hard work from Jerrie, building my minimal product was super-easy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophwille%2Fdotnet-depguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristophwille%2Fdotnet-depguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophwille%2Fdotnet-depguard/lists"}