Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix dependencies, error handling, and package validation#26525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Copilot wants to merge4 commits intomaster
base:master
Choose a base branch
Loading
fromcopilot/apply-comments-from-review

Conversation

Copy link
Contributor

CopilotAI commentedNov 24, 2025
edited
Loading

PR Summary

Addresses review comments from PR#26504 to fix DEB package generation, dependency checking, and build scenario conditions.

PR Context

The original PR#26504 replacedfpm with nativedpkg-deb for DEB package generation. This PR fixes issues identified in code review:

Dependency Management

  • New-NativeDeb: Omit emptyDepends: field when no dependencies specified (prevents invalid control file)
  • Test-Dependencies: Add platform-specific checks fordpkg-deb (Debian) andrpmbuild (RPM systems), not just Mariner

Package Validation

  • DEB filename format:name_version-iteration.deb_arch.deb (wasname_version-iteration_arch.deb)
  • Test regex: Support tilde separator (~rc.1) and variable iteration (-\d vs-1) to match pipeline validation

Error Handling

  • DEB creation catch block: AddGet-Error and rethrow exceptions (was silently swallowing errors)

Build System

  • Scenario conditions: Include'All' option in all 4 package-related checks (Ubuntu/Debian, RedHat/Mariner, SUSE, Windows WiX)
  • Log grouping: Replace unavailableWrite-LogGroup withWrite-LogGroupStart/Write-LogGroupEnd

PR Checklist

Original prompt

apply changes based on the comments inthis thread


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn moreCopilot coding agent tips in the docs.

CopilotAIand others added2 commitsNovember 24, 2025 21:19
…ng, and scenario conditionsCo-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
…ageManagerCo-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
CopilotAI changed the title[WIP] Apply changes based on review commentsApply review comments from PR #26504: fix dependencies, error handling, and package validationNov 24, 2025
@TravisEz13TravisEz13 changed the titleApply review comments from PR #26504: fix dependencies, error handling, and package validationFix dependencies, error handling, and package validationNov 24, 2025
@TravisEz13TravisEz13 added the CL-BuildPackagingIndicates that a PR should be marked as a build or packaging change in the Change Log labelNov 25, 2025

# Build the package using dpkg-deb
$debFileName="${Name}_${Version}-${Iteration}_${HostArchitecture}.deb"
$debFileName="${Name}_${Version}-${Iteration}.deb_${HostArchitecture}.deb"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@copilot This created an invalid file name

WARNING: powershell_7.6.0-preview.6-1.deb.deb_amd64.deb is not a valid DEB package nameError: [-] Linux Package Name Validation.DEB Package Names.Should have valid DEB package names 59ms (58ms|2ms)

Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
@microsoft-github-policy-servicemicrosoft-github-policy-servicebot added the Waiting on AuthorThe PR was reviewed and requires changes or comments from the author before being accept labelNov 29, 2025
@microsoft-github-policy-service
Copy link
Contributor

This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for15 days. It will be closed if no further activity occurswithin 10 days of this comment.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@TravisEz13TravisEz13Awaiting requested review from TravisEz13

@jshigetomijshigetomiAwaiting requested review from jshigetomijshigetomi will be requested when the pull request is marked ready for reviewjshigetomi is a code owner

At least 1 approving review is required to merge this pull request.

Labels

CL-BuildPackagingIndicates that a PR should be marked as a build or packaging change in the Change LogStaleWaiting on AuthorThe PR was reviewed and requires changes or comments from the author before being accept

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@TravisEz13

[8]ページ先頭

©2009-2025 Movatter.jp