-
Notifications
You must be signed in to change notification settings - Fork 7
/
rever.xsh
36 lines (29 loc) · 902 Bytes
/
rever.xsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# edit this in https://github.com/conda/infrastructure
$ACTIVITIES = ["authors", "changelog"]
# Basic settings
$PROJECT = $GITHUB_REPO = $(basename $(git remote get-url origin)).split('.')[0].strip()
$GITHUB_ORG = "conda"
# Authors settings
$AUTHORS_FILENAME = "AUTHORS.md"
$AUTHORS_SORTBY = "alpha"
# Changelog settings
$CHANGELOG_FILENAME = "CHANGELOG.md"
$CHANGELOG_PATTERN = r"\[//\]: # \(current developments\)"
$CHANGELOG_HEADER = """[//]: # (current developments)
## $VERSION ($RELEASE_DATE)
"""
$CHANGELOG_CATEGORIES = [
"Enhancements",
"Bug fixes",
"Deprecations",
"Docs",
"Other",
]
$CHANGELOG_CATEGORY_TITLE_FORMAT = "### {category}\n\n"
$CHANGELOG_AUTHORS_TITLE = "Contributors"
$CHANGELOG_AUTHORS_FORMAT = "* @{github}\n"
try:
# allow repository to customize synchronized-from-infa rever config
from rever_overrides import *
except ImportError:
pass