Commit Graph
70 Commits
Author SHA1 Message Date
sankalp 09151decad feat(root): Prepare for new devgen_cli component
*   **New Features**
    *   Add `devgen_cli.egg-info/` to `.gitignore` to exclude build artifacts for the new `devgen_cli` component from version control.
2025-12-12 19:11:43 +05:45
sankalp 24dc7f57b4 build(packaging): Remove custom dependency link declarations
This commit updates the package metadata by removing declarations of custom dependency links and applies a minor file formatting correction.

*   **Enhancements & Refinements**
    *   Removed all declarations from `devgen_cli.egg-info/dependency_links.txt`, simplifying the package's metadata and indicating that no custom dependency links are used.
    *   Corrected the file format of `devgen_cli.egg-info/SOURCES.txt` by adding a missing newline at the end of the file, improving file integrity.
2025-12-12 19:09:24 +05:45
sankalp 449a955d15 refactor(commit_generator): Improve code readability and styling
Minor code cleanup to enhance readability and adhere to styling conventions.

*   **Enhancements & Refinements**:
    *   Wrapped long lines for better readability in logger configuration, console theme definition, commit message panel printing, and dry run output.
    *   Removed an unnecessary f-string from the commit generation status message.
2025-12-12 19:07:55 +05:45
sankalp 87ed8bf878 docs(root): Update PyPI badge URL
**Enhancements & Refinements**
*   Corrected the PyPI badge URL in `README.md` from `devgen` to `devgen-cli` to reflect the accurate package name.
2025-12-12 19:04:42 +05:45
sankalp 6e4b177fe3 feat(commit-engine): Enhance console output with rich library
The commit engine now leverages the `rich` library to provide a more visually appealing and informative console experience during various stages of the commit generation and execution process.

*   **New Features**
    *   Integrate the `rich` library for enhanced and structured console output.
    *   Introduce a custom `rich` theme for consistent styling of info, warning, and danger messages.

*   **Enhancements & Refinements**
    *   Display visual feedback with `rich` status spinners during AI message generation and remote push operations.
    *   Present generated commit messages in a formatted `rich` Panel with Markdown rendering for improved readability.
    *   Provide clearer, color-coded `rich` console messages for staging files, dry run completion, overall process completion, and identifying failed groups.
    *   Propagate the `debug` flag to the logger to control console output during debugging sessions, aligning logger and console behavior.
2025-12-12 18:57:46 +05:45
sankalp 8db30f14bc fix(devgen-cli): Update devgen-cli to v0.2.1
- **Bug Fixes**
    - `devgen-cli`: Updated the internal CLI tool to version `0.2.1`, addressing minor issues or improving stability.
2025-12-12 18:56:37 +05:45
sankalp d502849daf feat(commit-engine): Enhance console output with rich library
The commit engine now leverages the `rich` library to provide a more visually appealing and informative console experience during various stages of the commit generation and execution process.

*   **New Features**
    *   Integrate the `rich` library for enhanced and structured console output.
    *   Introduce a custom `rich` theme for consistent styling of info, warning, and danger messages.

*   **Enhancements & Refinements**
    *   Display visual feedback with `rich` status spinners during AI message generation and remote push operations.
    *   Present generated commit messages in a formatted `rich` Panel with Markdown rendering for improved readability.
    *   Provide clearer, color-coded `rich` console messages for staging files, dry run completion, overall process completion, and identifying failed groups.
    *   Propagate the `debug` flag to the logger to control console output during debugging sessions, aligning logger and console behavior.
2025-12-12 18:56:26 +05:45
sankalp f3c68aaf29 ci(.github/workflows): Update GitHub Actions and Python version
This update refines the `publish.yml` workflow by bumping the versions of several GitHub Actions and adjusting the Python version used for publishing.

*   **Enhancements & Refinements**
    *   Updated `actions/checkout` from v4 to v6.
    *   Updated `actions/setup-python` from v4 to v6.
    *   Changed the target Python version for the workflow from 3.12 to 3.10.
2025-12-12 18:56:25 +05:45
sankalp 7f6b247b40 feat(cli): Introduce AI-powered developer toolkit
Release v0.2.1 of DevGen CLI, a comprehensive toolkit automating common Git and project management tasks through AI. This initial packaging defines the project's metadata and a wide array of developer-centric features.

*   **New Features**
    *   **AI-Powered Commit Messages:** Automatically generate semantic commit messages based on staged changes, adhering to Conventional Commits format.
    *   **Changelog Generation:** Create detailed changelogs from Git history, with categories for BREAKING CHANGES, Features, Bug Fixes, Documentation, and Other Changes.
    *   **Release Note Generation:** Produce structured release notes from Git history, ready for publication.
    *   **Gitignore File Generation:** Generate `.gitignore` files by selecting from GitHub's official templates, supporting interactive selection, multiple templates, and offline mode.
    *   **License File Generation:** Interactively generate various open-source license files (e.g., MIT, Apache-2.0, GPL-3.0), customizable with author name and year.
    *   **Multi-Provider AI Support:** Seamless integration with leading AI providers including Gemini, OpenAI, Anthropic, HuggingFace, and OpenRouter.

*   **Enhancements & Refinements**
    *   **Unified CLI:** Provides a single command-line interface for all development automation tools.
    *   **Interactive Configuration:** Simple setup process for AI providers, models, and API keys via `devgen setup config`, stored persistently in `~/.devgen.yaml`.
    *   **Flexible Commit Workflow:** Offers options for dry runs, direct commits, automatic pushes, and force rebuilding of AI-generated commit messages.
    *   **Commit Caching:** Includes commands to list and clear cached commit messages for improved workflow.
    *   **Detailed Command Reference:** Comprehensive documentation for all `devgen` commands and their specific options.
    *   **Project Metadata:** Updated `PKG-INFO` with project summary, homepage, author details, license, keywords, classifiers, and Python requirements.
    *   **Dependency Management:** Specifies required Python packages including `anthropic`, `google-generativeai`, `openai`, `typer`, and `rich`.
    *   **Python 3.10+ Compatibility:** Ensures support for modern Python environments.
2025-12-12 18:56:25 +05:45
sankalp 6e7525241d bumped new version with fixes V.0.2.1 2025-12-12 18:46:48 +05:45
sankalp b7faa9e17c update 2025-12-12 12:23:54 +05:45
sankalp 97a0b34f9c change package name to devgen-cli for pypi compatiable 2025-12-12 12:22:39 +05:45
sankalp b975ffc5e3 change package name to devgen-cli for pypi compatiable 2025-12-12 12:22:30 +05:45
sankalp 98eeaf7e8f bump to new version V.0.2.0 2025-12-12 12:15:19 +05:45
sankalp 7e7b5d4396 Merge pull request #1 from S4NKALP/rewrite
Rewrite Version
2025-12-12 12:13:20 +05:45
sankalp c76eae9178 update 2025-12-12 12:12:27 +05:45
sankalp 9e93b496f1 update 2025-12-12 12:10:01 +05:45
sankalp 6aede08b0d update 2025-12-12 12:06:36 +05:45
sankalp bef83a2fba update 2025-12-12 11:31:27 +05:45
sankalp 8f0e09d1d5 updates 2025-12-12 11:11:34 +05:45
sankalp dec9c15b7a updates 2025-12-12 11:10:30 +05:45
sankalp b5362ade00 chore: add workflow to publish package to PyPI on release 2025-11-28 02:01:09 +05:45
sankalp 2e563fd8bb chore(release): update node version to v20 for release workflow 2025-08-25 16:34:38 +05:45
sankalp c483de6eea feat(release): add workflow to automatically publish package on release creation V.0.1.1 2025-08-25 16:31:21 +05:45
sankalp 753bd00472 chore(release): update release workflow to trigger on tag creation 2025-08-25 16:26:27 +05:45
sankalp 35fe36b189 chore(publish): improve release workflow by upgrading pip and clarifying trigger event 2025-08-25 16:23:33 +05:45
sankalp 6c51d04df4 feat(ci): add workflow to publish package on release creation 2025-08-25 16:21:02 +05:45
sankalp e9d091109b chore: add GitHub Actions workflow to publish package on release 2025-08-25 16:18:44 +05:45
sankalp d9179d5495 chore: add devtools_utils.egg-info to .gitignore 2025-08-25 16:08:34 +05:45
sankalp 93704e1aeb docs: add initial todo list for project improvements 2025-08-25 15:57:54 +05:45
sankalp cc55590509 feat: add pyproject.toml for PEP 517/518 build support 2025-08-25 15:56:25 +05:45
sankalp 3f342af07d refactor(changelog): improve changelog generation and formatting logic 2025-08-25 15:55:28 +05:45
sankalp 048f970db5 docs: update changelog for v0.1.1 release 2025-08-25 15:53:04 +05:45
sankalp d8629e9b5b feat: add pyproject.toml for PEP 517/518 build support and update installation instructions 2025-08-25 15:52:18 +05:45
sankalp 622ade1bf3 docs: add initial todo list for project improvements 2025-08-25 15:48:10 +05:45
sankalp ce7ea85305 chore: improve installation instructions and package metadata for PyPI release 2025-08-25 15:39:57 +05:45
sankalp 05ca701e64 docs: update README with new features, aliases, and configuration details 2025-08-25 15:01:16 +05:45
sankalp 341b52f287 refactor(commitgen): improve emoji handling and sanitization in commit message generation 2025-08-25 14:55:23 +05:45
sankalp 5fa1d106a2 📝 docs: update changelog for v0.1.1 release 2025-08-25 14:51:58 +05:45
sankalp 95bb2bc73b feat(cli): add --no-verify option to bypass git hooks during commit 2025-08-25 14:50:01 +05:45
sankalp 3df312a7fb feat(cli): add per-file commit generation option 2025-08-25 14:47:43 +05:45
sankalp 4ecf72c7cc chore: replace ruff linter with black 2025-08-25 14:40:11 +05:45
sankalp 7f6222b8ae refactor(changelog): improve changelog generation and sanitization of AI output 2025-08-25 14:39:31 +05:45
sankalp 05a3a9f185 📝 docs(changelog): update changelog for v0.1.0 release 2025-08-25 14:37:53 +05:45
sankalp d67fe9e725 refactor(devtools): improve changelog generation to handle existing files and duplicate headers 2025-08-25 14:33:41 +05:45
sankalp 38f329b061 chore: remove duplicate changelog entries 2025-08-25 14:30:43 +05:45
sankalp 687200990b docs: update changelog for v0.1.1 release 2025-08-25 14:30:00 +05:45
sankalp 3a7da276b4 feat(hooks): add git hooks management and auto-fix on pre-commit 2025-08-25 14:29:08 +05:45
sankalp 0036e47968 feat(hooks): add git hooks management CLI 2025-08-25 14:17:12 +05:45
sankalp b09b5f676e feat: add emoji option to cli and config to control emoji prefixes 2025-08-25 13:54:51 +05:45