Skip to content

Fix for #13: Allow Extensions deployment from additional folders#14

Merged
Scetrov merged 5 commits intomainfrom
fix/issue-13
Mar 7, 2026
Merged

Fix for #13: Allow Extensions deployment from additional folders#14
Scetrov merged 5 commits intomainfrom
fix/issue-13

Conversation

@Scetrov
Copy link
Copy Markdown
Owner

@Scetrov Scetrov commented Mar 7, 2026

  • fix(ui): improve printer styling and add custom spaced spinner

    • Removed bold styling from printer prefixes (Info, Success, Warn, Error, Debug).
    • Introduced SpacedSpinner to ensure consistent trailing newline spacing without relying on pterm's implicit newlines.
  • docs: regenerate docs

  • fix(builder): handle absolute and Windows paths in contract publication

    • Replaced simple slash prefix check with filepath.IsAbs() to properly block absolute paths across platforms.
    • Used filepath.ToSlash() to ensure Windows path separators are correctly normalized for the container execution path.

Resolves #13

Scetrov added 3 commits March 7, 2026 22:23
- Replaced simple slash prefix check with `filepath.IsAbs()` to properly block absolute paths across platforms.
- Used `filepath.ToSlash()` to ensure Windows path separators are correctly normalized for the container execution path.
- Removed bold styling from printer prefixes (Info, Success, Warn, Error, Debug).
- Introduced `SpacedSpinner` to ensure consistent trailing newline spacing without relying on pterm's implicit newlines.
Copilot AI review requested due to automatic review settings March 7, 2026 23:47
@Scetrov Scetrov self-assigned this Mar 7, 2026
@Scetrov Scetrov added the bug Something isn't working label Mar 7, 2026

This comment was marked as resolved.

Addresses the following review feedback:
- Corrected `env dash` documentation and `--config-file` flag in USAGE.md
- Used absolute container path for publish pubfile and handled non-NotExist stat errors in pkg/builder/publish.go
- Added `ok` check for `runtime.Caller()` in gen-docs/main.go
- Moved success message to `pre-commit` target in Makefile
@Scetrov Scetrov merged commit a1b6ba2 into main Mar 7, 2026
6 checks passed
@Scetrov Scetrov deleted the fix/issue-13 branch March 7, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Env Extension Publish errors on Windows with mangled path

2 participants