diff --git a/analyze.py b/pullrequests/analyze.py similarity index 100% rename from analyze.py rename to pullrequests/analyze.py diff --git a/data/.gitkeep b/pullrequests/data/.gitkeep similarity index 100% rename from data/.gitkeep rename to pullrequests/data/.gitkeep diff --git a/fetch.py b/pullrequests/fetch.py similarity index 100% rename from fetch.py rename to pullrequests/fetch.py diff --git a/publish.py b/pullrequests/publish.py similarity index 87% rename from publish.py rename to pullrequests/publish.py index 820ba03..13b3988 100755 --- a/publish.py +++ b/pullrequests/publish.py @@ -9,10 +9,10 @@ from ansi2html.style import get_styles ############################################################################### -output_dir = "./www/" +output_dir = "../www/" -template_path = os.path.join(output_dir,"template.html") -output_path = os.path.join(output_dir,"index.html") +template_path = os.path.join(output_dir,"template_pullrequests.html") +output_path = os.path.join(output_dir,"pullrequests.html") summary_path = os.path.join("./", "summary.json") diff --git a/repos.json b/pullrequests/repos.json similarity index 100% rename from repos.json rename to pullrequests/repos.json diff --git a/refresh.sh b/refresh.sh new file mode 100755 index 0000000..d42b140 --- /dev/null +++ b/refresh.sh @@ -0,0 +1,8 @@ +cd roadmap +./fetch.py +./analayze.py +./publish.py +cd pullrequests +./fetch.py +./analayze.py +./publish.py diff --git a/roadmap/publish.py b/roadmap/publish.py index 73db258..71afc64 100755 --- a/roadmap/publish.py +++ b/roadmap/publish.py @@ -11,7 +11,7 @@ from ansi2html.style import get_styles output_dir = "../www/" -template_path = os.path.join(output_dir,"template_roadmapdashboard.html") +template_path = os.path.join(output_dir,"template_roadmap.html") output_path = os.path.join(output_dir,"roadmap.html") summary_path = os.path.join("./", "summary.json") diff --git a/www/template.html b/www/template_pullrequests.html similarity index 100% rename from www/template.html rename to www/template_pullrequests.html diff --git a/www/template_roadmapdashboard.html b/www/template_roadmap.html similarity index 100% rename from www/template_roadmapdashboard.html rename to www/template_roadmap.html