-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[deb] Add some fixes from downstream Debian
Signed-off-by: Arif Ali <[email protected]>
- Loading branch information
Showing
3 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -144,10 +144,49 @@ deb_build_task: | |
pip3 install -r test-requirements.txt --break-system-packages | ||
main_script: | | ||
dpkg-buildpackage -b -us -uc -rfakeroot -m --build-by="[email protected]" | ||
prep_artifacts_script: mv ../*.deb ./sos_cirrus.deb | ||
prep_artifacts_script: | | ||
mv ../*.deb ./sos_cirrus.deb | ||
mv ../*.buildinfo ./sos_cirrus.buildinfo | ||
mv ../*.changes ./sos_cirrus.changes | ||
tar cf sos_cirrus_deb.tgz ./sos_cirrus.buildinfo ./sos_cirrus.changes | ||
packages_artifacts: | ||
path: ./sos_cirrus.deb | ||
type: application/octet-stream | ||
pkgsrc_artifects: | ||
path: ./sos_cirrus_deb.tgz | ||
|
||
# Run lintian on the deb package sources | ||
deb_lintian_task: | ||
alias: "deb_lintian" | ||
name: "deb lintian from Checkout build" | ||
depends_on: | ||
- deb_build | ||
gce_instance: | ||
image_project: "${UBUNTU_PROJECT}" | ||
image_name: "${UBUNTU_DEB_IMAGE_NAME}" | ||
type: e2-micro | ||
setup_script: | | ||
apt update --allow-releaseinfo-change | ||
apt -y install lintian | ||
$ARTCURL/deb%20Build%20From%20Checkout/pkgsrc/sos_cirrus_deb.tgz | ||
tar xf sos_cirrus_deb.tgz | ||
main_script: | ||
lintian -v -i -I -E --pedantic --profile debian sos_cirrus.changes | ||
|
||
# Check license of all files based on debian/copyright file | ||
deb_license_check_task: | ||
alias: "deb_license_check" | ||
name: "deb license check from Checkout" | ||
allow_failures: true | ||
gce_instance: | ||
image_project: "${UBUNTU_PROJECT}" | ||
image_name: "${UBUNTU_DEB_IMAGE_NAME}" | ||
type: e2-micro | ||
setup_script: | | ||
apt update --allow-releaseinfo-change | ||
apt -y install licenserecon | ||
main_script: | ||
lrc | ||
|
||
# Make sure a user can manually build a snap from the checkout | ||
snap_build_task: | ||
|
This file contains 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 |
---|---|---|
|
@@ -2,7 +2,8 @@ Source: sosreport | |
Maintainer: David Negreira <[email protected]> | ||
Section: admin | ||
Priority: optional | ||
Standards-Version: 4.5.1 | ||
Standards-Version: 4.7.0 | ||
Rules-Requires-Root: no | ||
Build-Depends: | ||
debhelper-compat (= 13), | ||
dh-python, | ||
|
@@ -19,11 +20,11 @@ Build-Depends: | |
Homepage: https://github.com/sosreport/sos | ||
Vcs-Browser: https://salsa.debian.org/sosreport-team/sosreport | ||
Vcs-Git: https://salsa.debian.org/sosreport-team/sosreport.git | ||
X-Python3-Version: >= 3.6 | ||
|
||
Package: sosreport | ||
Architecture: any | ||
Depends: ${python3:Depends}, ${misc:Depends}, python3-pexpect, python3-magic, python3-packaging, python3-boto3 | ||
Depends: ${python3:Depends}, ${misc:Depends}, python3-pexpect, python3-magic, python3-packaging | ||
Recommends: python3-boto3 | ||
Description: Set of tools to gather troubleshooting data from a system | ||
Sos is a set of tools that gathers information about system | ||
hardware and configuration. The information can then be used for | ||
|
This file contains 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 |
---|---|---|
|
@@ -3,6 +3,16 @@ Upstream-Name: sosreport | |
Upstream-Contact: Jake Hunsaker <[email protected]> | ||
Source: https://github.com/sosreport/sos | ||
|
||
Files: * | ||
Copyright: 2007-2024 Upstream | ||
License: GPL-2+ | ||
|
||
Files: debian/* | ||
Copyright: | ||
2013 Adam Stokes <[email protected]> | ||
2023-2024 Canonical Ltd. | ||
License: GPL-2+ | ||
|
||
License: GPL-2+ | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
|