StrongsHebrew won't install: its strongs.doc is "outside the module's DataPath" #77
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
schaefera/utStudyBIble#77
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found by the owner on the phone (PR #76 build
c6ef183), installing from "+":The journal:
StrongsGreek, Robinson and TSK installed fine in the same run.
Cause:
./modules/lexdict/rawld/strongshebrew/strongshebrew, so it is read asDataPath::Prefix { dir, stem }.DataPath::owns(sword/src/install/package.rs~247) accepts only files indirwhose name starts withstem.strongs.docin that same folder.check()rejects the whole package because of it.Wanted:
modules/. So a prefix whose folder is shared with other modules (for example a DataPath directly undermodules/lexdict/rawld/) keeps the strict stem rule.presets/) and the CrossWire main repo's lexdict/genbook packages for other extra files, and list any that would still be refused.Proof:
Blast radius: trunk (
sword/src/install*).🤖 Generated with Claude Code
Survey result (branch fix/strongs-datapath, real
install()run over CrossWire rawzip packages): 70 packages (all 62 lexdict/genbook modules with RawLD/RawLD4/zLD/RawGenBook drivers + the presets' StrongsGreek, StrongsHebrew, Robinson, TSK, KJV, BSB, GerSch, GerElb1871, FreSegond1910).68 install, 2 refused: KLVen_iklingon and KLViklingon_en, not by the data-path rule but because their conf is named mods.d/klveng.conf / klvklingon.conf rather than .conf. Not in any preset; left alone.
Other packages with extra files that the new rule accepts: Webster1913 (webstersdict.doc), PorLitCal2020 (style.css), ZhEnglish/ZhHanzi/ZhPinyin (README), RusCARSDict (images/).
Fix is in the draft PR for this issue.