Skip to content

Comments

chore: Unify linglong.yaml#309

Merged
deepin-bot[bot] merged 1 commit intolinuxdeepin:develop/snipefrom
dengzhongyuan365-dev:develop/snipe
Feb 11, 2026
Merged

chore: Unify linglong.yaml#309
deepin-bot[bot] merged 1 commit intolinuxdeepin:develop/snipefrom
dengzhongyuan365-dev:develop/snipe

Conversation

@dengzhongyuan365-dev
Copy link

  • Update linglong base and runtime to 25.2.2.
  • Use buildext and apt install --download-only instead of sources to download dependency packages.

Log: Unify linglong.yaml
Task: https://pms.uniontech.com/task-view-386771.html

- Update linglong base and runtime to 25.2.2.
- Use buildext and `apt install --download-only` instead of sources to download dependency packages.

Log: Unify linglong.yaml
Task: https://pms.uniontech.com/task-view-386771.html
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry @dengzhongyuan365-dev, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@deepin-ci-robot
Copy link

deepin pr auto review

I'll analyze the changes made to the linglong.yaml file and provide a clear explanation of what was modified and why.

Summary of Changes

The main changes made to the linglong.yaml file are:

  1. Simplified build dependencies: Removed the extensive list of pre-downloaded deb packages and replaced with a simpler apt approach
  2. Updated base and runtime versions: Changed from version 25.2.1 to 25.2.2
  3. Removed architecture-specific files: Deleted the separate architecture files (loong64, mips64, sw64)
  4. Added build extension: Added a buildext section to allow apt downloads during build

Detailed Changes

1. Base and Runtime Updates

# Before
base: org.deepin.base/25.2.1/x86_64
runtime: org.deepin.runtime.dtk/25.2.1/x86_64

# After
base: org.deepin.base/25.2.2
runtime: org.deepin.runtime.dtk/25.2.2
  • Updated to the latest patch version (25.2.2)
  • Removed architecture specification, allowing the build system to detect it automatically

2. Build Dependencies Simplification

# Before
build: |
  bash ./install_dep linglong/sources "${PREFIX}"

# After
build: |
  apt -y install --download-only deepin-gettext-tools libdtk6gui-dev libdtk6widget-dev qt6-base-dev qt6-tools-dev qt6-tools-dev-tools qt6-svg-dev libgtest-dev libical-dev libgcrypt20-dev
  bash ./install_dep /var/cache/apt/archives "$PREFIX"
  • Replaced manual dependency management with apt's native download capability
  • Changed source directory from linglong/sources to /var/cache/apt/archives (apt's default cache)

3. Build Extension Addition

# New section
buildext:
  apt:
    build_depends:
      - libc6
  • Added to explicitly allow apt downloads during the build process
  • Includes minimal dependency libc6 to ensure apt functionality

4. Architecture Files Removal

  • Deleted three architecture-specific files:
    • loong64/linglong.yaml
    • mips64/linglong.yaml
    • sw64/linglong.yaml
  • This simplifies maintenance and relies on the main file's architecture-agnostic configuration

Benefits of These Changes

  1. Maintainability: The configuration is now much simpler with fewer files to maintain
  2. Flexibility: The architecture-agnostic approach allows easier addition of new architectures
  3. Reliability: Using apt's native package management is more reliable than manually tracking dependencies
  4. Efficiency: Downloading only required packages on-demand reduces storage requirements
  5. Up-to-date: Using the latest base/runtime versions ensures access to recent fixes and improvements

Potential Impacts

  • Build Time: May slightly increase as packages are downloaded during build rather than pre-cached
  • Network Dependency: Builds now require internet access during the build process
  • Reproducibility: Package versions may change over time unless explicitly pinned

These changes modernize the build configuration, making it more maintainable and aligned with standard packaging practices while preserving the core functionality of the application build process.

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dengzhongyuan365-dev, lzwind

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dengzhongyuan365-dev
Copy link
Author

/merge

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Feb 11, 2026

This pr cannot be merged! (status: unstable)

@dengzhongyuan365-dev
Copy link
Author

/forcemerge

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Feb 11, 2026

This pr force merged! (status: unstable)

@deepin-bot deepin-bot bot merged commit 122bbd9 into linuxdeepin:develop/snipe Feb 11, 2026
19 of 21 checks passed
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.

3 participants