Skip to content

Commit c77f338

Browse files
committed
slightly update changelog format
1 parent d74ecd8 commit c77f338

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

Diff for: docs/source/changelog.rst

+16-16
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ Changelog
44
0.23.0
55
------
66

7-
- add changelog to docs `9cbfe94 <https://github.com/idom-team/idom/commit/9cbfe94>`__
8-
- automatically reconnect to server `3477e2b <https://github.com/idom-team/idom/commit/3477e2b>`__
9-
- allow no reconnect in client `ef263c2 <https://github.com/idom-team/idom/commit/ef263c2>`__
10-
- cleaner way to specify import sources `ea19a07 <https://github.com/idom-team/idom/commit/ea19a07>`__
11-
- add the idom-react-client back into the main repo `5dcc3bb <https://github.com/idom-team/idom/commit/5dcc3bb>`__
12-
- implement fastapi render server `94e0620 <https://github.com/idom-team/idom/commit/94e0620>`__
13-
- improve docstring for IDOM_CLIENT_BUILD_DIR `962d885 <https://github.com/idom-team/idom/commit/962d885>`__
14-
- cli improvements `788fd86 <https://github.com/idom-team/idom/commit/788fd86>`__
15-
- rename SERIALIZED_VDOM_JSON_SCHEMA to VDOM_JSON_SCHEMA `74ad578 <https://github.com/idom-team/idom/commit/74ad578>`__
16-
- better logging for modules `39565b9 <https://github.com/idom-team/idom/commit/39565b9>`__
17-
- move client utils into private module `f825e96 <https://github.com/idom-team/idom/commit/f825e96>`__
18-
- redirect BUILD_DIR imports to IDOM_CLIENT_BUILD_DIR option `53fb23b <https://github.com/idom-team/idom/commit/53fb23b>`__
19-
- upgrade snowpack `5697a2d <https://github.com/idom-team/idom/commit/5697a2d>`__
20-
- better logs for idom.run + flask server `2b34e3d <https://github.com/idom-team/idom/commit/2b34e3d>`__
21-
- move package to src dir `066c9c5 <https://github.com/idom-team/idom/commit/066c9c5>`__
22-
- idom restore uses backup `773f78e <https://github.com/idom-team/idom/commit/773f78e>`__
7+
- add changelog to docs - `9cbfe94 <https://github.com/idom-team/idom/commit/9cbfe94>`__
8+
- automatically reconnect to server - `3477e2b <https://github.com/idom-team/idom/commit/3477e2b>`__
9+
- allow no reconnect in client - `ef263c2 <https://github.com/idom-team/idom/commit/ef263c2>`__
10+
- cleaner way to specify import sources - `ea19a07 <https://github.com/idom-team/idom/commit/ea19a07>`__
11+
- add the idom-react-client back into the main repo - `5dcc3bb <https://github.com/idom-team/idom/commit/5dcc3bb>`__
12+
- implement fastapi render server - `94e0620 <https://github.com/idom-team/idom/commit/94e0620>`__
13+
- improve docstring for IDOM_CLIENT_BUILD_DIR - `962d885 <https://github.com/idom-team/idom/commit/962d885>`__
14+
- cli improvements - `788fd86 <https://github.com/idom-team/idom/commit/788fd86>`__
15+
- rename SERIALIZED_VDOM_JSON_SCHEMA to VDOM_JSON_SCHEMA - `74ad578 <https://github.com/idom-team/idom/commit/74ad578>`__
16+
- better logging for modules - `39565b9 <https://github.com/idom-team/idom/commit/39565b9>`__
17+
- move client utils into private module - `f825e96 <https://github.com/idom-team/idom/commit/f825e96>`__
18+
- redirect BUILD_DIR imports to IDOM_CLIENT_BUILD_DIR option - `53fb23b <https://github.com/idom-team/idom/commit/53fb23b>`__
19+
- upgrade snowpack - `5697a2d <https://github.com/idom-team/idom/commit/5697a2d>`__
20+
- better logs for idom.run + flask server - `2b34e3d <https://github.com/idom-team/idom/commit/2b34e3d>`__
21+
- move package to src dir - `066c9c5 <https://github.com/idom-team/idom/commit/066c9c5>`__
22+
- idom restore uses backup - `773f78e <https://github.com/idom-team/idom/commit/773f78e>`__

Diff for: noxfile.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_docs(session: Session) -> None:
151151

152152
@nox.session
153153
def commits_since_last_tag(session: Session) -> None:
154-
sha_format_in_rst = "--sha-format=rst" in session.posargs
154+
rst_format = "--format=rst" in session.posargs
155155

156156
latest_tag = (
157157
subprocess.check_output(["git", "describe", "--tags", "--abbrev=0"])
@@ -175,11 +175,11 @@ def commits_since_last_tag(session: Session) -> None:
175175

176176
commits_by_date: DefaultDict[str, List[str]] = DefaultDict(list)
177177
for sha, msg, date in commits:
178-
if sha_format_in_rst:
178+
if rst_format:
179179
sha_repr = f"`{sha} <https://github.com/idom-team/idom/commit/{sha}>`__"
180180
else:
181181
sha_repr = sha
182-
commits_by_date[date].append(f"{msg} {sha_repr}")
182+
commits_by_date[date].append(f"{msg} - {sha_repr}")
183183

184184
for date, commits in commits_by_date.items():
185185
print(f"Commits on {date}")

0 commit comments

Comments
 (0)