Skip to content

De-LFS: commit hindi-mokhtasar and abridged-explanation zip files as regular git objects#17

Draft
Copilot wants to merge 4 commits into
cairofrom
copilot/evaluate-possible-improvements-again
Draft

De-LFS: commit hindi-mokhtasar and abridged-explanation zip files as regular git objects#17
Copilot wants to merge 4 commits into
cairofrom
copilot/evaluate-possible-improvements-again

Conversation

Copilot AI commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

Two JSON data files were stored as Git LFS pointers, consuming paid LFS quota and causing zipfile.BadZipFile crashes in the generator scripts on any clone without LFS credentials.

Changes

  • Reconstructed both zip archives from already-committed docs/ content — no external data needed:
    • data/hindi-mokhtasar.json.zip — sourced from field index 6 of each QURAN_DATA row in docs/search-data.js
    • data/abridged-explanation-of-the-quran.json.zip — sourced from eng-abridged table rows across docs/001.htmldocs/114.html
  • Both files are now real Deflate-compressed zip archives committed directly as regular git objects (no .gitattributes LFS rules existed to clean up)

Result

File Size Entries
data/hindi-mokhtasar.json.zip 860 883 B 6 236 ✓
data/abridged-explanation-of-the-quran.json.zip 563 244 B 6 236 ✓

python3 src/gentxtforquran.py now generates all 11 output files cleanly — no LFS dependency, no crashes.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 23, 2026 13:59
Co-authored-by: druvx13 <131332414+druvx13@users.noreply.github.com>
…n.py

Co-authored-by: druvx13 <131332414+druvx13@users.noreply.github.com>
Copilot AI changed the title [WIP] Evaluate potential changes and improvements Fix Yusuf Ali parsing bug, add LFS error handling, refactor gentexforquran.py Feb 23, 2026
Copilot AI requested a review from druvx13 February 23, 2026 14:04
…and eng-abridged

Co-authored-by: druvx13 <131332414+druvx13@users.noreply.github.com>
Copilot AI changed the title Fix Yusuf Ali parsing bug, add LFS error handling, refactor gentexforquran.py De-LFS: commit hindi-mokhtasar and abridged-explanation zip files as regular git objects Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants