azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

Promote libssh to SPECS

Open Sumynwa opened this issue 3 years ago • 3 comments

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • [x] The toolchain has been rebuilt successfully (or no changes were made to it)
  • [x] The toolchain/worker package manifests are up-to-date
  • [x] Any updated packages successfully build (or no packages were changed)
  • [x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • [x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • [x] All package sources are available
  • [x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • [x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • [x] All source files have up-to-date hashes in the *.signatures.json files
  • [x] sudo make go-tidy-all and sudo make go-test-coverage pass
  • [x] Documentation has been updated to match any changes to the build system
  • [x] Ready to merge

Promote libssh to meet build dependency for package python-ssh-python

Change Log
  • move from SPECS-EXTENDED to SPECS
  • lint spec
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
  • https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX
Test Methodology
  • Local build

Sumynwa avatar Jul 14 '22 06:07 Sumynwa

Understood. Changes done for promoting libssh to SPECS folder.

Build Dependency package PR's raised: pam_wrapper: https://github.com/microsoft/CBL-Mariner/pull/3429 socket_wrapper: https://github.com/microsoft/CBL-Mariner/pull/3428 uid_wrapper: https://github.com/microsoft/CBL-Mariner/pull/3427 nss_wrapper: https://github.com/microsoft/CBL-Mariner/pull/3430

Sumynwa avatar Jul 25 '22 16:07 Sumynwa

Thank you for the update! I think we still need to lint the spec a bit more because I see that the Summary tag is not the first one anymore, which is standard after running the linter. I should have mentioned more details about linting the spec. Here's more details about how to configure the one we're using (just 3 short steps). That's also what the "Spec Linting" PR check is running. The linter might change a few things in the wrong way (that's why the PR check is not required btw.) but in general it's reliable and I'll help you out with anything that the linter might get wrong. We're still tweaking it a bit.

PawelWMS avatar Aug 03 '22 22:08 PawelWMS

I have linted the specs following https://dev.azure.com/mariner-org/mariner/_wiki/wikis/mariner.wiki/125/Introduction-to-SPEC-Files?anchor=spec-linter

The changes have been verified via Buddy Build: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=239719&view=results

Sumynwa avatar Sep 20 '22 12:09 Sumynwa