Repository: the GeoNames lookup databases are not ignored, so one git add -A commits 30 MB #1161
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#1161
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?
What exists today
manage.py fetch_geonamesdownloads the GeoNames text files intosrc/postulo/jobs/data/and builds a SQLite lookup beside them (LOOKUP_FILE,jobs/places.py:55)..gitignoreignores/src/postulo/jobs/data/geonames-*.txtonly (line 55).git check-ignorematches neithergeonames-cities1000.sqlitenorgeonames-postcodes.sqlite. In a developer checkout that has fetched the data,git status --shortlists?? src/postulo/jobs/data/geonames-cities1000.sqlite(30 MB). Onegit add -Aputs it in a commit; the workflow's recipes usegit add -Aafterextract.What would change
Add
/src/postulo/jobs/data/geonames-*.sqlite(and any-journal/-walsiblings) to.gitignorebeside the text-file rule, with a line in the comment saying the lookup is derived. A test that every filefetch_geonamesandfetch_escowrite is ignored would keep the next one from slipping through.What it saves or protects
small: keeps a 30 MB derived file (and the postcode one) out of a commit, the pack and every clone
Accessibility
none
Decisions
git check-ignoreabout each path the fetch commands write, skipped where git is absent.Found by the efficiency and reliability audit of 2026-10-30 (finding X3; index postulo/postulo#1108). Checked against
mainatdaee30b15(2026-10-30).