-
Make sure you have the latest ISO 639-3 code tables from https://iso639-3.sil.org/code_tables/download_tables put into
build/
, -
Check out
master
, pull the latest changes then switch to a new release branch:git checkout master git pull origin master git checkout -b release-<version>
-
Check the tree and references running
glottolog-admin check
making sure there are no
ÈRROR
sAlso run
glottolog-admin update
and make sure the data can be loaded into treedb:
workon treedb cd treedb python -c "import treedb; treedb.load(); treedb.write_csv()"
and commit and push the changes.
- Update automatically created files:
iso6393.bib
: Runglottolog-admin isobib
elp.bib
: Runglottolog-admin elpbib
evobib.bib
:- download the latest version from https://doi.org/10.5281/zenodo.1181952
- Run
glottolog-admin evobib evobib-converted.bib
dplace.bib
: Runglottolog-admin dplacebib
benjamins.bib
:- Switch to the clone of
glottolog/benjamins
- Pull the latest changes via FTP
- Recreate
benjamins.bib
, runningpython to_bib.py
- Switch back to
glottolog/glottolog
- Run
glottolog-admin benjaminsbib PATH/TO/benjamins/benjamins.bib
- Switch to the clone of
- Run
glottolog-admin bib
to createbuild/monster-utf8.bib
- about 20mins
- Add release notes to
CHANGES.md
andCONTRIBUTORS.md
- Draft a new release and push it online for review:
glottolog-admin release <version> git commit -a -m"release <version>" git push origin release-<version>
- Upon approval:
git checkout master git pull origin git branch -d release-<version> git tag -a v<version> -m "release <version>" glottolog --repos=. cldf ../glottolog-cldf/cldf
- Push all changes to origin running
and
git push origin git push --tags origin
cd ../glottolog-cldf git commit -a -m"release <release>" git tag -a v<version> -m "release <version>" git push origin git push --tags origin
- Create a "proper" release on GitHub and have it picked up by ZENODO.
- Add DOI badge from ZENODO as soon as it becomes available.
- Update the
master
branch and store languoid stats:git checkout master git pull origin glottolog-admin writelanguoidstats
- Check out the PR branch and run the checks:
git checkout <BRANCH> glottolog-admin check --old-languoids
- If necessary, run
glottolog-admin updatesources
and continue with 2.
If glottolog-admin bib
fails at
File "/home/forkel/venvs/glottolog/pyglottolog/src/pyglottolog/references/bibfiles_db.py", line 559, in assign_ids
assert Entry.allhash(conn)
AssertionError
check the bad entries in build/bibfiles.sqlite3
:
sqlite> select * from entry where hash is null;
292775|21|hw:Nigam:Andhra-Pradesh||||
This can be due to malformed BibTeX entries - and correspondingly must
be fixed in the BibTeX before re-running glottolog-admin bib --rebuild
.