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

Autoinstallation for localization (l10n) settings #914

Merged
merged 11 commits into from
Feb 7, 2024
Merged

Commits on Jan 19, 2024

  1. Better agama profile validate error messages

    Before:
    > The profile is not valid. Please, check the following errors:
    > * null is not of type "string"
    > * null is not of type "string"
    
    After:
    > The profile is not valid. Please, check the following errors:
    > * null is not of type "string". ValidationError { instance: Null, kind: Type { kind: Single(String) }, instance_path: JSONPointer([Property("root"), Property("sshPublicKey")]), schema_path: JSONPointer([Keyword("properties"), Property("root"), Keyword("properties"), Property("sshPublicKey"), Keyword("type")]) }
    > * null is not of type "string". ValidationError { instance: Null, kind: Type { kind: Single(String) }, instance_path: JSONPointer([Property("storage"), Property("encryptionPassword")]), schema_path: JSONPointer([Keyword("properties"), Property("storage"), Keyword("properties"), Property("encryptionPassword"), Keyword("type")]) }
    
    Which is hard to read but does point to the invalid profile bits:
    `"sshPublicKey": null`, `"encryptionPassword": null`.
    
    BTW that profile is just the output of `agama config show`.
    mvidner committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    f16679d View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Add localization::LocalizationSettings

    actually localization::settings::LocalizationSettings
    mvidner committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    15a3d4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb8945b View commit details
    Browse the repository at this point in the history
  3. Fix LocaleProxy writable properties

    Same issue as in #712:
    
    zbus-xmlgen generates a proxy for setting a writable property but
    forgets to mark it as a property, generating a method call instead
    
    (I fixed zbus-xmlgen in August but they haven't released a crate since June)
    mvidner committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    037618b View commit details
    Browse the repository at this point in the history
  4. More better errors for agama profile validate

    include names of files that were not found
    mvidner committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    491ea9e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be31da6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8bd270a View commit details
    Browse the repository at this point in the history
  7. Parsing KeymapID: don't allow traling garbage

    Before, "foo@#$%" was parsed as "foo"
    
    Also make the Regex more readable with (?x) verbose syntax
    mvidner committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    8c26e4c View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    b815325 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5ca5ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ddd1025 View commit details
    Browse the repository at this point in the history