Skip to content

Commit a1681fc

Browse files
authored
Merge pull request #12 from OpsGuild/dev
fix(env_manager): Enhance .env parsing for multi-line values, comment…
2 parents d08f1a4 + 9c8d921 commit a1681fc

91 files changed

Lines changed: 362 additions & 246 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ ENV/
3030
htmlcov/
3131
.coverage
3232
.coverage.*
33+
coverage.xml
3334
.pytest_cache/
3435
.tox/
3536
.hypothesis/
3637
generated_envs/
3738
generated_envs_2/
3839
**/generated_envs/
3940
**/generated_envs_2/
41+
**/generated_envs_*/
4042

4143
# IDEs
4244
.vscode/

changelogs/2026-01-29_18-43-51.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Changelog
2+
3+
## [Unreleased]
4+
5+
### Changed
6+
- Enhanced the parsing of environment variable secrets (`env` format) within the `parse_all_in_one_secret` function. The updated parser now robustly handles multi-line values, correctly strips comment lines, and properly manages values enclosed in single or double quotes, improving reliability when processing complex environment variable strings.

changelogs/2026-01-29_18-44-07.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Changelog
2+
3+
## [Unreleased]
4+
5+
### Changed
6+
- Enhanced environment variable parsing for `env` format secrets within the `parse_all_in_one_secret` function. The parser now accurately handles multi-line values, correctly strips leading/trailing quotes from string values, and properly ignores comment lines, leading to more robust extraction of environment variables from various input formats.

changelogs/2026-01-29_18-50-28.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Changelog
2+
3+
## [Unreleased]
4+
5+
### Changed
6+
- Enhanced environment variable parsing for `env` format secrets within the `parse_all_in_one_secret` function. The parser now robustly handles multi-line values, correctly ignores comment lines, and accurately strips leading/trailing quotes from string values, improving reliability when processing complex environment variable strings.

0 commit comments

Comments
 (0)