/srv/irclogs.ubuntu.com/2014/04/14/#launchpad.txt

=== Guest41065 is now known as StevenK
RFlemingHi!  Anyone from support here?01:53
voldymani am getting bugs older than the date specified in searchTasks(modified_since=<date>) any idea why09:13
voldymanthe date is datetime.utcnow()09:13
voldymanalso curl responds with Object: <lazr.restful.declarations.GET_IHasBugs_searchTasks_beta object at 0x2b69f1dec690>, name: ''09:18
wgrantvoldyman: Lots of operations on the bug update the modification date.09:18
wgrantWhat is the URL you're giving to curl?09:18
voldymanhttps://api.launchpad.net/1.0/elementary/searchTasks?status=Fix%20Released09:19
wgrantThat's not a valid URL09:19
wgranthttps://api.launchpad.net/1.0/elementary?ws.op=searchTasks&status=Fix%20Released09:19
voldymanahh09:20
voldymanwgrant: i was fetching all bugs before and checking release_data, is that better or modified_since09:20
wgrantrelease_data?09:20
voldymanrelease_date09:21
wgrantIt depends what you want09:21
wgrantIf you want the date of last modification use modified_since09:22
voldymani want bugs that were marked fix released since the last check09:22
voldymanearlier i was using https://github.com/voldyman/elementary-fixes/blob/83d7fc176ffdd95de42b40a6cbdefbb0ef08bef9/bot.py#L5609:22
voldymannow i am using https://github.com/voldyman/elementary-fixes/blob/master/bot.py#L5609:22
wgrantmodified_since will give you a superset of those bugs, so it's probably what you want.09:22
voldymanbut i got older bugs09:23
voldymanas you can see here https://twitter.com/elementaryfixes it tweeted older bugs09:23
voldymanwgrant: whats the best way to specify the date to the python api ?09:27
wgrantvoldyman: Bugs can change in ways other than having their status set to Fix Released. You need to filter the list to those bugs that have had their status set to Fix Released in the interesting window.09:33
wgrantvoldyman: launchpadlib takes datetime.datetime09:33
voldymanwgrant: so i'll ask for bugs modified since, then check the date and status09:35
wgrantvoldyman: Right, I'd check status and date_fix_released.09:36
=== czajkows1i is now known as czajkowski
=== jamesh_ is now known as jamesh
thomasberendsI get a lot of timeout errors while translating. Is this a known problem?12:16
eagles0513875hey guys I have a few questions is it possible for canonicals build machines to pull from a github repo instead of bzr on launchpad?13:27
wgranteagles0513875: No, for security reasons that's not directly possible. You'd need to ask Launchpad to import the GitHub repositoriry into a Launchpad bzr branch first.13:30
eagles0513875wgrant: ok will bzr have issues if we are using git submodules?13:31
dobeyeagles0513875: yes13:34
eagles0513875ok basically it wont import whats in a submodule?13:35
dobeyit won't import a git branch that has ever had submodules in its history13:36
eagles0513875:O13:36
eagles0513875even if they are removed from being used13:36
dobeyyes13:37
wgranteagles0513875: bzr-git can't represent submodules, so it's not possible to import any commit that contains submodules. Due to the nature of git repositories, that also means it's not possible to import any branch that has submodules anywhere in nits history.13:41
eagles0513875ok :( what could we use instead of submodules that would work13:43
eagles0513875with bzr13:43
eagles0513875is it required to build packages for releases using canonical build bots?13:43
wgrantWhich releases?13:44
eagles0513875future releases13:44
wgrantWhat kind of releases?13:45
wgrantLaunchpad's builders build for PPAs, and PPAs must be built on Launchpad's builders.13:45
wgrantIf you don't need packages in Ubuntu or in a PPA, you don't use Launchpad's builders.13:45
eagles0513875i thought you could upload a package to a ppa that isnt build by the LP build machines13:46
wgrantNo, all PPA binaries must be built by Launchpad.13:46
wgrantBut you can build a *source* package locally an dupload that13:46
eagles0513875wgrant: then from that source package something can be built for a ppa13:46
wgrantYou don't have to use recipes; they're an optional extra.13:46
eagles0513875im just trying to see our best alternatives at this point13:47
eagles0513875wgrant: lets say you have a package in a ppa and you want to get it into the next release what would one have to do ?13:56
dobeywhat are you trying to do exactly? generally the maintainer builds a new source package and uploads it to the distro, there is no PPA involved14:00
dobeylaunchpad is also just the hosting platform, it doesn't make policy for how ubuntu handles packaging14:01
eagles0513875dobey: i just want to be clear would canonical accept an ubuntu package which was built ones hardware compared to their own.14:02
dobeyit has nothing to do with canonical14:02
dobeyyou cannot upload binary packages to ubuntu14:03
dobeyyou only upload source packages14:03
eagles0513875ok so as long as the source package is available on ones LP page then we can request that be pulled into the next release?14:03
dobeywhat release?14:03
dobey14.10?14:04
dobeywhy are you not discussing this with israel?14:04
eagles0513875I am discussing this with him, but im just researching options at this point14:12
cjwatsonI can be absolutely clear on this from Ubuntu's point of view: we do not accept binaries that were built on other hardware.14:17
cjwatsonNot negotiable.14:17
dobeyindeed14:24
=== WebbyIT is now known as rpadovani
eagles0513875cjwatson: you wont even accept source packages from others hardware to then send to the build machines for a ppa and that package in a ppa for a main stream release16:14
cjwatsoneagles0513875: Where did I say that?16:15
cjwatsoneagles0513875: Of course we accept *source* packages from other people's hardware; all the source packages in Ubuntu are that way ...16:15
cjwatsoneagles0513875: We don't pull straight from external git repositories, but Ubuntu packages don't build straight from git anyway, they build from source packages16:16
eagles0513875cjwatson: ok. my question is this if we have nightly builds in a ppa for example, for a release cycle can a package be pulled from a ppa16:16
eagles0513875reason im asking is we are going to run into an issue with our master branch which is using submodules16:17
cjwatsonWe don't pull nightly builds into Ubuntu - you should get an Ubuntu developer to upload releases16:17
cjwatsonThe submodules issue matters for recipes but is entirely irrelevant for uploads to Ubuntu16:17
eagles0513875cjwatson: im not saying nightly builds but can we request a stable release be pulled from a ppa?16:18
cjwatsonThat's occasionally possible but not recommended16:18
cjwatsonIt would have to be rebuilt on the Ubuntu build farm anyway (which is distinct from PPAs) so it doesn't buy you much16:19
cjwatsonAnd either way it needs an Ubuntu developer to actually do it, so you might as well let them do it in a more normal way16:19
dobeyeagles0513875: you can't have nightly builds in a ppa any more anyway16:31
eagles0513875so I guess we need to migrate away from using submodules16:31
dobeyand what cjwatson said. the maintainer should just upload the new package16:31
dobeyeagles0513875: no, you can't just do that either16:31
eagles0513875dobey: ok so basically just upload it and that is it16:32
dobeyeagles0513875: the commits that depend on submodules would have to be completely removed from all history in the branch, to be able to import in bzr again16:33
dobeyyes, that is the only way you should get a new package version into ubuntu16:33
dobeycreate a source package of the new version, and upload it16:33
eagles0513875ok.16:33
eagles0513875ok16:33
eagles0513875so if we need a new package the  package is pulled from the uploaded source16:34
cjwatsonSubmodules or not make no difference for Ubuntu uploads, as I say16:34
cjwatsonWe would never just copy directly from a recipe-constructed source package in any case16:34
eagles0513875ok16:34
eagles0513875perfect :)16:35
eagles0513875thanks16:35

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