-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathrever.xsh
More file actions
61 lines (50 loc) · 1.54 KB
/
rever.xsh
File metadata and controls
61 lines (50 loc) · 1.54 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import datetime
import os
import rever
import xonsh
$PROJECT = "digital_rf"
$WEBSITE_URL = "https://github.com/MITHaystack/digital_rf"
$GITHUB_ORG = "MITHaystack"
$GITHUB_REPO = "digital_rf"
$ACTIVITIES = [
"version_bump",
"authors",
"bibtex",
"changelog",
]
$VERSION_BUMP_PATTERNS = [
(
"CMakeLists.txt",
r"set\(digital_rf_VERSION [0-9\.]*\)",
"set(digital_rf_VERSION $VERSION)",
),
(
"README.rst",
r"Volz, R.* \(Version .*\).*",
(lambda ver: "Volz, R., Rideout, W. C., Swoboda, J., Vierinen, J. P., & Lind, F. D. ({yr}). Digital RF (Version {ver}). MIT Haystack Observatory. Retrieved from https://github.com/MITHaystack/digital_rf".format(ver=ver, yr=datetime.datetime.now().year)),
),
]
$AUTHORS_TEMPLATE = """\
History
=======
The Digital RF project was started in 2014 by Juha Vierinen, Frank Lind, and
Bill Rideout to provide a disk storage and archival format for radio signals
for use in projects at MIT Haystack Observatory. The concept was born out of
years of experience in collecting and wrangling RF data and incorporates many
lessons learned over that time. In 2017, the project was officially released to
the community under an open source BSD license.
People
======
{authors}
"""
$AUTHORS_FORMAT = "- {name} ({email})\n"
$BIBTEX_PROJECT_NAME = "Digital RF"
$BIBTEX_AUTHORS = [
"Volz, Ryan",
"Rideout, William C.",
"Swoboda, John",
"Vierinen, Juha P.",
"Lind, Frank D.",
]
$CHANGELOG_FILENAME = "CHANGELOG.rst"
$CHANGELOG_TEMPLATE = "TEMPLATE.rst"