/srv/irclogs.ubuntu.com/2014/10/17/#launchpad.txt

mdeslaurI'm getting a really big error message when I try and mark bug 1382517 as a dupe of 138213311:38
ubot5bug 1382133 in evolution-data-server (Ubuntu Trusty) "duplicate for #1382517 Issue with servers with SSLv3 disabled due to Poodle " [Undecided,In progress] https://launchpad.net/bugs/138213311:38
mdeslauroh, probably because someone else did it seconds before I did, never mind11:43
=== karni is now known as karni-lunch
=== karni-lunch is now known as karni
jefferaiIs it normal after using dput successfully for nothing to show up in your PPA even after 20 minutes or so?15:04
jefferaiPPA still says nothing uploaded/empty15:04
pkernDid you check your mails?15:05
dobeyif you didn't get a mail, most likely cause is you signed the source with the wrong key (or it was unsigned)15:06
jefferaipkern: oh, no, figured if dput said successful it was successful15:06
dobeyjefferai: dput only knows about the upload of files to the ftp; it has no idea what launchpad does with the files after that15:08
jefferaipkern: dobey Thanks, managed to figure out the issue from the rejection email15:17
jefferaiOK, one more question. The help guide says that each package you push up is built on 386 and amd64. But mine was only built on 386. I don't see anywhere in the control files a specification that it should be 386 only15:39
jefferaiAny idea what I'm doing wrong?15:39
pkernjefferai: Is it arch:all?15:47
pkernIf so, it's only built on i386.15:47
jefferaipkern: there's no arch line specified, so maybe that's the issue15:48
jefferaipkern: my .dsc has Architecture: all15:49
jefferaiso does debian/control15:49
pkernYeah, then that's correct.15:49
jefferai(so does my source.changes file, FWIW)15:49
jefferaipkern: should it be "Architecture: any"?15:51
jefferaihttp://packaging.ubuntu.com/html/debian-dir-overview.html#the-changelog has an example showing that15:51
jefferaialthough the text shows "all"15:52
jefferaipkern: oh, oh15:53
jefferaiok, it build it as an all arch package, which makes sense15:53
jefferaibut in launchpad it's marked as an "i386" build15:53
jefferaithe deb shows all though15:53
jefferaiso it's just a display thing15:53
=== karni is now known as karni-eod
dobeyjefferai: it's just that arch:all packages are built on the i386 builders16:19
dobeythere is no "all" builder16:19
jefferaidobey: Ah16:19
binwiederhierHi there, when I want to build an architecture-dependent package on Launchpad, does the source package have to include the "sources" for all architectures? In my case the "sources" are Java/SWT JAR files containing native i386 and amd64 libraries.16:48
binwiederhierIf so, how can I control the build process so that the i386 JAR is included in the i386 build and the amd64 JAR in the am64 build?16:48
binwiederhierHere's an example source package (here: only for amd64): https://launchpad.net/~syncany/+archive/ubuntu/snapshot/+files/syncany-plugin-gui_0.1.12.alpha%2BSNAPSHOT.1410171552.git782ac5b%7Etrustyppa1.tar.gz16:49
binwiederhierand here is how it was built: https://travis-ci.org/syncany/syncany-plugin-gui/builds/38274292#L122916:52
binwiederhieris this not the right place to ask?16:53
dobeybinwiederhier: the source package should include the upstream source with build system info and all, and debian/rules would specify how to create the binaries and install them to the system16:54
dobeyie, should have the .java files which get compiled into .jars16:55
binwiederhieri realize that, but since the PPA is just one of the output formats i'm building, i'd rather let Travis build the JARs and do the packaging on Launchpad -- or I could move all the other output types to launchpad, but I don't think that's a good idea...16:57
binwiederhieri figured that the debian/rules file has something to do with that. do you have any examples on how to do "if(amd64) then copy this file"?16:58
dobeyeh? a PPA isn't an "output format"16:58
dobeybinary .debs are16:58
binwiederhiera PPA is one way to distribute your software.16:59
binwiederhiera windows exe file is another.16:59
dobeya PPA is a tool to build your source into binary debs as a means to distribute your software16:59
dobeythe end product isn't a PPA, it's binary debs16:59
binwiederhierokay, true. but ...17:00
binwiederhierlaunchpad forces me to do "source packages" when i really want to build the package myself and upload it.17:00
dobeythen you don't want a PPA. you want an archive that you host17:01
binwiederhierhm.17:01
binwiederhierwith that archive, does the whole apt-get magic also work? is it complicated? *googling*17:02
dobeyyes17:03
dobeyit is more complicated17:03
dobeyand you have to host it somewhere17:03
binwiederhier...17:04
binwiederhierhm...17:04
dobeybut it doesn't automatically rebuild for different versions of ubuntu, against different versions of the dependencies17:04
dobeywhich is the whole point of building from source in PPAs17:04
binwiederhieri realize that now.17:04
binwiederhierbut for me and my project, it's just a way to distribute the software -- which is probably a terrible belittling of the PPA concept ...17:05
binwiederhierany hints on the debian/rules stuff? i think i'm going to stick with that for now ...17:06
dobeyfix your travis build to create proper source package with the actual source for uploading to the PPA17:09
binwiederhierdobey: what difference does it make? i would have to include the dependent JARs in the source package anyway.17:10
binwiederhieror i'd have to run the whole gradle on travis _and_ launchpad17:10
dobeyand?17:11
binwiederhierand that's difficult.17:11
dobeyhow so?17:11
binwiederhierwell, 1. i have no idea how the PPA stuff works (granted, my problem; and fixable)17:13
binwiederhier2. the travis build is not really easy: https://travis-ci.org/syncany/syncany17:13
binwiederhier(https://github.com/syncany/syncany/blob/develop/.travis.yml)17:14
dobeywell, downloading pre-built .jar files from a plaintext http source isn't a particularly good plan anyway17:14
binwiederhierplaintext http?17:15
binwiederhierwhere?17:15
dobeythat's what gradle is doing, in the travis build log17:16
dobeya whole messload of pom and jar files17:16
binwiederhierfrom the maven repo, yes...17:16
binwiederhierbut that's nothing that we can fix here and now.17:17
binwiederhiergradle/maven does that.17:17
binwiederhierwell i could run this on the PPA: https://travis-ci.org/syncany/syncany#L368517:17
binwiederhieror something like that ...17:18
binwiederhierit just seems like a lot of work "just" to distribute a couple of deb files.17:19
binwiederhierdobey: this doesn't look so complicated: https://wiki.debian.org/SettingUpSignedAptRepositoryWithReprepro17:33
binwiederhierit's waayyyy less complicated than the whole PPA process.17:33
dobeyyou're making the PPA process waayyyy more complicated than it needs to be17:35
dobeygradle/maven certainly don't seem to be helping with that either though17:36
binwiederhier:D17:36
=== RedDwarf is now known as Zackio
binwiederhierdobey: Thanks again for the tip with the archive. That was indeed a lot easier. :D I seemed to have misunderstood PPAs entirely -- and that after 6 years of using Ubuntu... At least now I get it.22:07
dobeybinwiederhier: well, experience using ubuntu != experience building packages for ubuntu. if you aren't mirroring code to launchpad, or more of an ubuntu developer (one who builds a lot of packages), PPAs can be a bit confusing22:09
binwiederhieri kinda thought PPA = archive; turns out that is definitely not the case.22:10
binwiederhierbut yet, confusing is the least of it. PPAs are hard :D22:11
dobeywell a PPA is an archive, but it's integrated into launchpad and there are some polices about what one can host in it. it's not simply a blind archive :)22:12
binwiederhierin my case, blind is good. all the hard work is done by travis.22:13
binwiederhierand since i have a server anyway, there is no issue here.22:13

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