/srv/irclogs.ubuntu.com/2015/12/18/#launchpad-dev.txt

* cjwatson finishes the year by pushing an initial version of lp:git-build-recipe (in git, of course) that almost almost works18:16
cjwatsonThe main bit that's still broken is nest-part18:16
cjwatsonBut most other things are at least minimally functional and it passes all non-skipped tests18:17
jblakemanHi, new to Launchpad dev and looking to submit a patch for the API. Specifically, I'd like to make the methods `getSummarizedMirroredArchSeries` and `getSummarizedMirroredSourceSeries` public, but am having trouble finding where public methods are defined in the source. Relevant question: https://answers.launchpad.net/launchpad/+question/274646.20:11
cjwatsonjblakeman: methods with webservice exports have @export_read_operation etc. decorators on their declarations in lib/lp/*/interfaces/20:29
cjwatsonthere are quite a few examples, so once you know that pattern you can at least have a go at cargo-culting; the build system is pretty strict about making sure you have the right type declarations in place20:30
jblakemancjwatson: Great, thanks for the tip! I'll give it a shot.20:34
cjwatsonI haven't looked at the relevant methods to see if there would be any gotchas here.  Write unit tests, it's the easiest way to make sure you have it working :)20:38
beuno...and getting the merge proposal approved!20:41
cjwatsonwell yes, but it saves time up front too :)20:41
beunoyes yes!20:42
cjwatsonI only actually run the webapp for something like 1/10 of the branches I submit (the hard ones)20:42
cjwatsonso it's yak-shaving you can often skip20:44
* beuno nods and steps away from the hornets nest20:46
jblakemanWell will this will be a good exercise for me as I'm pretty new to writing software (hobby turning to career) and have never contributed to a major open source project before.  I'll try to avoid asking a bunch of noob questions.  Wish me luck ;)20:47
cjwatson:)20:50
cjwatsonI'm on vacation now, but will see questions eventually20:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!