Skip to content
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

com.ubuntu.apport.policy: fix order of entries #403

Merged
merged 1 commit into from
Nov 26, 2024

Commits on Nov 22, 2024

  1. com.ubuntu.apport.policy: fix order of entries

    The `/usr/share/polkit-1/actions/com.ubuntu.apport.policy` PolicyKit
    actions file does not validate against the provided
    `/usr/share/polkit-1/policyconfig-1.dtd`:
    
    ```
    $ xmllint --noout --nonet --dtdvalid /usr/share/polkit-1/policyconfig-1.dtd /usr/share/polkit-1/actions/com.ubuntu.apport.policy
    /usr/share/polkit-1/actions/com.ubuntu.apport.policy:10: element action: validity error : Element action content does not follow the DTD, expecting (vendor? , vendor_url? , description+ , message+ , icon_name? , defaults , annotate*), got (description message annotate defaults )
    /usr/share/polkit-1/actions/com.ubuntu.apport.policy:22: element action: validity error : Element action content does not follow the DTD, expecting (vendor? , vendor_url? , description+ , message+ , icon_name? , defaults , annotate*), got (description message annotate annotate defaults )
    Document /usr/share/polkit-1/actions/com.ubuntu.apport.policy does not validate against /usr/share/polkit-1/policyconfig-1.dtd
    ```
    
    Move some annotations around to make it validate.
    
    Let the CI depend on libxml2-utils for the xmllint binary and on polkitd
    for providing `/usr/share/polkit-1/policyconfig-1.dtd`.
    
    Bug: https://launchpad.net/bugs/2084152
    bdrung committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    51f6063 View commit details
    Browse the repository at this point in the history