• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

microsoft/winget-pkgs: The Microsoft community Windows Package Manager manifest ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

microsoft/winget-pkgs

开源软件地址(OpenSource Url):

https://github.com/microsoft/winget-pkgs

开源编程语言(OpenSource Language):

PowerShell 100.0%

开源软件介绍(OpenSource Introduction):

Windows Package Manager Community Repository

Gitter Validation Pipeline Badge Publish Pipeline Badge

This repository contains the manifest files for the Windows Package Manager default source. You are highly encouraged to submit manifests for your favorite application.

Note: At this time installers must either be MSIX, MSI or .exe application installers. Standalone or portable executables, compressed .zip files, and fonts are not currently supported.

The Windows Package Manager is an open source client designed for command-line usage. If you are interested in exploring third-party repositories offering private winget package hosting, see third-party repositories.

Submitting a Package

To submit a package to this repository, you should follow these steps:

  1. Follow the Contributing guidelines below.
  2. Author a Manifest.
  3. Test your manifest.
  4. Submit your pull request (PR).
  5. Respond to any feedback in your PR.

Note: Please check the package's manifest you intend to submit does not already exist in the repository, and there are no open PRs for it in order to avoid duplicates.

Authoring a Manifest

You may either use the Windows Package Manager Manifest Creator, the YamlCreate PowerShell script, or you can craft a manifest manually following our authoring guidelines.

Note: Only one manifest may be submitted per PR.

Using the YamlCreate.ps1

To help author manifest files, we have provided a YamlCreate.ps1 powershell script located in the Tools folder. The script will prompt you for the URL to the installer, then will prompt you to fill in metadata. Additional information regarding the YamlCreate script can be found in the documentation for the script.

You can use the script by cloning the repository on your PC and running the script directly from the Tools folder.

Test your manifest

Now that you have authored your manifest, you should make sure it works as expected.

Note: You will need to run winget settings --enable LocalManifestFiles in an administrative shell before working with local manifests.

Locally

  1. Verify the syntax by executing the following command:
winget validate <path-to-manifest>
  1. Test the install by executing the following command:
winget install -m <path-to-manifest>

For more details, see "Submit packages to Windows Package Manager" at Microsoft Docs.

In Windows Sandbox

You can use the Sandbox Test PowerShell script for testing a manifest installation in Windows Sandbox. The manifest will be also validated.

Just provide the path to manifest as parameter:

.\Tools\SandboxTest.ps1 <path-to-manifest>

Submit your PR

With the manifest verified, you will need to submit a PR. Your manifest should be located in the folder path matching

manifests\<first lower case letter of publisher>\<publisher>\<package>\<version>\

Validation Process

The PR request will go through a validation process. The core team or the Microsoft bot (BOT) will use labels to help during the process. In the event of a failure, the BOT will suggest the problem with the submission and assign the PR back to you.

Respond to PR feedback

If the PR has been assigned to you, a timer is triggered. You will have 7 days to resolve the issue, or the BOT will automatically close the PR.

Submissions to the repository are reviewed by Windows Package Manager administrators and/or community moderators. We've provided a Public Service Announcement to help identify these individuals.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Follow the instructions provided by the bot. You will only need to do this once across all Microsoft repositories using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. See the Code of Conduct FAQ or contact [email protected] with any additional questions or comments. More information is available in our Contributing document.

To avoid doubt, you may not make any Submissions linking to third party materials if such Submission is prohibited by the applicable third party and/or otherwise violates such third party's rights.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap