pidgin/history

3b12bacdb5a7
Parents ee788330c0ac
Children c8f918d5cbc9
Add a simple graph attempting to show number of releases per month

This needs more work, but we've spent a huge amount of time on it and have
other things to work on yet.
  • +2 -2
    Dockerfile
  • +206 -0
    docs/releases.md
  • +2 -0
    mkdocs.yml
  • --- a/Dockerfile Fri Nov 18 20:51:21 2022 -0600
    +++ b/Dockerfile Sat Nov 19 00:00:52 2022 -0600
    @@ -1,7 +1,7 @@
    -FROM docker.io/python:3-alpine AS build
    +FROM docker.io/python:3-slim AS build
    RUN set -ex && \
    - python3 -m pip install mkdocs jinja2==3.0.3
    + python3 -m pip install mkdocs jinja2==3.0.3 mkdocs-matplotlib pandas
    COPY . .
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/docs/releases.md Sat Nov 19 00:00:52 2022 -0600
    @@ -0,0 +1,206 @@
    +# Releases
    +
    +```python
    +# mkdocs: render
    +# mkdocs: hidecode
    +
    +releases = {
    + "2.14.10": "2022-06-02",
    + "2.14.9": "2022-04-28",
    + "2.14.8": "2021-10-14",
    + "2.14.7": "2021-09-16",
    + "2.14.6": "2021-07-08",
    + "2.14.5": "2021-06-03",
    + "2.14.4": "2021-04-29",
    + "2.14.3": "2021-04-08",
    + "2.14.2": "2021-04-01",
    + "2.14.1": "2020-11-06",
    + "2.14.0": "2020-10-06",
    + "2.13.0": "2018-03-08",
    + "2.12.0": "2017-03-09",
    + "2.11.0": "2016-06-21",
    + "2.10.12": "2015-12-31",
    + "2.10.11": "2014-11-23",
    + "2.10.10": "2014-10-22",
    + "2.10.9": "2014-02-02",
    + "2.10.8": "2014-01-28",
    + "2.10.7": "2013-02-13",
    + "2.10.6": "2012-07-06",
    + "2.10.5": "2012-07-05",
    + "2.10.4": "2012-05-06",
    + "2.10.3": "2012-03-26",
    + "2.10.2": "2012-03-14",
    + "2.10.1": "2011-12-06",
    + "2.10.0": "2011-08-18",
    + "2.9.0": "2011-06-23",
    + "2.8.0": "2011-06-07",
    + "2.7.11": "2011-03-10",
    + "2.7.10": "2011-02-06",
    + "2.7.9": "2010-12-26",
    + "2.7.8": "2010-12-19",
    + "2.7.7": "2010-11-23",
    + "2.7.6": "2010-11-21",
    + "2.7.5": "2010-10-31",
    + "2.7.4": "2010-10-20",
    + "2.7.3": "2010-08-10",
    + "2.7.2": "2010-07-21",
    + "2.7.1": "2010-05-29",
    + "2.7.0": "2010-05-12",
    + "2.6.6": "2010-02-18",
    + "2.6.5": "2010-01-08",
    + "2.6.4": "2009-11-29",
    + "2.6.3": "2009-10-16",
    + "2.6.2": "2009-09-05",
    + "2.6.1": "2009-08-18",
    + "2.6.0": "2009-08-18",
    + "2.5.9": "2009-08-18",
    + "2.5.8": "2009-06-27",
    + "2.5.7": "2009-06-20",
    + "2.5.6": "2009-05-19",
    + "2.5.5": "2009-03-01",
    + "2.5.4": "2009-01-12",
    + "2.5.3": "2008-12-20",
    + "2.5.2": "2008-10-19",
    + "2.5.1": "2008-08-30",
    + "2.5.0": "2008-08-18",
    + "2.4.3": "2008-07-01",
    + "2.4.2": "2008-05-17",
    + "2.4.1": "2008-03-31",
    + "2.4.0": "2008-02-29",
    + "2.3.1": "2007-12-07",
    + "2.3.0": "2007-11-24",
    + "2.2.2": "2007-10-23",
    + "2.2.1": "2007-09-29",
    + "2.2.0": "2007-09-13",
    + "2.1.1": "2007-08-20",
    + "2.1.0": "2007-07-28",
    + "2.0.2": "2007-06-14",
    + "2.0.1": "2007-05-24",
    + "2.0.0": "2007-05-30",
    + "1.5.0": "2005-08-11",
    + "1.4.0": "2005-07-07",
    + "1.3.1": "2005-06-09",
    + "1.3.0": "2005-05-10",
    + "1.2.1": "2005-04-03",
    + "1.2.0": "2005-03-17",
    + "1.1.4": "2005-02-24",
    + "1.1.3": "2005-02-17",
    + "1.1.2": "2005-01-20",
    + "1.1.1": "2004-12-28",
    + "1.1.0": "2004-12-02",
    + "1.0.3": "2004-11-11",
    + "1.0.2": "2004-10-19",
    + "1.0.1": "2004-10-07",
    + "1.0.0": "2004-09-17",
    + "0.82.1": "2004-08-27",
    + "0.82": "2004-08-26",
    + "0.81": "2004-08-05",
    + "0.80": "2004-07-15",
    + "0.79": "2004-06-24",
    + "0.78": "2004-05-30",
    + "0.77": "2004-04-22",
    + "0.76": "2004-04-01",
    + "0.75": "2004-01-09",
    + "0.74": "2003-11-25",
    + "0.73": "2003-11-21",
    + "0.72": "2003-10-31",
    + "0.71": "2003-10-09",
    + "0.70": "2003-09-28",
    + "0.69": "2003-09-24",
    + "0.68": "2003-09-01",
    + "0.67": "2003-08-14",
    + "0.66": "2003-07-18",
    + "0.65": "2003-07-16",
    + "0.64": "2003-05-29",
    + "0.63": "2003-05-16",
    + "0.62": "2003-04-23",
    + "0.61": "2003-04-07",
    + "0.60": "2003-04-04",
    + "0.59.9": "2003-03-01",
    + "0.59.8": "2003-01-06",
    + "0.59.7": "2002-12-21",
    + "0.59.6": "2002-11-07",
    + "0.59.5": "2002-10-14",
    + "0.59.4": "2002-10-06",
    + "0.59.3": "2002-09-14",
    + "0.59.2": "2002-09-09",
    + "0.59.1": "2002-08-25",
    + "0.59": "2002-06-24",
    + "0.58": "2002-05-13",
    + "0.57": "2002-04-25",
    + "0.56": "2002-04-11",
    + "0.55": "2002-03-29",
    + "0.54": "2002-03-14",
    + "0.53": "2002-02-28",
    + "0.52": "2002-02-17",
    + "0.51": "2002-01-24",
    + "0.50": "2001-12-14",
    + "0.49": "2001-11-29",
    + "0.48": "2001-11-18",
    + "0.47": "2001-11-01",
    + "0.46": "2001-10-18",
    + "0.45": "2001-10-04",
    + "0.44": "2001-09-20",
    + "0.43": "2001-09-06",
    + "0.11.0-pre15": "2001-08-28",
    + "0.11.0-pre14": "2001-06-17",
    + "0.11.0-pre13": "2001-06-06",
    + "0.11.0-pre12": "2001-05-29",
    + "0.11.0-pre11": "2001-04-30",
    + "0.11.0-pre10": "2001-04-13",
    + "0.11.0-pre9": "2001-03-26",
    + "0.11.0-pre8": "2001-03-23",
    + "0.11.0-pre7": "2001-03-16",
    + "0.11.0-pre6": "2001-03-06",
    + "0.11.0-pre5": "2001-02-26",
    + "0.11.0-pre4": "2000-12-23",
    + "0.11.0-pre3": "2000-12-15",
    + "0.11.0-pre2": "2000-12-04",
    + "0.11.0-pre1": "2000-12-03",
    + "0.10.3": "2000-10-09",
    + "0.10.2": "2000-10-07",
    + "0.10.1": "2000-09-15",
    + "0.10.0": "2000-09-11",
    + "0.9.20": "2000-07-14",
    + "0.9.19": "2000-06-09",
    + "0.9.18": "2000-06-02",
    + "0.9.17": "2000-05-31",
    + "0.9.16": "2000-05-31",
    + "0.9.15": "2000-05-06",
    + "0.9.14": "2000-04-24",
    + "0.9.13": "2000-03-27",
    + "0.9.12": "2000-03-25",
    + "0.9.11": "2000-03-22",
    + "0.9.10": "1999-11-03",
    + "0.9.9": "1999-10-31",
    + "0.9.8": "1999-10-04",
    + "0.9.7": "1999-08-08",
    + "0.9.6": "1999-08-01",
    + "0.9.5": "1999-07-25",
    + "0.8.0": "1999-05-01",
    +}
    +
    +import matplotlib.pyplot as plt
    +import matplotlib.dates as mdates
    +import pandas as pd
    +
    +fig, ax = plt.subplots()
    +
    +df = pd.DataFrame.from_dict(data=releases, orient='index', columns=['date'])
    +df['date'] = pd.to_datetime(df.date)
    +years = df.groupby(df.date.dt.year)
    +
    +axes = []
    +for year, year_group in years:
    + axes.append(year)
    + months = year_group.groupby(df.date.dt.month)
    + ax.plot(months.count())
    +
    +ax.xaxis.set_ticks(range(13),
    + ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct',
    + 'Nov', 'Dec'])
    +
    +ax.legend(axes, loc='upper left', ncols=2, bbox_to_anchor=(1,1))
    +ax.set_ylabel('Number of releases')
    +ax.set_title('Release per month')
    +```
    --- a/mkdocs.yml Fri Nov 18 20:51:21 2022 -0600
    +++ b/mkdocs.yml Sat Nov 19 00:00:52 2022 -0600
    @@ -2,3 +2,5 @@
    site_name: Pidgin History
    theme:
    name: readthedocs
    +plugins:
    + - mkdocs_matplotlib