=== cjwatson is now known as cjwatson_ === cjwatson_ is now known as cjwatson [09:55] cjwatson: Can you merge up snap-add-view? [09:56] Oh, right, that actually needs a not entirely trivial merge due to the ZPT macrology [09:56] Yup [09:57] Not hugely difficult, fortunately. [09:57] Would you be inclined to use a slot or a variable for the create_snap link there? [09:57] Since gitrepository isn't going to get it [09:58] I think that makes sense as a variable. [09:58] If it works. [09:58] I always have to look up exactly how macros work. [09:58] Normally I just cargo-cult... [09:59] Yeah [09:59] I can't find the order of evaluation of tal:define vs. metal:use-macro defined anywhere [10:03] Oh, or I could just include the link if context_menu/create_snap exists, no need for a variable [10:05] Did you having a a single generic add view, with the link from Code just populating the source field? [10:06] I'm happy either way. [10:06] Bah, edit lag [10:06] s/having a a/consider having a/ [10:06] That's what I have, right? [10:07] You have a single view class, but it acts as a view on the source object. [10:07] Rather than the branches linking into the snappy hierarchy, there is this single parasite. [10:08] Well, I guess also the listing views, and they're more awkward to move. [10:08] So carry on. [10:08] I did originally have something like /+snaps/+new, but thought it was simpler to use the context rather than passing variables around [10:08] I can try again if you think it might be worthwhile [10:09] Not much point while +snaps is adjacent. [10:23] Right, so I think I have reasonably good xref ports locally, though I may need to create fake BugTags for search performance [10:23] (QuestionBug, BugBranch, SpecificationBug, SpecificationBranch abolished) [10:24] Nice [10:24] wgrant: snap-add-view pushed [10:24] Thanks, looking. [10:25] Hm, if I do fake tags then I can kill BugCve too. [10:25] I guess create_snap could go in HasSnapsMenuMixin, maybe? Would need logic to exclude GitRepository until I make +new-snap smarter [10:26] GitRepositoryNavigationMenu could just set create_snap to None [10:26] ContextMenu but yeah [10:26] Er that [10:26] I don't remember the difference. [10:26] Yeah, OK, let's do that [10:28] Also I think it's "snappy Ubuntu Core", though I might be out of date. [10:28] The ubuntu.com page sneakily only uses it at the start of a sentence. [10:29] Ah no, "Try snappy Ubuntu Core" [10:29] I'll ask #snappy-internal [10:30] A critical issue, I know. [10:30] And snapcraft seems consistently lowercase. [10:34] Nobody has any taste, but oh well. [10:34] Heh, quite. [10:34] (Actually, I'm OK with snapcraft if it's being treated as a Unix utility.) [10:35] Not as distasteful but unavoidable as BuildableDistroSeries, fortunately. [10:35] The snapcraft docs use "Snapcraft" at the start of a sentence, and snapcraft both monospaced and not. [10:35] So even the non-command version should be lowercase. [10:36] cjwatson: Do you deliberately exclude SUPPORTED series? [10:36] Like, say, trusty. [10:36] Or rather lts+1, I guess [10:36] Since trusty is too old. [10:37] lgtm otherwise [10:49] wgrant: so that's confusing because this is not the observed behaviour [10:49] trusty is SUPPORTED in my dev instance, but appears in +new-snap [10:49] And I cloned-and-hacked that from +new-recipe [10:49] I don't believe you. [10:49] But you have a good point. [10:50] I don't believe me either [10:50] And yet [10:50] Maybe BuildableDistroSeries is even dodgier than I suspected. [10:50] Doesn't seem to be ... [10:50] * cjwatson pdbs [10:51] Hm, no. [10:51] It is exactly as dodgy as I remembered. [10:51] Oh, but this doesn't make any sense here [10:52] Er [10:52] Oh [10:52] initial_series [10:52] It's only picking one [10:52] derp [10:52] er, initial_values [10:52] But it ought to include FROZEN [10:52] quite. [10:52] Or just use currentseries or something [10:52] Indeed... [10:52] It could easily accidentally pick RTM there. [10:53] Should I just use the ubuntu celebrity? [10:53] I don't know if fireworks will occur if it's not actually in the vocab, and it will likely break tests. [10:53] Being as bad as recipes isn't a great bar, but it's not terrible. [10:55] Let's at least include FROZEN and an XXX comment [10:56] Yep [10:56] Oh [10:56] I guess fixing the snap case without fixing recipes wouldn't break tests, would it. [10:56] But FROZEN is probably Good Enough. [10:57] BuildableDistroSeries also uses the ubuntu celebrity, which should be enough to guarantee that it's in the vocab [10:58] Oh [10:58] I thought it used the distros of all PPAs you could upload to. [10:58] Plus ubuntu [10:58] It lists 14.09 for me. [10:58] And currentseries is always going to be active [10:58] Ahh [10:58] Yep [11:07] wgrant: brutal hack in place: http://bazaar.launchpad.net/~cjwatson/launchpad/snap-add-view/revision/17748 [11:11] cjwatson: As long as you feel bad about it. r=me. [11:13] Oh I do :P [11:13] But at least it's in a very very domain-specific place ... [11:13] Thanks. Making good progress on a basic requestBuilds UI, which is the last significant piece of UI for this. [11:13] Do you know what it looks like yet? [11:14] For now it'll just be a basic form with archive, architectures, pocket. [11:14] Which is crap but workable. [11:14] The only tricky bit is the archive selection. [11:14] Pocket!? [11:15] But I guess it's necessary here until we have something better. [11:15] I'm adding a widget to let you choose primary archive or a PPA. [11:15] Hopefully searching PPAs [11:15] Rather than showing a