PwSh.Fw.GenericPackageEngine

0.4.0-pre44

Declarative software package definitions engine

This is a prerelease version of PwSh.Fw.GenericPackageEngine.
There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PwSh.Fw.GenericPackageEngine -RequiredVersion 0.4.0-pre44 -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PwSh.Fw.GenericPackageEngine -Version 0.4.0-pre44 -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Charles-Antoine Degennes. All rights reserved.

Package Details

Author(s)

  • Charles-Antoine Degennes

Tags

Windows Linux MacOS PwSh.Fw packages

Functions

Download-GenericPackageAsset Expand-GenericPackageTargets Find-GenericPackageDefinition Get-GenericPackageAssetInfo Install-GenericPackage Resolve-GenericPackageDefinition Test-GenericPackageDefinition

PSEditions

Core

Dependencies

Release Notes

## [unreleased]
### Added
- Definitions may omit the `pkgdef` format marker : it is now a version-routing
 guide rather than a requirement. When missing, the current version (v2) is
 assumed (warning) ; a foreign version marker is still rejected, with a
 message telling the caller which engine module to load.
 `Find-GenericPackageDefinition` also discovers unmarked files that conform
 to the pkgdef schema shape (known root keys, `name`, coherent
 download/install structure) — foreign YAML (Ansible, GitLab CI, ...) is
 still ignored.
- Definitions may omit `targets` : the file then describes a single generic
 build, normalized into one implicit target derived from the caller's
 `-Os` / `-Distrib` / `-Arch` parameters (id `windows-x64`, or `default`
 when no platform is given). The global `download` / `install` / `post`
 blocks apply as-is and the resolved output is identical to the equivalent
 one-entry `targets` list. See `examples/powershell.yml`.
- `Test-GenericPackageDefinition` now runs its per-target coherence checks
 (provider fields, pattern regexes, ...) on the global blocks of
 definitions without targets.
### Changed
- `Resolve-GenericPackageDefinition` no longer requires a target selector
 when the definition declares no targets ; `-TargetId` is rejected on such
 definitions.
- `Expand-GenericPackageTargets` writes a single `<codename>-default.yml`
 for definitions without targets (previously it would write nothing).
- `schemas/pkgdef.schema.json` : `pkgdef` and `targets` are no longer
 required at the root ; the marker matches any `PwSh.Fw.GenericPackageEngine/vN`
 version (the semantic routing check stays in the engine).
### Fixed
- Release script aligned with pwsh.fw.iso 1.9.0 : generic package upload uses PUT (POST answered 415), zip asset link without direct_asset_path

FileList

Version History

Version Downloads Last updated
0.4.0-pre46 15 11/6/2026
0.4.0-pre45 8 11/6/2026
0.4.0-pre44 (current version) 8 11/6/2026
0.4.0-pre43 8 11/6/2026
0.4.0-pre42 8 10/15/2026
0.3.0 23 10/15/2026
0.3.0-pre35 4 10/14/2026
0.3.0-pre34 4 10/14/2026
0.3.0-pre33 3 10/14/2026
0.3.0-pre32 3 10/14/2026
0.3.0-pre31 3 10/14/2026
0.3.0-pre20 5 10/12/2026
0.3.0-pre19 5 10/11/2026
0.3.0-pre18 5 10/10/2026
0.2.0 14 10/9/2026
0.2.0-pre14 6 10/9/2026
0.2.0-pre13 6 10/7/2026
0.2.0-pre12 5 10/6/2026
0.2.0-pre11 4 10/6/2026
0.2.0-pre10 5 10/6/2026
0.1.0 21 10/5/2026
0.1.0-pre04 5 10/5/2026
Show more