.PHANTOM: build upload clean
build:
- budget-sync -c budget-sync-config.toml -o task_db/mdwn
+ nohup budget-sync -c budget-sync-config.toml -o task_db/mdwn > task_db/report.mdwn
upload: build
rsync -HPavz -e 'ssh -p 922' --delete task_db/* \
except (IOError, ConfigParseError) as e:
logging.error("Failed to parse config file: %s", e)
return
+ print ("```") # for using the output as markdown
logging.info("Using Bugzilla instance at %s", config.bugzilla_url)
bz = Bugzilla(config.bugzilla_url)
if args.username:
# and one to display people
for person in budget_graph.milestone_people[milestone]:
- print(f"\t{person.identifier}")
+ print(f"\t%s (%s)" % (person.identifier, person.full_name))
print()
# now do trees
milestone.canonical_bug_id)
print()
+ print ("```") # for using the output as markdown
+
if __name__ == "__main__":
main()