Skip to content
This repository was archived by the owner on Aug 29, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 3 additions & 31 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,5 @@
# Contributing

## Branching and Pull Requests

This project uses a trunk-based development model. `master` is the only long-lived branch.

1. Create a short-lived feature branch off `master`.
2. Open a Pull Request targeting `master`.
3. The `CI` workflow (`build-test` job) must pass.
4. Merges must result in linear history. Use squash or rebase merges.

## Releases

Releases are fully automated.

* **Prereleases:** Every merge to `master` triggers the `release.yml` workflow, which publishes a prerelease NuGet package (e.g., `3.1.0-preview.0.7`). No action is required from contributors.
* **Stable Releases:** The maintainer cuts stable releases by pushing an annotated git tag matching `vX.Y.Z` (e.g. `git tag -a v3.1.0 -m "v3.1.0" && git push origin v3.1.0`). This builds a clean `X.Y.Z` package, publishes it to NuGet, and creates a GitHub Release with auto-generated notes.

## Versioning

Versioning is handled automatically via [MinVer](https://github.com/adamralph/minver) based on git tags.

* Do not manually edit `AssemblyVersion`, `FileVersion`, or `InformationalVersion` in the `.csproj` file.
* Version numbers are derived from the latest git tag.

## Local Development

To build and test the project locally:

```bash
dotnet build
dotnet test
```
ArgSentry is no longer maintained and is not accepting contributions, issues, or pull
requests. See the [README](README.md) for details and for a suggested alternative
(`Ardalis.GuardClauses`).
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ ArgSentry

[![CI](https://github.com/eric-davis/ArgSentry/actions/workflows/ci.yml/badge.svg)](https://github.com/eric-davis/ArgSentry/actions/workflows/ci.yml)

> **⚠️ Archived — no longer maintained.** Most of what `Prevent` does is now built into
> .NET itself (`ArgumentNullException.ThrowIfNull`, `ArgumentException.ThrowIfNullOrEmpty`,
> `ArgumentOutOfRangeException.ThrowIfGreaterThan`, etc., .NET 6/8+). For the rest
> (collection/Guid/default-value checks), see [Ardalis.GuardClauses](https://github.com/ardalis/GuardClauses),
> which is actively maintained. This package will remain on NuGet as-is for existing
> consumers, but there will be no further updates, bug fixes, or releases.

ArgSentry is a .NET / .NET Core utility library for validating method argument values.


Expand Down
Loading