Šarūnas Nejus
0f45791f3a
Fix Unreleased changelog template
2024-12-28 07:26:03 +00:00
Šarūnas Nejus
e579df0a98
Can we link users to plugin docs?
2024-12-28 07:24:23 +00:00
Šarūnas Nejus
779ba791f9
Cap maximum sub-section name length
2024-12-28 07:24:23 +00:00
Šarūnas Nejus
0b905e1b17
Ignore literal code blocks when making headers
2024-12-28 07:24:23 +00:00
Šarūnas Nejus
806c1702fb
Fix wrapped line starting with the username role
2024-12-28 07:24:23 +00:00
Šarūnas Nejus
c26473e6cb
Fix nested bullet points conversion
2024-12-28 07:24:23 +00:00
Šarūnas Nejus
d98226aa07
Fix ordering bullet point lists
2024-12-28 07:24:22 +00:00
Šarūnas Nejus
7b9625bc86
Test rst to md conversion
2024-12-28 07:24:22 +00:00
Šarūnas Nejus
e9076ffb53
Unindent list items in the changelog
...
I found out that GitHub Actions use pandoc version 2.9.2.1 which
converts bullet points like this:
echo '
* Item
* Another item
' | pandoc --from=rst --to=gfm
- Item
- Another item
Note that each item has two-space indent. Meanwhile, locally I've been
testing this conversion using pandoc 3.5 which does not add any indent:
echo '
* Item
* Another item
' | pandoc --from=rst --to=gfm
- Item
- Another item
This commit removes the indent and cleans up the how the replacements in
rst and md text are performed.
2024-12-28 07:24:22 +00:00
Šarūnas Nejus
aa0db049a5
Release: fix bumping the version in the changelog
2024-11-22 01:32:15 +00:00
Šarūnas Nejus
85a17ee503
Reformat the codebase
2024-09-21 11:57:48 +01:00
Šarūnas Nejus
1aad6e0929
release.py: introduce pyproject.toml
2024-06-10 13:10:17 +01:00
Šarūnas Nejus
d2a94c1cdd
release.py: Add changelog.rst conversion to markdown
2024-06-07 09:01:44 +01:00
Šarūnas Nejus
3e5e1eca87
release.py: simplify bumping the version
...
Additionally, update the 'in progress' header in the changelog: instead
of using a specific version number, simply say 'Unreleased' since we do
not know in advance what version will the changes be eventually
released.
This also simplifies latest changelog retrieval.
2024-06-07 09:01:44 +01:00
Šarūnas Nejus
be778b8da0
release.py: Use click for the CLI
2024-06-05 19:12:50 +01:00
Serene-Arc
591d052647
Fix formatting of replacement
...
Black requires that there be double quotes instead of single
2024-06-05 19:12:50 +01:00
Serene-Arc
ff3bf918b0
Fix new heading in docs
2024-06-05 19:12:49 +01:00
Serene-Arc
8c898ce524
Fix script for changelog
2023-10-27 17:58:47 +10:00
Serene-Arc
308f9f5f1c
Update script markdown export
2023-10-27 17:48:01 +10:00
Serene-Arc
a6e5201ff3
Apply formatting tools to all files
...
This is 'the big one', which touches every file so that it all conforms
to the given standard.
2023-10-22 09:53:18 +10:00
wisp3rwind
fafddced6e
release.py: fix version regex (remove u'' string prefix)
2022-08-20 07:30:15 +02:00
Adrian Sampson
e3f4e19298
Version bump: v1.6.1
2021-11-27 11:38:48 -05:00
Andrew Rogl
fc4d65a387
Missed a few unicode strings
2021-09-26 16:51:01 +10:00
Andrew Rogl
0f48ccde78
Final pyupgrade
2021-08-26 20:14:08 +10:00
Adrian Sampson
a469b3284e
Don't require python2 for releases
2018-05-29 16:07:00 -04:00
Adrian Sampson
298050f369
Update Pandoc wrap CLI flag
2017-12-21 13:15:54 -05:00
Adrian Sampson
d99b46612f
Fix version bumping in release.py
2016-11-25 21:37:25 -05:00
Johnny Robeson
7a2bdf502f
s/utf8/utf-8/ in all encoding/decoding contexts
...
This matches up with the python documentation.
2016-09-06 23:10:24 -04:00
Johnny Robeson
9b2e126132
remove __future__ import from py3 native release.py
2016-05-28 17:24:55 -04:00
Markus Unterwaditzer
5c41a9e767
Remove superfluous parens
2016-05-28 00:26:57 +02:00
Markus Unterwaditzer
1ae6ce04dd
Run python-modernize across the codebase
2016-05-27 23:13:01 +02:00
Adrian Sampson
1cbf992d4f
release.py: Automate GitHub release creation
2016-02-07 23:00:06 -08:00
Peter Kessen
f5eca77117
added encoding as comment
...
last file for encoding check
python3 file without license
2015-11-19 18:54:02 +01:00
Adrian Sampson
9f2d58e47a
release.py: push the commits too
2015-04-24 08:55:23 -07:00
Adrian Sampson
bd6cea4204
release.py is Py3k
2015-04-05 23:19:21 -05:00
Adrian Sampson
97890d989f
Changelog converter: handle :user: and 🐛
2015-04-04 21:23:22 -07:00
Bruno Cauet
02d8e88ef1
Replace all mentions of 'str' with 'bytes'
2015-01-20 12:48:15 +01:00
Bruno Cauet
9c41c39913
Do __name__ comparison with bytes and not unicode
2015-01-20 12:03:57 +01:00
Bruno Cauet
90b388b775
Use __future__ imports but unicode_literals everywhere
...
Include import of __future__ features division, absolute_imports and
print_function everywhere. Don't add unicode_literals yet for it is
harder to convert.
Goal is smoothing the transition to python 3.
2015-01-19 12:25:16 +01:00
Adrian Sampson
4f3a52a26f
release.py: Prettify foo-cmd in ReST changelog
2014-09-19 11:07:40 -07:00
Adrian Sampson
dcc63e9824
release.py: Fix bumping setup.py version
2014-09-19 11:05:18 -07:00
Adrian Sampson
1a25561907
Version bump: 1.3.7
2014-05-10 18:18:24 -07:00
Adrian Sampson
55e55a2065
Finalize changelog for 1.3.6 release
2014-05-10 18:12:25 -07:00
Adrian Sampson
40e1475a87
Release script: publish command
2014-05-10 17:57:23 -07:00
Adrian Sampson
3ab8107adf
Release script: larger prep command
2014-05-07 20:04:20 -07:00
Adrian Sampson
dd11795cbd
Release script: datestamp and version commands
2014-05-07 19:46:04 -07:00
Adrian Sampson
6ecf4ef6ed
Release script: upload command
2014-05-06 22:16:19 -07:00
Adrian Sampson
611be7b4b5
Release script: convert changelog to Markdown
2014-05-06 22:06:28 -07:00
Adrian Sampson
066c4e1655
Release script: extract changelog
2014-05-02 14:09:59 -07:00
Adrian Sampson
1613f9b773
Release script: build command
2014-05-02 14:09:59 -07:00