/srv/irclogs.ubuntu.com/2012/10/30/#launchpad.txt

enginespotHi01:27
enginespotI need to get all people from launchpadlib01:28
enginespotbut when I do some test , I only get 50 persons01:28
enginespotdoes anybody can help me01:30
wgrantenginespot: Launchpad has millions of users, so it's not really sensible to get all of them.02:05
wgrantWhat are you trying to do?02:06
enginespotI want to get all of the person , and make some Statistics02:07
enginespotsuch as get the person's ppa02:08
wgrantThere's not really a feasible way to do that. Why do you want this data?02:09
enginespotfor example , I want to custom a app , statistics the people's ppa02:12
enginespotand make a table02:12
enginespotwhen I use the interface launchpad.people, I only get 50 person02:13
enginespotcurrently I want to get a people list , and then get the person's ppa , and statics the ppa's download times or other thing02:16
enginespotwhen I save the data ,I find that there are only 50 person saved.02:17
enginespothttps://bugs.launchpad.net/launchpadlib/+bug/59687602:17
ubot5Ubuntu bug 596876 in launchpadlib "launchpad.people only returns 50 people" [Low,Triaged]02:17
wgrantThere's 40000 PPAs, millions of people, and hundreds of millions of download records02:17
wgrantThe API is not designed to enable you to pull down all this data for everyone, because there's so much of it02:18
enginespotbut how can I custom it02:18
spmI suspect you're misunderstanding the answer, you can't. the end.02:19
enginespothmm.. at the begining , I want to get all ppas of launchpad , but I did not find a way , only find the way : first get all people , and then get the people's ppa02:21
wgrantWell, what are you actually trying to do?02:21
wgrantGetting a list of all the PPAs is not useful in itself02:21
wgrantYou presumably have some end goal02:22
enginespotit is useful , I can do some statistics, and make a list , for example , when user do some search for "java" ppa , maybe he will get a a list for ppa ,02:23
enginespotfor me , I custom a app , he can know the download times of ppa02:24
enginespotand he can decide which ppa should he use02:24
wgrantThat's not the sort of application we can support today.02:24
enginespotI know , I know , I custom it02:25
wgrantThe data that you'd need to pull, and the security implications for users, are both rather large.02:25
wgrantI know you want to write a custom application, but our API in its current form does not readily support that sort of usecase.02:25
wgrantIt wasn't designed for it.02:25
enginespotwhy there is security implication?02:26
enginespotI did not add data to launchpad02:26
enginespotbut only get02:27
wgrantSure, but you're encouraging a popularity contest method of choosing PPAs, rather than a trust-based method, which has interesting and unclear implications.02:28
wgrantSo it's not obvious that we'd want to allow that kind of application anyway.02:28
enginespotHi everyone06:17
enginespothow to get ppa from a project06:17
=== yofel_ is now known as yofel
=== Ursinha-afk is now known as Ursinha
=== benji is now known as Guest93766
fo0barwgrant: https://code.launchpad.net/~fo0bar/finnix/reprepro-launchpad-announce <-- if you were actually interested in my project from yesterday, here's some presentable code :)10:03
=== benji___ is now known as benji
=== Ursinha is now known as Ursinha-afk
SimexHello there. Launchpad needs to run update-alternatives --config java before it can build my .deb package. Is there a way to configure that?12:48
SimexHello there. Launchpad needs to run update-alternatives --config java before it can build my .deb package. Is there a way to configure that?13:06
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
geserSimex: probably not, why do you need to run that?14:14
SimexBecause the application I compile is made in Java14:14
SimexAnd for some reason when it is done installing openjdk-7-jdk (using the build dependencies) it doesn't set it as default so the compiling fails14:15
Simexgeser, ^14:15
Simexhttps://launchpadlibrarian.net/121609424/buildlog_ubuntu-precise-amd64.2stream_0.0.2_FAILEDTOBUILD.txt.gz14:16
geserSimex: can you also link the package from your PPA?14:20
geserI suspect something in the package as it still looks for java-614:21
Simexhttps://launchpad.net/~mms-projects/+archive/2stream14:21
SimexIs the PPA14:21
Simexgeser, or do you need something else?14:26
geserSimex: I'm not familiar with packaging java programs, but a look http://wiki.debian.org/Java/Packaging suggests that you might need to specify JAVA_HOME=/usr/lib/jvm/default-java in your debian/rules that it uses the right JDK14:27
SimexAh okay14:27
SimexThanks geser :)14:28
SimexI hope that helps14:28
geserme too :)14:28
=== matsubara is now known as matsubara-lunch
=== matsubara-lunch is now known as matsubara
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
dobeyhrmm, is there no way to make a copy of a branch, through launchpad api? one has to use bzrlib magic to do so?17:25
Simexgeser, it doesn't work... I keep getting the same error but I do like the javahelper tool17:47
SimexI keep getting https://gist.github.com/2caa1b9788b485202987 even though I set JAVA_HOME to =/usr/lib/jvm/java-7-openjdk-amd64/jre17:49
Simex/usr/lib/jvm/java-7-openjdk-amd64/jre *17:49
Ebe123I'm "betienne" on launchpad. So how to get Cyberduck to work for launchpad? I've created the SSH key.18:54
Ebe123No need19:18
rtrappmanI need help with a fake account deletion.20:23
SimexI keep getting https://gist.github.com/2caa1b9788b485202987 even though I set JAVA_HOME to /usr/lib/jvm/java-7-openjdk-amd64/jre20:27
maxbSimex: Putting /jre on the end is wrong20:30
SimexWithout it should fix it?20:31
maxbI believe so20:32
SimexLets hope :)20:32
SimexNormally I would fix it by setting OpenJDK 7 as the default JDK using update-alternatives --config java20:33
SimexBut I don't think I can execute that on Launchpad or can I maxb ?20:33
Simexmaxb, ^ ?20:37
SimexIt looks like Ant doesn't see the variable :(20:39
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk

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