Skip to content

Commit f5b0072

Browse files
committed
**Updated Project Title Extraction and Markdown Rendering**
* feat: Refactored title extraction to use `get_project_title` function * fix: Corrected handling of XML project titles * docs: Updated documentation for new title extraction methods
1 parent 3586ca0 commit f5b0072

File tree

5 files changed

+289
-192
lines changed

5 files changed

+289
-192
lines changed

docs/announcements/ANNOUNCEMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ Change Groups
544544
### Fixed
545545
- Corrected file existence checks in src/helpers.sh (lines 32, 64, 110, 147, 165) to ensure proper variable expansion, preventing script errors.
546546
- Fixed response handling in src/giv.sh (lines 478-529) to check $? after generate_response calls, ensuring errors are caught and reported.
547-
- Updated parse_project_title tests to cover various project files including package.json, pyproject.toml, setup.py, Cargo.toml, composer.json, build.gradle, pom.xml, with specific line corrections.
547+
- Updated get_project_title tests to cover various project files including package.json, pyproject.toml, setup.py, Cargo.toml, composer.json, build.gradle, pom.xml, with specific line corrections.
548548
- Rectified cleanup commands in test scripts to remove temporary directories correctly, avoiding leftover test artifacts.
549549
- Amended test assertions to reflect expected output strings and error handling for missing files.
550550

@@ -563,7 +563,7 @@ Change Groups
563563
- Modularized version info retrieval to allow flexible version parsing from various project files.
564564

565565
### Tests
566-
- Created new tests in tests/parse_project_title.ats to verify project name extraction from multiple file formats.
566+
- Created new tests in tests/get_project_title.ats to verify project name extraction from multiple file formats.
567567
- Added test coverage for version parsing, including handling of pre-fix versions and missing version info.
568568
- Developed new tests in tests/build_prompts.ats to validate prompt template processing with all tokens replaced properly.
569569
- Updated existing tests for different scenarios and error conditions, ensuring robustness.

0 commit comments

Comments
 (0)