Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
67b90751
Commit
67b90751
authored
Dec 20, 2013
by
e0d
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1997 from edx/e0d/unicode-bug
script bombs if comments include unicode
parents
8e98c8cb
6134bb53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/release.py
+3
-3
No files found.
scripts/release.py
View file @
67b90751
...
...
@@ -97,20 +97,20 @@ def generate_table(commit_range, include_merge=False):
"""
Return a string corresponding to a commit table to embed in Confluence
"""
header
=
"||Author||Summary||Commit||JIRA||Verified?||"
header
=
u
"||Author||Summary||Commit||JIRA||Verified?||"
commit_link
=
"[commit|https://github.com/edx/edx-platform/commit/{sha}]"
rows
=
[
header
]
cbe
=
commits_by_email
(
commit_range
,
include_merge
)
for
email
,
commits
in
cbe
.
items
():
for
i
,
commit
in
enumerate
(
commits
):
rows
.
append
(
"| {author} | {summary} | {commit} | {jira} | {verified} |"
.
format
(
rows
.
append
(
u
"| {author} | {summary} | {commit} | {jira} | {verified} |"
.
format
(
author
=
email
if
i
==
0
else
""
,
summary
=
commit
.
summary
.
replace
(
"|"
,
"
\
|"
),
commit
=
commit_link
.
format
(
sha
=
commit
.
hexsha
),
jira
=
", "
.
join
(
parse_ticket_references
(
commit
.
message
)),
verified
=
""
,
))
return
"
\n
"
.
join
(
rows
)
return
u
"
\n
"
.
join
(
rows
)
def
generate_email
(
commit_range
,
release_date
=
None
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment