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
da49c353
Commit
da49c353
authored
Oct 28, 2013
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore certain emails in release script
parent
881b1ef9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
scripts/release.py
+3
-1
No files found.
scripts/release.py
View file @
da49c353
...
...
@@ -11,6 +11,7 @@ import re
from
collections
import
OrderedDict
import
textwrap
IGNORED_EMAILS
=
set
((
"vagrant@precise32.(none)"
,))
JIRA_RE
=
re
.
compile
(
r"\b[A-Z]{2,}-\d+\b"
)
PROJECT_ROOT
=
path
(
__file__
)
.
abspath
()
.
dirname
()
repo
=
Repo
(
PROJECT_ROOT
)
...
...
@@ -65,7 +66,8 @@ def emails(commit_range):
# %ae prints the authored_by email for the commit
# %n prints a newline
# %ce prints the committed_by email for the commit
return
set
(
git
.
log
(
commit_range
,
format
=
'
%
ae
%
n
%
ce'
)
.
splitlines
())
emails
=
set
(
git
.
log
(
commit_range
,
format
=
'
%
ae
%
n
%
ce'
)
.
splitlines
())
return
emails
-
IGNORED_EMAILS
def
commits_by_email
(
commit_range
,
include_merge
=
False
):
...
...
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