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

implement local reporter mode #126

Merged
merged 6 commits into from
May 21, 2024
Merged

implement local reporter mode #126

merged 6 commits into from
May 21, 2024

Conversation

arcan1s
Copy link
Owner

@arcan1s arcan1s commented May 11, 2024

Summary

This mr improves client class with bunch of update/get methods and also makes write to database more straight-forward. Now if client loads without reporting, it will use local (database) mode and web interaction otherwise.

Note, however, that some methods still require direct interaction with database - e.g. build queue and user operations.

Other changes:

  • Some methods inside clients and watcher have been renamed for better consistency.
  • patch-list command now requires package to be set.
  • Dependencies now operates with strings instead of paths. Some methods have been also adjusted.

Closes #123

Checklist

  • Tests to cover new code
  • tox passed

@arcan1s arcan1s force-pushed the master branch 2 times, most recently from e6ef649 to bca0df4 Compare May 12, 2024 08:52
@arcan1s arcan1s force-pushed the feature/local-reporter branch 21 times, most recently from 2a46835 to b124b76 Compare May 16, 2024 10:58
@arcan1s arcan1s self-assigned this May 16, 2024
@arcan1s arcan1s added this to the 2.14.0 milestone May 16, 2024
@arcan1s arcan1s added the enhancement New feature or request label May 16, 2024
@arcan1s arcan1s force-pushed the feature/local-reporter branch 2 times, most recently from 077e908 to 3168222 Compare May 20, 2024 11:45
@arcan1s arcan1s force-pushed the feature/local-reporter branch 2 times, most recently from cedf113 to 2dd6c12 Compare May 20, 2024 13:42
@arcan1s arcan1s force-pushed the feature/local-reporter branch from 2dd6c12 to ccb6aae Compare May 20, 2024 14:11
@arcan1s arcan1s force-pushed the feature/local-reporter branch from 77d7cec to 89f1b6e Compare May 20, 2024 17:45
@arcan1s arcan1s merged commit 5995b78 into master May 21, 2024
6 checks passed
@arcan1s arcan1s deleted the feature/local-reporter branch May 21, 2024 13:27
arcan1s added a commit that referenced this pull request Aug 14, 2024
* implement local reporter mode

* simplify watcher class

* review changes

* do not update unknown status

* allow empty key patches via api

* fix some pylint warnings in tests
arcan1s added a commit that referenced this pull request Sep 30, 2024
* implement local reporter mode

* simplify watcher class

* review changes

* do not update unknown status

* allow empty key patches via api

* fix some pylint warnings in tests
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
Archived in project
Development

Successfully merging this pull request may close these issues.

Split reporter class to local and remote
1 participant