-
Notifications
You must be signed in to change notification settings - Fork 451
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: theskumar/python-dotenv
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: theskumar/python-dotenv
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 16 commits
- 14 files changed
- 9 contributors
Commits on Apr 7, 2024
-
This is a basic security policy, mostly to provide an email address. I took inspiration from the example provided by GitHub and the policy from the Pallets project.
Configuration menu - View commit details
-
Copy full SHA for 6d6070c - Browse repository at this point
Copy the full SHA 6d6070cView commit details
Commits on Apr 8, 2024
-
Keep GitHub Actions up to date with GitHub's Dependabot
Fixes warnings like at the bottom right of https://github.com/theskumar/python-dotenv/actions/runs/7980672386 * https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot * https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
Configuration menu - View commit details
-
Copy full SHA for bf20c80 - Browse repository at this point
Copy the full SHA bf20c80View commit details -
ci: fix multiline string in test.yml & use fail-fast strategy (#514)
* Fix multiline string in test.yml * strategy: fail-fast: false * Update test.yml
Configuration menu - View commit details
-
Copy full SHA for 8c9381e - Browse repository at this point
Copy the full SHA 8c9381eView commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 08937a1 - Browse repository at this point
Copy the full SHA 08937a1View commit details
Commits on Jul 18, 2024
-
Enhance dotenv run: Switch to execvpe for better resource management …
…and signal handling (#523) The current implementation of `dotenv run` CLI uses `subprocess.Popen`, which spawns a child process to execute the specified command. ``` p = Popen(command, universal_newlines=True, bufsize=0, shell=False, env=cmd_env) ``` After spawning the child process, it exits with the same exit code returned by the child process. ``` ret = run_command(commandline, dotenv_as_dict) exit(ret) ``` ### We can enhance `dotenv run` usage dramatically while preserving exactly the same behaviour By switching to `os.execvpe` instead of `subprocess.Popen`, we can replace the parent dotenv process with the new process specified by the user. This results in only one active process—the program the user intended to run. **Benefits:** 1. No hanging parent process `dotenv run` acts as a launcher, so after executing `dotenv run redis-server`, only the Redis server process remains. The dotenv process, along with its Python interpreter, is completely replaced. This prevents the dotenv process from consuming RAM and other resources, which would otherwise persist until the Redis server exits. 2. Proper signal handling When using `subprocess.Popen`, the parent process (e.g., `dotenv`) remains responsible for handling and forwarding signals, which can lead to issues if the command doesn’t receive them directly. For instance, in Docker, if Redis was started without `exec`, it may not get important signals like `SIGTERM` when the container stops, potentially resulting in improper shutdowns or zombie processes. Using `os.execvpe` ensures that the command receives signals directly, improving reliability and making `dotenv` more suitable for production environments and improving reliability for DevOps engineers managing containerized applications. All current logic will be preserved because dotenv run does not do anything special except propagate the child process exit code. Thanks / @eekstunt
Configuration menu - View commit details
-
Copy full SHA for 4543837 - Browse repository at this point
Copy the full SHA 4543837View commit details
Commits on Jul 23, 2024
-
ci: add py3.13 to test.yml (#527)
* ci: add py3.13 to test.yml * Improve type hints * fix typo
Configuration menu - View commit details
-
Copy full SHA for 4d505f2 - Browse repository at this point
Copy the full SHA 4d505f2View commit details
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 533f8ac - Browse repository at this point
Copy the full SHA 533f8acView commit details -
Bump the github-actions group with 2 updates (#529)
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-python](https://github.com/actions/setup-python). Updates `actions/checkout` from 2 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v4) Updates `actions/setup-python` from 2 to 5 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v2...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2b8635b - Browse repository at this point
Copy the full SHA 2b8635bView commit details
Commits on Mar 9, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 4159388 - Browse repository at this point
Copy the full SHA 4159388View commit details -
s/Python-dotenv/python-dotenv/ (#516)
This commit uses the name `python-dotenv` instead of `Python-dotenv` in the README.md file
Configuration menu - View commit details
-
Copy full SHA for 3c19c03 - Browse repository at this point
Copy the full SHA 3c19c03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9acba4a - Browse repository at this point
Copy the full SHA 9acba4aView commit details
Commits on Mar 25, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 8dd413e - Browse repository at this point
Copy the full SHA 8dd413eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c89fb6d - Browse repository at this point
Copy the full SHA c89fb6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2198b69 - Browse repository at this point
Copy the full SHA 2198b69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36c6270 - Browse repository at this point
Copy the full SHA 36c6270View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a02ef5 - Browse repository at this point
Copy the full SHA 6a02ef5View commit details
There are no files selected for viewing