Allow aliasing resource type names
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
Start by reading the resource manifest and configuration document schemas, then trace how resource type names and the configuration version field are handled. Done means aliases can be declared and used for both resource types and configuration fields, so the two example configurations work equivalently.
索引モデルが issue の本文から書いたものです。
説明
Summary of the new feature / enhancement
Hi as DSC configuration administrator I see that wee need to have 2 different config for DSC resources to apply configuration
DSCv3
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
metadata:
author: "Michał"
description: "WinGet packages converted from winget export"
contentVersion: "1.0"
resources:
- name: Package-45
type: Microsoft.WinGet/Package
properties:
id: Microsoft.WindowsTerminal
source: winget
version: 1.25.2733.0
winget DSC
$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/08/config/document.json
metadata:
author: "Michał"
description: "WinGet packages converted from winget export"
configurationVersion: 0.2.0
resources:
- name: Package-45
type: Microsoft.WinGet.DSC/WinGetPackage
properties:
id: Microsoft.WindowsTerminal
source: winget
version: 1.25.2733.0
So to make this transition easier I like to have aliases for some resources:
DSC resource: WinGet Microsoft.WinGet/Package --> Alias: Microsoft.WinGet.DSC/WinGetPackage
DSC : contentVersion --> Alias: configurationVersion
This will allow to generate the same config using simple approaches
Proposed technical implementation details (optional)
Example in schema implementation
{
"$schema": "https://aka.ms/dsc/schemas/v3/bundled/resource/manifest.json",
"description": "",
"tags": [
"Windows",
"dism",
"feature"
],
"type": "Microsoft.WinGet/Package" ,
"Alias"": "Microsoft.WinGet.DSC/WinGetPackage",
"version": "0.1.1"
}
- 主要言語
- Rust
- スター
- 544
- フォーク
- 79
- 平均マージ
- 2日 27分
- マージ済み PR(30日)
- 25
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/DSC のほかの issue
-
Issue-Bug Need-Review
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
PowerShell/DSC#1786 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Define JSONRPC contract for reusable resources対応中かも @SteveL-MSFT が今日担当しました。 オープンIssue-Enhancement Needs Triage
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PowerShell/DSC#1782 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Tracing categories対応中かも @michaeltlombardi が 16 日前に担当しました。 オープンArea-OpenTelemetry Issue-Enhancement Needs Triage
PowerShell/DSC#1767 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Issue-Enhancement Needs Triage
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PowerShell/DSC#1763 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Issue-Enhancement Needs Triage
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
PowerShell/DSC#1760 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
rust_analyzer flycheck: no CLI way to enable clippy from `check.overrideCommand`対応中かも @TrapsterDK が今日担当しました。 オープンneeds-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
bazelbuild/rules_rust#4392 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
🐞 bug 🧩 bevy_gantz_egui
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
nannou-org/gantz#500 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
metasequoiaime/msime#10989 ·
メンテナーはふだん 1 日以内に返信