-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Add dotenv port (v1.0.1) #48628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add dotenv port (v1.0.1) #48628
Conversation
@microsoft-github-policy-service agree |
vicroms
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the version database issues have been resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new vcpkg port for dotenv v1.0.1, a modern C++23 header-only library for loading and parsing .env files at runtime. The port follows vcpkg conventions for header-only libraries with proper version tracking and MIT license specification.
Key Changes:
- Adds dotenv port version 1.0.1 with header-only installation
- Configures the port to support all non-UWP platforms
- Establishes version tracking in vcpkg's version database
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
versions/d-/dotenv.json |
Creates initial version entry for dotenv 1.0.1 in the version database |
versions/baseline.json |
Adds dotenv 1.0.1 baseline entry in alphabetically correct position |
ports/dotenv/vcpkg.json |
Defines port metadata including version, description, homepage, and platform support |
ports/dotenv/portfile.cmake |
Implements header-only installation from GitHub release v1.0.1 with copyright file |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Unfortunately I think we missed that what repology calls 'dotenv' points to https://ports.macports.org/port/dotenv which points to https://github.com/gyf304/dotenv , not https://github.com/Ayush272002/dotenv @Ayush272002 Would you find naming the port |
Would |
Even without this maintainer guideline https://github.com/gyf304/dotenv is also written in C so it wouldn't be a very good disambiguator |
That makes sense, I understand the guideline. I'll go with |
63aded8 to
e1fabe5
Compare
Add new port:
dotenvThis PR adds a new port for
dotenv, a modern C++23 header-only library for loading and parsing.envfiles at runtime.Upstream repository: https://github.com/Ayush272002/dotenv
Version added: 1.0.0
License: MIT
✔️ New Port Checklist
Changes comply with the maintainer guide.
Port name matches the upstream project and follows vcpkg naming conventions.
Versioning in
vcpkg.jsoncorrectly usesversion-semveras published by upstream.License in
vcpkg.jsonmatches upstream (MIT).Installed copyright file matches upstream
LICENSE.Source archive is pulled from an authoritative upstream release tag.
Generated usage text is accurate for a header-only library.
The version database was updated by running:
Only one entry exists for this new port in
versions/d-/dotenv.json.Only the added version was appended to
versions/baseline.json.📦 Port Summary
Header-only, installed to:
No patches required.
No dependencies required.
Supports all non-UWP platforms (
"supports": "!(uwp)").