1dee6111bd
chore(changelog): update unreleased changelog
2025-05-30 11:01:07 +00:00
ce78cf3a9a
docs(readme): add input validation and multilingual support
...
CI / build (push) Successful in 13s
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / changelog-only (push) Successful in 7s
Auto Changelog & Release / release (push) Has been skipped
- Document validation of inputs, e.g., systemd `OnCalendar` expressions
- Highlight added multilingual support for English and German
2025-05-30 13:00:38 +02:00
a7f18f0b80
chore(changelog): update changelog for v0.5.0
Upload Assets / upload-assets (amd64, linux) (release) Successful in 28s
Upload Assets / upload-assets (arm64, linux) (release) Successful in 28s
v0.5.0
2025-05-30 10:48:57 +00:00
871d0e26a7
chore(version): bump version to 0.5.0
Auto Changelog & Release / detect-version-change (push) Successful in 2s
Auto Changelog & Release / changelog-only (push) Has been skipped
CI / build (push) Successful in 13s
Auto Changelog & Release / release (push) Successful in 8s
2025-05-30 12:48:43 +02:00
f984f79452
chore(changelog): update unreleased changelog
2025-05-30 10:47:56 +00:00
3f3ce2ca0d
chore(changelog): update unreleased changelog
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
CI / build (push) Successful in 13s
2025-05-30 12:47:32 +02:00
28b23cf947
chore(lock): update dependencies to latest versions
2025-05-30 12:47:24 +02:00
1c07af402b
feat(cli): add validation for command options
2025-05-30 12:47:24 +02:00
3d95706d68
feat(validation): add CLI validation helpers for input checks
...
- Introduce functions to validate CLI inputs like paths, identifiers, and environment variables
- Add error messages for invalid inputs to support user feedback
- Include unit tests to ensure correctness and robustness of validation logic
2025-05-30 12:47:23 +02:00
ccb04e4982
feat(build): add run permissions to compiled binaries
2025-05-30 12:47:23 +02:00
2abe90e9aa
chore(changelog): update unreleased changelog
2025-05-30 10:24:22 +00:00
531a02a6e1
feat(ci): add compile steps to CI workflow
...
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 7s
CI / build (push) Successful in 15s
- Introduces compile steps for amd64 and arm64 targets in CI workflow
- Updates failure condition to include compile step outcomes
- Enhances local CI task to include amd64 build process
2025-05-30 12:24:10 +02:00
f3f2c61da0
fix(build): update included files to use .jsonc format
2025-05-30 12:23:51 +02:00
32d472a606
chore(pr): Support JSONC locale files and update i18n handling #4
...
Auto Changelog & Release / detect-version-change (push) Successful in 2s
Auto Changelog & Release / release (push) Has been skipped
CI / build (push) Successful in 7s
Auto Changelog & Release / changelog-only (push) Successful in 5s
- Add `@std/jsonc` as a dependency in `deno.jsonc` and `deno.lock`
- Update i18n loader to support `.jsonc` files with comments
- Rename locale files from `.json` to `.jsonc` and add inline comments
- Set VSCode to use Deno JSONC formatter for `jsonc` files
This change enables the i18n module to load translation files written in JSONC format, allowing for inline comments and improved readability. The `@std/jsonc` library is added as a dependency and used to parse both JSON and JSONC files. The loader prioritizes `.jsonc` files when both `.json` and `.jsonc` exist. VSCode settings are updated to use the Deno formatter for JSONC files. Locale files are renamed and enhanced with comments for clarity.
Merged from feature/change-language-json-to-jsonc into main
2025-05-30 11:46:33 +02:00
c6d5bf60fc
chore(changelog): update unreleased changelog
CI / build (pull_request) Successful in 7s
2025-05-30 09:45:37 +00:00
c7af1fb6ca
feat(vscode): add JSONC formatter configuration
Auto Changelog & Release / detect-version-change (push) Successful in 2s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
2025-05-30 11:45:15 +02:00
5226269ec2
style(i18n): add comments for clarity and rename files
...
- Adds inline comments to JSON files to improve readability
- Renames `.json` files to `.jsonc` to support comments
- Improves organization of translation entries
2025-05-30 11:45:00 +02:00
4ac5dd4c88
feat(i18n): support loading JSONC translation files
...
- Adds support for `.jsonc` format alongside `.json` for locale files
- Prioritizes `.jsonc` format when both file types are available
2025-05-30 11:44:09 +02:00
8f1cb3fad7
feat(config): add @std/jsonc dependency
...
- Adds @std/jsonc dependency to improve JSONC handling capabilities
- Updates lock file to include integrity and dependency data for @std/jsonc
2025-05-30 11:43:46 +02:00
f4c7b2e18f
chore(pr): add rollback tests and update test descriptions #3
...
Auto Changelog & Release / detect-version-change (push) Successful in 2s
CI / build (push) Successful in 6s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 5s
- Add tests for rollback behavior in `writeUnitFiles` on errors
- Simulate file write and delete failures in test scenarios
- Log rollback failures when file deletion is not possible
- Update all test descriptions and comments to English
- Add `testing/mock.ts` dependency in `deno.lock`
This change adds comprehensive tests for the `writeUnitFiles` function to verify that files are properly rolled back if errors occur during their creation. The tests simulate failures when writing `.service` or `.timer` files, as well as when file deletion is blocked, and check that the function responds by cleaning up as expected or logging rollback failures. All test comments and descriptions have been updated to English for clarity. The `testing/mock.ts` dependency was added to enable function stubbing in tests.
#2
Merged from test/fail-write-and-rollback into main
2025-05-30 11:21:41 +02:00
84a883fd8f
chore(changelog): update unreleased changelog
2025-05-30 09:21:20 +00:00
e5f9f2c45a
chore(changelog): update unreleased changelog
Auto Changelog & Release / detect-version-change (push) Successful in 2s
Auto Changelog & Release / release (push) Has been skipped
CI / build (pull_request) Successful in 6s
Auto Changelog & Release / changelog-only (push) Successful in 7s
2025-05-30 11:21:10 +02:00
f3c46e1222
chore(deps): update deno.lock with new dependency
...
- Adds a new dependency to deno.lock for testing utilities
2025-05-30 11:21:10 +02:00
c4f4614a2d
test(fs): update test descriptions and comments to English
...
- Translate all test descriptions and inline comments from German to English
2025-05-30 11:21:10 +02:00
6039d236eb
test(fs): add rollback tests for writeUnitFiles errors
...
- Add tests to verify rollback behavior when file writing fails
- Simulate various error scenarios to ensure proper cleanup
- Log rollback failures when file deletion is prohibited
2025-05-30 11:21:10 +02:00
333341d3fd
chore(pr): add default merge message template
...
Auto Changelog & Release / detect-version-change (push) Successful in 3s
CI / build (push) Successful in 7s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
- Introduces a template for merge messages in pull requests
- Standardizes format with placeholders for PR details
2025-05-30 11:20:46 +02:00
38afcf210e
chore(changelog): update changelog for v0.4.1
Upload Assets / upload-assets (amd64, linux) (release) Successful in 28s
Upload Assets / upload-assets (arm64, linux) (release) Successful in 29s
v0.4.1
2025-05-28 16:34:22 +00:00
28b18dc994
chore(version): bump version to 0.4.1
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / changelog-only (push) Has been skipped
CI / build (push) Successful in 7s
Auto Changelog & Release / release (push) Successful in 7s
2025-05-28 18:34:09 +02:00
ede012317b
chore(changelog): update unreleased changelog
2025-05-28 16:34:01 +00:00
a22c156dd3
fix(tasks): add read permissions to build scripts
...
Auto Changelog & Release / detect-version-change (push) Successful in 3s
CI / build (push) Successful in 6s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
- Allow read permissions in build scripts for both amd64 and arm64 targets
- Ensure compatibility with files required during the build process
2025-05-28 18:33:47 +02:00
d648d5a3f1
chore(changelog): update changelog for v0.4.0
Upload Assets / upload-assets (amd64, linux) (release) Successful in 28s
Upload Assets / upload-assets (arm64, linux) (release) Successful in 27s
v0.4.0
2025-05-28 16:17:26 +00:00
bb51982f6e
chore(version): bump to 0.4.0
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / changelog-only (push) Has been skipped
CI / build (push) Successful in 6s
Auto Changelog & Release / release (push) Successful in 13s
2025-05-28 18:17:07 +02:00
3416610486
chore(changelog): update unreleased changelog
2025-05-28 16:15:06 +00:00
54d71ba3f0
style(i18n): add missing newline at EOF in JSON files
...
Auto Changelog & Release / detect-version-change (push) Successful in 2s
CI / build (push) Successful in 7s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
- Ensures JSON files adhere to standard formatting by adding a newline
at the end of the file.
2025-05-28 18:14:51 +02:00
c02da70902
feat(vscode): enable Deno support and configure JSON formatting
...
- Enables Deno integration in VS Code settings
- Sets the default JSON formatter to Deno's extension
- Activates format-on-save for improved workflow
2025-05-28 18:14:51 +02:00
9ad407e531
feat(ci): add CI workflow with format, lint, and test steps
...
- Introduces a CI workflow triggered on push, pull requests, and manual dispatch
- Includes steps for code formatting, linting, and testing using Deno
- Fails the workflow if any of the steps do not succeed
2025-05-28 18:14:51 +02:00
07730e5761
feat(tasks): add formatting, linting, and CI tasks
...
- Introduces new tasks for code formatting and linting
- Adds a CI task combining formatting, linting, and testing
2025-05-28 18:14:51 +02:00
1f79c1a15a
chore(changelog): update unreleased changelog
2025-05-28 16:10:19 +00:00
440130f782
feat(tasks): include localization files in build commands
...
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
- Add German and English localization files to build outputs
- Ensure compiled binaries include required resources for i18n support
2025-05-28 18:10:04 +02:00
2a13ee2539
refactor(cli): integrate i18n support across commands
...
- Centralize CLI text strings using the i18n module for localization
- Refactor `createCommand` and `createCli` to improve modularity
- Update logging and error messages to use translated strings
2025-05-28 18:09:52 +02:00
8efbee1ba9
test(i18n): add unit tests for localization functions
...
- Add tests for `loadLocale` to verify translations load correctly
- Add tests for `t` to ensure fallback behavior for missing keys
- Add tests for `getCurrentLanguage` to validate language detection logic
2025-05-28 18:09:24 +02:00
bd5ea80aff
feat(i18n): add German and English translations for CLI tool
...
- Introduce localization files for German and English languages
- Provide translations for CLI tool options and error messages
2025-05-28 18:09:16 +02:00
c9b4c8bd71
feat(i18n): add i18n module for localization support
...
- Introduce functions to initialize and load locale files dynamically
- Add support for translation keys with placeholder replacements
- Default to English if locale files are missing or not found
- Determine system language using environment variables
2025-05-28 18:09:04 +02:00
dfa92d8069
chore(vscode): update folder listener with i18n directory
...
- Adds the /src/i18n directory to the folder listener configuration
- Ensures changes in the i18n folder are tracked as part of the setup
2025-05-28 18:08:37 +02:00
ef052e9f66
chore(changelog): update changelog for v0.3.1
Upload Assets / upload-assets (arm64, linux) (release) Successful in 29s
Upload Assets / upload-assets (amd64, linux) (release) Successful in 43s
v0.3.1
2025-05-28 12:40:53 +00:00
c53576a700
chore(version): bump version to 0.3.1
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / changelog-only (push) Has been skipped
Auto Changelog & Release / release (push) Successful in 8s
2025-05-28 14:40:42 +02:00
3d74ec37e4
chore(changelog): update unreleased changelog
2025-05-28 12:40:16 +00:00
c4855ed3fb
style(workflows): fix formatting and whitespace issues
...
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 7s
- Standardize quotes in branch matching patterns
- Remove unnecessary trailing whitespace
- Add export of author and committer dates for consistent tags
- Ensure proper environment variable alignment
2025-05-28 14:39:42 +02:00
07ee03b6be
chore(version): bump version to 0.3.0
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / changelog-only (push) Has been skipped
Auto Changelog & Release / release (push) Successful in 8s
2025-05-28 14:26:02 +02:00
fb2a62d984
docs(readme): expand CLI option descriptions for clarity
...
- Add detailed explanations for each CLI option in README files
- Improve consistency and formatting for better readability
- Highlight supported features and usage comprehensively
2025-05-28 14:26:02 +02:00