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

Fix GalaxyReportsService crash and remove config_type #116

Merged
merged 16 commits into from
Feb 6, 2024

Commits on Feb 6, 2024

  1. Remove config_type from Service and ConfigFile

    1) Line 156 : self.config_type = self.Config.config_type  is throwing: "type object 'BaseConfig' has no attribute 'config_type'" , but is ignored by gravity. Thus config file type is not assigned for services but its silent.
       
    2) If any exception occurs in the Service class constructor those are hidden by a  not subscriptable  exception.
    
    Fix 1) by removing config_type form ConfigFile and Service classes, 2) by re-throwing exception in the class constructor.
    jvanbraekel authored and natefoo committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    e8e781a View commit details
    Browse the repository at this point in the history
  2. Fix the object not subscriptable exception

    Dedicated function for absolute path update,  check for undefined values and use the property access.
    jvanbraekel authored and natefoo committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    791f8c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c3a5cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    61dd221 View commit details
    Browse the repository at this point in the history
  5. Update state.py

    Fix typo.
    jvanbraekel authored and natefoo committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    706ee49 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b0e98a9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f0998e6 View commit details
    Browse the repository at this point in the history
  8. Remove config_type from systemd

    jvanbraekel authored and natefoo committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    0872138 View commit details
    Browse the repository at this point in the history
  9. Fix indentation

    natefoo committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    e2845cc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    787bb2a View commit details
    Browse the repository at this point in the history
  11. Lint and match style

    natefoo committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    00741df View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d780475 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c8011de View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c273915 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    474f919 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9f73ede View commit details
    Browse the repository at this point in the history