-
Notifications
You must be signed in to change notification settings - Fork 13
Add --extra-repo-priority for APT pinning + regression test #50
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Simon Beaudoin (simonbeaudoin0935)
merged 4 commits into
main
from
fix/extra-repo-priority-pinning-48
Sep 10, 2026
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
7233afd
feat: add --extra-repo-priority for APT pinning
simonbeaudoin0935 9c601f4
docs: document --extra-repo-priority usage
simonbeaudoin0935 1aa4756
test: move dummy-package fixture out of .github/
simonbeaudoin0935 f87ee2d
test: add extra-repo pin-priority regression test
simonbeaudoin0935 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| qcom-ci-pin-test (0.1.0) unstable; urgency=medium | ||
|
|
||
| * Initial CI extra-repo pin-priority regression test package. | ||
|
|
||
| -- Qualcomm Linux CI <noreply@qualcomm.com> Wed, 09 Sep 2026 12:00:00 -0700 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| Source: qcom-ci-pin-test | ||
| Section: misc | ||
| Priority: optional | ||
| Maintainer: Qualcomm Linux CI <noreply@qualcomm.com> | ||
| Build-Depends: debhelper-compat (= 13), libqcomdummy-dev | ||
| Standards-Version: 4.6.2 | ||
| Rules-Requires-Root: no | ||
|
|
||
| Package: qcom-ci-pin-test | ||
| Architecture: all | ||
| Depends: ${misc:Depends} | ||
| Description: CI regression test for docker-pkg-build --extra-repo-priority | ||
| Build-Depends on a synthetic libqcomdummy-dev published at conflicting | ||
| versions by two extra repos; debian/rules fails unless the pinned | ||
| version won dependency resolution. Reproduces and verifies the fix for | ||
| qualcomm-linux/docker-pkg-build#48. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
|
|
||
| Redistribution and use in source and binary forms, with or without | ||
| modification, are permitted provided that the following conditions are | ||
| met: | ||
| * Redistributions of source code must retain the above copyright | ||
| notice, this list of conditions and the following disclaimer. | ||
| * Redistributions in binary form must reproduce the above | ||
| copyright notice, this list of conditions and the following | ||
| disclaimer in the documentation and/or other materials provided | ||
| with the distribution. | ||
| * Neither the name of the copyright holder nor the names of its | ||
| contributors may be used to endorse or promote products derived | ||
| from this software without specific prior written permission. | ||
|
|
||
| THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED | ||
| WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT | ||
| ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS | ||
| BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
| CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
| SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
| BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
| WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
| OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | ||
| IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| #!/usr/bin/make -f | ||
|
|
||
| # Hardcoded rather than parametrized: docker_deb_build.py has no mechanism to | ||
| # pass env vars into the sbuild chroot, and this test package only ever needs | ||
| # to check for one specific outcome. See test/pinning/run-pinning-test.sh for | ||
| # how the two conflicting versions are published and which run is expected | ||
| # to fail vs. succeed. | ||
| EXPECTED_LIBQCOMDUMMY_VERSION = 1.0-1+qcom1 | ||
|
|
||
| %: | ||
| dh $@ | ||
|
|
||
| override_dh_auto_configure: | ||
| dh_auto_configure | ||
| installed_ver="$$(dpkg-query -W -f='$${Version}' libqcomdummy-dev)"; \ | ||
| echo "Resolved libqcomdummy-dev version: $$installed_ver"; \ | ||
| [ "$$installed_ver" = "$(EXPECTED_LIBQCOMDUMMY_VERSION)" ] || \ | ||
| { echo "ERROR: expected $(EXPECTED_LIBQCOMDUMMY_VERSION), got $$installed_ver"; exit 1; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 3.0 (native) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.