Cache the subject pointer in Individual.get_families by calling self.element.get_pointer() once outside the loop to avoid repeated calls and add a clarifying comment. Clean up tests: remove a duplicated TestIndividualBasicInfo fixture/block comment, drop redundant assertions about residence coordinates, and remove an unnecessary return in TestAttributes.
The project has switched from the MIT license to the GNU
General Public License v3.0. This change updates the license
badge in the README and the corresponding license text to
reflect this change.
Introduces the `--canvas` option to generate an Obsidian Canvas file,
providing an interactive visual representation of family trees.
Explains the generational layout algorithm, root person selection,
limitations, and tips for optimal results.
Updates the release workflow to correctly identify semantic versions and removes the assumption of a 'v' prefix on release tags.
This change allows the workflow to trigger on any tag that follows the semantic versioning format *.*.*, providing greater flexibility in versioning schemes.
Sets up a GitHub Actions workflow to automate the release process.
The workflow triggers on tagged commits (v*.*.*), extracts the version number from the tag, and retrieves the corresponding changelog section from CHANGELOG.md.
It then creates a GitHub release with the extracted version and changelog. If no changelog is found, a default message is used.
The automation streamlines the release creation process and ensures consistency.
Updates the image link in the README to point to a permanent URL on GitHub.
This ensures the image remains accessible even if the local file structure changes.
Removes support for Python 3.7, as it has reached its end-of-life.
The test matrix is updated to reflect the removal of 3.7, and the
documentation is updated to indicate 3.8 as the minimum supported
version.
Addresses potential test failures on Windows due to locked files during temporary directory cleanup.
Implements `ignore_errors=True` when removing temporary directories to prevent `shutil.rmtree` from failing when files are still locked by the process.
Removes Python 3.7 from the general test matrix as it's no longer widely available.
Adds a specific job to test with Python 3.7 on ubuntu-20.04.
Updates the Codecov upload condition to include ubuntu-20.04, ensuring coverage reports are generated and uploaded for the Python 3.7 test run.
Adds Codecov token for secure uploads.
Improves the individual filename generation logic to include the birth year if available, providing more informative filenames.
Also updates the logging setup to use WARNING level for the root logger and INFO for the main module, and modifies the markdown generator to use YAML frontmatter for metadata.
- Add version number and --version flag
- Add GitHub Actions CI workflow
- Update README with CI badges
- Add CHANGELOG for v1.0.0
- Enhance README with header image and better formatting
Overhauls the README file to provide a clearer, more visually appealing, and comprehensive overview of the project.
This includes:
- Adding a header image
- Incorporating badges for Python version, license, tests, and code coverage
- Restructuring the features section for better readability
- Providing quick start examples
- Adding sections for contributing, license information, and acknowledgments
- Improving the overall formatting and adding a table of contents
The goal is to make the project more accessible and informative for potential users and contributors.
Adds a comprehensive changelog file to document notable changes, adhering to Keep a Changelog format and Semantic Versioning.
This provides a clear and structured history of project updates.
Adds a detailed `CLAUDE.md` file to guide Claude Code in understanding and working with the project.
This file provides an overview of the project, its architecture, key features, implementation details,
usage instructions, and development environment setup.
Updates `README.md` to reflect recent changes and new features.
Addresses an issue where duplicate filenames could be generated
for individuals with the same name, especially in large datasets.
This change introduces a mechanism to ensure unique filenames by
appending a counter to duplicate names. It updates the index
generator and markdown generator to use this mechanism, ensuring
that links between individuals are correctly resolved.
Updates the README filename to align with conventional formatting preferences.
This change simplifies the project structure and ensures consistency with standard practices for README files.
Refactors the markdown note generation to include YAML
frontmatter for individual attributes. This enhances the
structure and organization of the generated notes.
It replaces the previous "Attributes" section with a
YAML frontmatter block, improving data accessibility
and interoperability.
Ensures that the "Lived" metadata field is only written if both
birth and death years are available to prevent generating
incomplete entries.
Also, simplifies exception handling during note generation by
removing the unused exception variable.
Removes unnecessary variable assignments in exception handlers.
This improves code readability and maintainability by reducing
redundancy without impacting functionality.
Refactors code for clarity and conciseness by removing unused variables.
Improves error handling by logging only the necessary information,
making debugging easier.
Extracts and includes the death year from the death date in individual data.
Adds a flag to control subdirectory usage for generated files.
This ensures correct linking and image paths in notes when using a
subdirectory structure (people/, stories/, media/).
Also, improves error logging during note generation.
Simplifies Individual class initialization by directly passing the parser instance instead of the GedcomParser object.
This change streamlines the code and avoids unnecessary object attribute access.
Also, it ensures name formatting preserves the original capitalization.
Updates test to ignore the unused `media_dir` variable
returned by `extract_gedzip`. This prevents linting warnings
without changing the functionality of the test.
Improves family section generation logic to:
- Always write Marriage header
- Conditionally write partner metadata
- Simplify metadata and children writing process
Ensures more consistent markdown generation for family records
Improves media file import process with:
- Recursive directory structure preservation
- Case-insensitive extension filtering
- Collision handling with unique filename generation
- Error logging for copy failures
Adds comprehensive test cases to validate new media file copying behavior
Improves media file search across nested directories by:
- Using rglob for recursive media file discovery
- Supporting more file extensions (including uppercase variants)
- Logging media file locations with greater detail
Enables finding media files in complex directory structures with multiple subdirectories
Fixes death year extraction using regex to correctly parse years
Removes manual sys.path modifications in test files
Adds pythonpath configuration to pytest.ini for simpler imports
Enhances test coverage for life span formatting
Enhances GEDCOM to Markdown conversion by introducing canvas generation feature
Implements flexible root person selection for canvas via:
- Command-line argument (`--root`)
- Numeric index selection
- Direct GEDCOM ID input
- Interactive fallback selection
Improves logging configuration to provide more granular control over output verbosity
Enhances family tree positioning algorithm to prevent vertical overlaps by:
- Introducing shared tracking of minimum y-coordinates for each x-position
- Supporting separate tracking for upward and downward growth directions
- Adding more detailed logging for positioning decisions
- Preventing ancestor and sibling positions from overlapping
Resolves potential visual conflicts in complex multi-generational family tree layouts
Refactors canvas generation to support more complex family tree visualization
Introduces sophisticated layout algorithms for:
- Generational positioning of individuals
- Handling spouse and children relationships
- Vertical and horizontal spacing strategies
- Support for disconnected family trees
Improves visual representation of genealogical data with more nuanced node placement and connection logic
Introduces new functionality to create interactive family tree visualizations for Obsidian
Adds:
- CanvasGenerator class to generate JSON Canvas files
- Interactive root person selection for canvas creation
- Support for generational tree layout with nodes and edges
- Handling of disconnected family trees
Enhances family tree visualization by allowing users to generate an Obsidian-compatible canvas with person relationships
Sets up core functionality for converting genealogy GEDCOM files to Obsidian markdown notes
Implements key components:
- GEDCOM parsing and individual data extraction
- Markdown note generation with rich metadata
- Index file creation
- Comprehensive test suite for robust functionality
Adds initial project structure, configuration, and essential modules for genealogy data conversion
Enhances project documentation with a visual indicator of CodeRabbit PR review status
Improves README by adding a GitHub-hosted badge that provides insights into the project's pull request review process
Enhances project description with detailed usage instructions, features, and best practices
Adds sections on:
- Expanded feature list
- Detailed installation and usage guidelines
- Directory structure explanation
- Output format description
- Common issues and compatibility notes
Improves overall documentation clarity and user onboarding experience