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

0.0.25 #43

Merged
merged 4 commits into from
May 25, 2024
Merged

0.0.25 #43

merged 4 commits into from
May 25, 2024

Conversation

t00m
Copy link
Owner

@t00m t00m commented May 25, 2024

New module 'repository'

@t00m t00m added the enhancement New feature or request label May 25, 2024
@t00m t00m added this to the 0.1 milestone May 25, 2024
@t00m t00m self-assigned this May 25, 2024
@t00m t00m merged commit 1287c21 into main May 25, 2024
1 check passed
Copy link

what-the-diff bot commented May 25, 2024

PR Summary

  • Refactoring of __init__.py in MiAZ/backend
    The initialization file in the backend directory has been simplified by removing certain import statements, adding the essential MiAZ.backend.repository.MiSZRepository, and introducing an add_service method to MiAZBackend.

  • Renaming and Refactoring in projects.py
    The class MiAZProject has now been renamed to MiAZ.Projects with needed changes in the log name. Numerous code improvements have been made to make the code more organised, replace direct access with getter methods, and adjust the logging system to make it more informative.

  • Logger Name Update
    The logger name has been updated from 'MiAZWorkspace' to a more appropriate 'MiAZ.Workspace'.

  • Addition of 'repository' Attribute
    A new 'repository' attribute has been added to the class that will further improve code structure.

  • Variable Renaming and Replacement
    Certain variable names have been changed and assigned with more fitting methods like 'self.repository.get()' to enhance code clarity.

  • Inclusion of new Attributes: 'watcher' and 'repository'
    The class has been furnished with new attributes – 'watcher' and 'repository'– which will play a significant role in the better functionality of the class.

  • Extra Logging and Unused Imports Removal
    Less useful logging messages have been commented out and unused imports have been removed to help keep the code cleaner and leaner.

  • Modification in projmgt.py
    Unnecessary direct access to 'backend.projects' has been replaced by 'self.app.get_service('Projects')', falling in line with good coding practices. Few imports that were no longer in use have been cleaned off from the projmgt.py file.

@t00m t00m deleted the 0.0.25 branch May 26, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant