Skip to content

Latest commit

 

History

History
86 lines (56 loc) · 2.09 KB

NOTES.md

File metadata and controls

86 lines (56 loc) · 2.09 KB

running tests

Flask, with tox, only Python 3.11:

tox run -e py311

Pass args to Pytest:

tox run -e py311 -- tests/test_basic.py

git info on tags and releases

git tag -n --format='%(refname) %(objecttype)'

Example: Flask

refs/tags/1.1.0 commit
refs/tags/1.1.1 commit
refs/tags/1.1.2 commit
refs/tags/1.1.3 tag
refs/tags/1.1.4 tag
refs/tags/2.0.0 tag

Can use objectsize to show rough amount of change... but of tag only? How can we show e.g. "huge code change here / small tweak there"?

Most recent tags

git for-each-ref refs/tags --sort=-taggerdate --format='%(refname:short)' --count=3

Exclude boring directories

git diff --stat 3.0.2..3.0.3 | grep -Ev '(.github|requirements|docs)/'

MISC

git diff --stat 3.0.2..3.0.3

language-agnostic complexity

Rendering with Bokeh

Linux Kernel Source

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
 1557  cd linux-stable/
git checkout v3.0

XX doesn't have v2.0 and before

Needs Upgrading

Following files are Python 2!

make_ver_iproute2.py make_ver_ansible.py make_versions.py app/grid.py app/management/commands/age.py app/management/commands/evolve.py app/management/commands/callscan.py app/management/commands/label.py app/management/commands/adjust_index.py app/management/commands/make_versions.py app/management/commands/make_ver_postgres.py app/management/commands/spark.py app/management/commands/pygdex.py app/management/commands/sizeplot.py app/management/commands/words.py app/management/commands/funcsize.py app/management/commands/bokplot.py app/management/commands/draw.py