docs: switch examples from H2 to bundled SQLite, fix Configure.pl bugs#491
Merged
docs: switch examples from H2 to bundled SQLite, fix Configure.pl bugs#491
Conversation
- Update examples/dbi.pl to use SQLite (bundled, no extra install needed) - Replace all H2 references in docs with SQLite or MySQL/PostgreSQL - Recommend running Configure.pl with jperl for built-in HTTPS support - Fix Configure.pl: guard against undef fields in Maven search results (eliminates hundreds of "uninitialized value in pattern match" warnings) - Fix Configure.pl: handle non-interactive STDIN gracefully with validation and fallback to first result Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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
examples/dbi.plfrom H2 to bundled SQLite — no additional driver installation needed to run the example./jperl Configure.plinstead of./Configure.pl— jperl has built-in HTTPS support, while system Perl may lackIO::Socket::SSL/Net::SSLeayConfigure.plundef warnings — Maven Central results can have missing fields (c,latestVersion, etc.), causing hundreds of "uninitialized value in pattern match" warningsConfigure.plnon-interactive STDIN handling — when<STDIN>returnsundef(piped/non-interactive), it now warns and defaults to the top-ranked result instead of silently picking a wrong artifact*.entto.gitignoreFiles changed
examples/dbi.pl— H2 → SQLite (in-memory, bundled)docs/guides/database-access.md— SQLite quick start, updated CLASSPATH examplesdocs/getting-started/installation.md— SQLite connection example,./jperl Configure.pldocs/reference/configure.md— all examples use./jperl Configure.pl, H2 → MySQL/PostgreSQLConfigure.pl— fix undef field warnings and non-interactive STDIN fallback.gitignore— add*.entTest plan
./jperl examples/dbi.plruns successfully with SQLite./jperl Configure.pl --search postgresqlruns without undef warnings[0]with a warning messageGenerated with Devin