fleet/pkg/file/testdata/packageInfo
Ian Littman 7fb9a94384
Use install path on packageInfo XML if it's a .app before falling back to bundle ID for PKG name extraction (#30669)
Fixes #25587. SubEthaEdit packgeInfo file is a bit bigger, but the only
thing different is the list of package IDs included, and that's not what
was broken/fixed here, so went with an abbreviated version that better
demonstrates what got fixed here.

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Improved extraction of application names from uploaded PKG packages by
using the install path as a fallback method.

* **Tests**
* Added a new test case to verify correct name extraction from PKG
packages using the install path.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-09 08:21:10 -05:00
..
packageInfo-empty.xml Allow uploading PKG without Distribution.xml (#23590) 2024-11-06 14:38:13 -06:00
packageInfo-iriunWebcam.xml Allow uploading PKG without Distribution.xml (#23590) 2024-11-06 14:38:13 -06:00
packageInfo-oktaVerify.xml Allow uploading PKG without Distribution.xml (#23590) 2024-11-06 14:38:13 -06:00
packageInfo-scriptOnly.xml Allow uploading PKG without Distribution.xml (#23590) 2024-11-06 14:38:13 -06:00
packageinfo-subEthaEdit-modded.xml Use install path on packageInfo XML if it's a .app before falling back to bundle ID for PKG name extraction (#30669) 2025-07-09 08:21:10 -05:00
packageInfo-versionOnly.xml Allow uploading PKG without Distribution.xml (#23590) 2024-11-06 14:38:13 -06:00