feat: release v1.1.0#1
Merged
Merged
Conversation
Member
Author
|
@nilshamerlinck, should I start on v2 |
Contributor
|
yes you can go ahead with |
Implement odoo-db CLI for local Odoo database management. Commands: list, modules, crons, jobs, users, locks - list: all local Odoo DBs with version, neutralized status; --verbose adds module/user count - modules: installed modules with version - crons: active scheduled actions - jobs: queue job counts by state - users: active users with online/away/offline status (via bus_presence or mail_presence) - locks: active DB locks with blocked/blocking PIDs and queries Features: - psycopg3 Unix socket connection (peer auth, no credentials) - Output formats: text (rich table with borders), json, prometheus - Logging: --log-level/--log-file, auto-created logs dir - Friendly error messages for DB connection failures - GitHub Actions: CI tests (pytest), pre-commit, semantic release to PyPI - Smoke tests for CLI help commands
72ccd55 to
2f3ba4a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
list,modules,crons,jobs,users,locks--log-level/--log-file, auto-created logs directoryTest plan
odoo-db list— shows all local Odoo DBs with version and neutralized statusodoo-db list --verbose— adds module count and user count columnsodoo-db modules <db>— lists installed modules with versionodoo-db crons <db>— lists active scheduled actionsodoo-db jobs <db>— shows queue job counts by state (or message if not installed)odoo-db users <db>— lists active users with connection stateodoo-db locks <db>— shows active DB locks--output-format jsonandprometheuswork on all commandsmake checkpasses (lint, format, type-check)