Skip to content

resolves 16: refactor article cli lifecycle commands and add robust setupdoctor workflows#17

Merged
prudhomm merged 14 commits into
mainfrom
16-refactor-article-cli-lifecycle-commands-and-add-robust-setupdoctor-workflows
May 9, 2026
Merged

resolves 16: refactor article cli lifecycle commands and add robust setupdoctor workflows#17
prudhomm merged 14 commits into
mainfrom
16-refactor-article-cli-lifecycle-commands-and-add-robust-setupdoctor-workflows

Conversation

@prudhomm
Copy link
Copy Markdown
Member

@prudhomm prudhomm commented May 9, 2026

prudhomm added 2 commits May 9, 2026 07:02
Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
@prudhomm prudhomm self-assigned this May 9, 2026
@prudhomm prudhomm added area: cli Command-line interface and command dispatch area: zotero Zotero and BibTeX synchronization area: ci-cd GitHub Actions and automated validation area: release Versioning, tags, and paper release workflow type: refactor Code structure and maintainability refactoring type: feature New user-facing functionality labels May 9, 2026
prudhomm added 12 commits May 9, 2026 07:19
…flows

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
…article-cli

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
…r improved compatibility

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
…h dry-run options

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
- Moved reporting functions to a new `reporting.py` module for better organization.
- Introduced `ProjectContext` class to encapsulate project state and configuration resolution.
- Updated `LaTeXCompiler` to utilize the new `CommandRunner` for executing commands.
- Created service layer for handling various functionalities including bibliography, compilation, git operations, and workflow setup.
- Added tests for project context resolution and service boundaries to ensure functionality.
- Removed redundant code from `zotero.py` and integrated reporting functions.
- Enhanced error handling and output reporting across services.

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
… checks

- Added support for specifying Zotero collections in bibliography updates.
- Introduced options to include local BibTeX entries and merge them with Zotero output.
- Implemented a check mode to verify bibliography freshness without modifying files.
- Added functionality to check citation completeness against project sources.
- Updated configuration to handle new parameters for local files and merged outputs.
- Enhanced the bibliography update process with improved error handling and retry logic for Zotero API requests.
- Updated documentation and README to reflect new features and usage examples.
- Added comprehensive tests for new functionality, including citation checks and local entry merging.

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
…idations

- Added new command-line arguments for the release command, including --force, --commit, --allow-dirty, --no-compile, --no-pdf-check, --bib, --github-release, and --no-checksum.
- Refactored the run_release function to utilize ReleaseOptions for better handling of release parameters.
- Introduced a new get_release_config method in the Config class to manage release workflow configurations.
- Updated the GitManager class to include methods for tag management and checking for dirty files.
- Enhanced the ReleaseService to support a transactional release process with improved error handling and rollback guidance.
- Implemented version management improvements in the GitInfoService, allowing for better integration with the release workflow.
- Added tests for the new release service functionality, ensuring proper handling of dry runs, dirty states, and rollback scenarios.
- Updated README and pyproject.toml templates to reflect new command usage and configuration options.

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
…phy and runner policies

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
… with safe repair options

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
…cripts

Refactor article-cli lifecycle commands and add robust setup/doctor workflows
Fixes #16
@prudhomm prudhomm merged commit cc4e8d4 into main May 9, 2026
8 checks passed
@prudhomm prudhomm deleted the 16-refactor-article-cli-lifecycle-commands-and-add-robust-setupdoctor-workflows branch May 9, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci-cd GitHub Actions and automated validation area: cli Command-line interface and command dispatch area: release Versioning, tags, and paper release workflow area: zotero Zotero and BibTeX synchronization type: feature New user-facing functionality type: refactor Code structure and maintainability refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor article-cli lifecycle commands and add robust setup/doctor workflows

1 participant