33 from __future__
import print_function
39 from catkin_pkg.packages
import find_packages
42 "Ioan Sucan":
"isucan",
43 "Michael Ferguson":
"mikeferguson",
44 "Sachin Chitta":
"sachinchitta",
45 "G.A. vd. Hoorn":
"gavanderhoorn",
46 "Dave Coleman":
"davetcoleman",
47 "Acorn Pooley":
"acorn",
48 "Jon Binney":
"jonbinney",
49 "Matei Ciocarlie":
"mateiciocarlie",
50 "Michael Görner".decode(
"utf8"):
"v4hn",
51 "Robert Haschke":
"rhaschke",
52 "Ian McMahon":
"IanTheEngineer",
53 "Isaac I. Y. Saito":
"130s",
54 "Mathias Lüdtke".decode(
"utf8"):
"ipa-mdl",
55 "Ryan Luna":
"ryanluna",
56 "Chittaranjan Srinivas Swaminathan":
"ksatyaki",
57 "Chittaranjan S Srinivas":
"ksatyaki",
62 print(*args, file=sys.stderr, **kwargs)
67 name = maintainers_dict[maintainer.name]
69 eprint(
"Missing maintainer: ", maintainer.name)
70 name = maintainer.email
75 print(
"++ Templating '{0}'".format(src))
76 with open(src,
"r")
as f:
78 for k, v
in subs.items():
79 data = data.replace(k, v)
80 with open(dst,
"w+")
as f:
82 print(
"++ Webpage ready at '{0}'".format(dst))
91 "<a href='http://build.ros.org/view/Isrc_uT/job/Isrc_uT__"
93 +
"__ubuntu_trusty__source/'>"
94 "<img src='http://build.ros.org/buildStatus/icon?job=Isrc_uT__"
96 +
"__ubuntu_trusty__source'></a>"
100 "<a href='http://build.ros.org/view/Ibin_uT64/job/Ibin_uT64__"
102 +
"__ubuntu_trusty_amd64__binary/'>"
103 "<img src='http://build.ros.org/buildStatus/icon?job=Ibin_uT64__"
105 +
"__ubuntu_trusty_amd64__binary'></a>"
112 "<a href='http://build.ros.org/view/Jsrc_uT/job/Jsrc_uT__"
114 +
"__ubuntu_trusty__source/'>"
115 "<img src='http://build.ros.org/buildStatus/icon?job=Jsrc_uT__"
117 +
"__ubuntu_trusty__source'></a>"
119 output +=
"</td><td>"
121 "<a href='http://build.ros.org/view/Jbin_uT64/job/Jbin_uT64__"
123 +
"__ubuntu_trusty_amd64__binary/'>"
124 "<img src='http://build.ros.org/buildStatus/icon?job=Jbin_uT64__"
126 +
"__ubuntu_trusty_amd64__binary'></a>"
133 "<a href='http://build.ros.org/view/Ksrc_uX/job/Ksrc_uX__"
135 +
"__ubuntu_xenial__source/'>"
136 "<img src='http://build.ros.org/buildStatus/icon?job=Ksrc_uX__"
138 +
"__ubuntu_xenial__source'></a>"
140 output +=
"</td><td>"
142 "<a href='http://build.ros.org/view/Kbin_uX64/job/Kbin_uX64__"
144 +
"__ubuntu_xenial_amd64__binary/'>"
145 "<img src='http://build.ros.org/buildStatus/icon?job=Kbin_uX64__"
147 +
"__ubuntu_xenial_amd64__binary'></a>"
154 head, tail = os.path.split(path)
157 components.insert(0, tail)
158 head, tail = os.path.split(head)
164 "<td><a href='https://github.com/ros-planning/"
170 output +=
"<td>" + package.version +
"</td>"
173 for maintainer
in package.maintainers:
179 output +=
"<a href='https://github.com/" + author +
"'>" + author +
"</a>"
186 """Create list of MoveIt packages."""
188 packages = find_packages(os.getcwd())
190 for path, package
in packages.items():
196 basepath = os.path.dirname(os.path.realpath(__file__))
198 os.path.join(basepath,
"maintainer_table_template.html"),
199 os.path.join(basepath,
"index.html"),
200 {
"CONTENTS": output},
204 if __name__ ==
"__main__":
def create_travis_badge(package_name)
def author_to_github(maintainer)
def template_file(src, dst, subs)
def populate_package_data(path, package)
def eprint(*args, **kwargs)
def get_first_folder(path)
def list_moveit_packages()
void print(PropagationDistanceField &pdf, int numX, int numY, int numZ)