Skip to content

Conversation

Copy link

Copilot AI commented Dec 6, 2025

Automatically generates PackageFeed.xml with latest download URLs for Chrome, Edge, and Adobe Reader from microsoft/winget-pkgs during GitHub Pages builds.

Changes

  • src/wingetfeed.cs: New .NET 10 file-based tool that:

    • Queries GitHub API to find latest package versions in winget-pkgs manifests
    • Parses YAML installer manifests using YamlDotNet
    • Generates XML feed with package ID, version, and installer URL
    • Uses GITHUB_TOKEN for API authentication to avoid rate limits
  • .github/workflows/publish.yml: Integrated tool into build pipeline between catalog generation and HTML transformation

  • Documentation: Added docs/WinGetPackageFeed.md with usage details and XML schema

Output

Published at https://yourtablecloth.app/TableClothCatalog/PackageFeed.xml:

<?xml version="1.0" encoding="utf-8"?>
<PackageFeed GeneratedAt="2025-12-06T00:00:00Z">
  <Packages>
    <Package Id="Google.Chrome" 
             Version="131.0.6778.86" 
             InstallerUrl="https://dl.google.com/.../googlechromestandaloneenterprise64.msi" />
    <Package Id="Microsoft.Edge" 
             Version="131.0.2903.63" 
             InstallerUrl="https://msedge.sf.dl.delivery.mp.microsoft.com/.../MicrosoftEdgeEnterpriseX64.msi" />
    <Package Id="Adobe.Acrobat.Reader.64-bit" 
             Version="24.004.20220" 
             InstallerUrl="https://ardownload2.adobe.com/.../AcroRdrDCx642400420220_MUI.exe" />
  </Packages>
</PackageFeed>

Enables manual Chrome installation and automated Adobe Reader extension installation workflows.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/microsoft/winget-pkgs/contents/manifests/a/Adobe/Acrobat/Reader/64-bit
    • Triggering command: /home/REDACTED/.local/share/dotnet/runfile/wingetfeed-cc08547e714b81ebbfe7ed3c3b2ead5970f5a418f440d9aeb771fb5477bc576b/bin/debug/wingetfeed /home/REDACTED/.local/share/dotnet/runfile/wingetfeed-cc08547e714b81ebbfe7ed3c3b2ead5970f5a418f440d9aeb771fb5477bc576b/bin/debug/wingetfeed /tmp/test-output (http block)
  • https://api.github.com/repos/microsoft/winget-pkgs/contents/manifests/g/Google/Chrome
    • Triggering command: /home/REDACTED/.local/share/dotnet/runfile/wingetfeed-cc08547e714b81ebbfe7ed3c3b2ead5970f5a418f440d9aeb771fb5477bc576b/bin/debug/wingetfeed /home/REDACTED/.local/share/dotnet/runfile/wingetfeed-cc08547e714b81ebbfe7ed3c3b2ead5970f5a418f440d9aeb771fb5477bc576b/bin/debug/wingetfeed /tmp/test-output (http block)
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • https://api.github.com/repos/microsoft/winget-pkgs/contents/manifests/m/Microsoft/Edge
    • Triggering command: /home/REDACTED/.local/share/dotnet/runfile/wingetfeed-cc08547e714b81ebbfe7ed3c3b2ead5970f5a418f440d9aeb771fb5477bc576b/bin/debug/wingetfeed /home/REDACTED/.local/share/dotnet/runfile/wingetfeed-cc08547e714b81ebbfe7ed3c3b2ead5970f5a418f440d9aeb771fb5477bc576b/bin/debug/wingetfeed /tmp/test-output (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>winget-pkgs 리포지터리와 연계한 최신 패키지 피드 다운로드 URL 획득하기</issue_title>
<issue_description>GitHub Pages 빌드 시 https://github.com/microsoft/winget-pkgs.git 리포지터리의 master 브랜치를 체크아웃하여 Chrome, Edge, Adobe Reader 등의 피드를 가져와서 최신 버전의 다운로드 URL을 별도 XML 파일로 만들어 publish 하도록 구현한다.

Chrome을 수동 설치해야 하는 경우, Adobe Reader 익스텐션 자동 설치 구현을 위해 이 기능을 구현하고자 한다.

관련 이슈: #49 </issue_description>

<agent_instructions>.NET 10의 파일 기반 앱 스타일의 코드를 사용해서 개발해야 합니다.</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@rkttu GitHub API 참고: https://api.github.com/repos/microsoft/winget-pkgs/contents/manifests/m/Microsoft/Edge/120.0.2210.77/Microsoft.Edge.installer.yaml

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: rkttu <1297346+rkttu@users.noreply.github.com>
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI and others added 5 commits December 6, 2025 00:42
Co-authored-by: rkttu <1297346+rkttu@users.noreply.github.com>
Co-authored-by: rkttu <1297346+rkttu@users.noreply.github.com>
…rsion parsing

Co-authored-by: rkttu <1297346+rkttu@users.noreply.github.com>
Co-authored-by: rkttu <1297346+rkttu@users.noreply.github.com>
Co-authored-by: rkttu <1297346+rkttu@users.noreply.github.com>
Copilot AI changed the title [WIP] Add functionality to obtain latest package feed download URLs Fetch latest package download URLs from winget-pkgs repository Dec 6, 2025
Copilot AI requested a review from rkttu December 6, 2025 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

winget-pkgs 리포지터리와 연계한 최신 패키지 피드 다운로드 URL 획득하기

3 participants