2012/1/22 Graham Percival <gra...@percival-music.ca>: > why are you asking this question? Is the source code really > *that* hard to read? It's 18 lines!
Hey, i'm not a pro programmer. There are so many brilliant programmers here that my self-confidence is quite low; this is second time i read Python and first time i read building scripts. And i don't want to do some stupid mistake, break Patchy and cause unexpected damage to origin/staging and/or origin/master, which would result in more problems that i'm trying to solve. > https://github.com/gperciva/lilypond-extra/blob/master/patches/compile_lilypond_test.py#L282 > > for patch in patches: > issue_id = patch[0] > patch_filename = patch[1] > title = patch[2] > print "Trying %i with %s" % (issue_id, patch_filename) > try: > autoCompile.configure() > autoCompile.patch(patch_filename) > autoCompile.build(quick_make=True, > issue_id=issue_id) > autoCompile.regtest_check(issue_id) > autoCompile.copy_regtests(issue_id) > autoCompile.make_regtest_show_script(issue_id, > title) > # reverse stuff > autoCompile.patch(patch_filename, reverse=True) > autoCompile.regtest_clean(issue_id) > autoCompile.clean(issue_id) > except Exception as err: > print "Problem with issue %i" % issue_id > print err Yes, i've read this 2 times. If i didn't i wouldn't ask the question. Janek. _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel