Loading builder/builder.py +4 −5 Original line number Diff line number Diff line Loading @@ -59,15 +59,14 @@ def get_description(job_path): return readme_file.read() def get_changelogs(job_path, job_name): versions = listdir(job_path + "/" + JOB_CHANGELOG_DIR) versions.reverse() latest = { "version": listdir(job_path + "/" + JOB_CHANGELOG_DIR)[0][0:-3], "version": versions[0][0:-3], "url": GO2SCALE_URL + job_name + ".yml" } changelogs = [] for version in listdir(job_path + "/" + JOB_CHANGELOG_DIR): for version in versions: with open(job_path + "/" + JOB_CHANGELOG_DIR + "/" + version) as changelog_file: changelogs.append({ "version": version[0:-3], Loading jobs/coala/job.ymldeleted 100644 → 0 +0 −6 Original line number Diff line number Diff line name: coala description: A ready-to-use coala job to fix your source code default_stage: static_tests icon: 🐨 maintainer: thomasboni license: MIT No newline at end of file Loading
builder/builder.py +4 −5 Original line number Diff line number Diff line Loading @@ -59,15 +59,14 @@ def get_description(job_path): return readme_file.read() def get_changelogs(job_path, job_name): versions = listdir(job_path + "/" + JOB_CHANGELOG_DIR) versions.reverse() latest = { "version": listdir(job_path + "/" + JOB_CHANGELOG_DIR)[0][0:-3], "version": versions[0][0:-3], "url": GO2SCALE_URL + job_name + ".yml" } changelogs = [] for version in listdir(job_path + "/" + JOB_CHANGELOG_DIR): for version in versions: with open(job_path + "/" + JOB_CHANGELOG_DIR + "/" + version) as changelog_file: changelogs.append({ "version": version[0:-3], Loading
jobs/coala/job.ymldeleted 100644 → 0 +0 −6 Original line number Diff line number Diff line name: coala description: A ready-to-use coala job to fix your source code default_stage: static_tests icon: 🐨 maintainer: thomasboni license: MIT No newline at end of file