enginespot | Hi | 01:27 |
---|---|---|
enginespot | I need to get all people from launchpadlib | 01:28 |
enginespot | but when I do some test , I only get 50 persons | 01:28 |
enginespot | does anybody can help me | 01:30 |
wgrant | enginespot: Launchpad has millions of users, so it's not really sensible to get all of them. | 02:05 |
wgrant | What are you trying to do? | 02:06 |
enginespot | I want to get all of the person , and make some Statistics | 02:07 |
enginespot | such as get the person's ppa | 02:08 |
wgrant | There's not really a feasible way to do that. Why do you want this data? | 02:09 |
enginespot | for example , I want to custom a app , statistics the people's ppa | 02:12 |
enginespot | and make a table | 02:12 |
enginespot | when I use the interface launchpad.people, I only get 50 person | 02:13 |
enginespot | currently I want to get a people list , and then get the person's ppa , and statics the ppa's download times or other thing | 02:16 |
enginespot | when I save the data ,I find that there are only 50 person saved. | 02:17 |
enginespot | https://bugs.launchpad.net/launchpadlib/+bug/596876 | 02:17 |
ubot5 | Ubuntu bug 596876 in launchpadlib "launchpad.people only returns 50 people" [Low,Triaged] | 02:17 |
wgrant | There's 40000 PPAs, millions of people, and hundreds of millions of download records | 02:17 |
wgrant | The API is not designed to enable you to pull down all this data for everyone, because there's so much of it | 02:18 |
enginespot | but how can I custom it | 02:18 |
spm | I suspect you're misunderstanding the answer, you can't. the end. | 02:19 |
enginespot | hmm.. 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 ppa | 02:21 |
wgrant | Well, what are you actually trying to do? | 02:21 |
wgrant | Getting a list of all the PPAs is not useful in itself | 02:21 |
wgrant | You presumably have some end goal | 02:22 |
enginespot | it 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 |
enginespot | for me , I custom a app , he can know the download times of ppa | 02:24 |
enginespot | and he can decide which ppa should he use | 02:24 |
wgrant | That's not the sort of application we can support today. | 02:24 |
enginespot | I know , I know , I custom it | 02:25 |
wgrant | The data that you'd need to pull, and the security implications for users, are both rather large. | 02:25 |
wgrant | I 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 |
wgrant | It wasn't designed for it. | 02:25 |
enginespot | why there is security implication? | 02:26 |
enginespot | I did not add data to launchpad | 02:26 |
enginespot | but only get | 02:27 |
wgrant | Sure, 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 |
wgrant | So it's not obvious that we'd want to allow that kind of application anyway. | 02:28 |
enginespot | Hi everyone | 06:17 |
enginespot | how to get ppa from a project | 06:17 |
=== yofel_ is now known as yofel | ||
=== Ursinha-afk is now known as Ursinha | ||
=== benji is now known as Guest93766 | ||
fo0bar | wgrant: 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 | ||
Simex | Hello 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 |
Simex | Hello 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 | ||
geser | Simex: probably not, why do you need to run that? | 14:14 |
Simex | Because the application I compile is made in Java | 14:14 |
Simex | And 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 fails | 14:15 |
Simex | geser, ^ | 14:15 |
Simex | https://launchpadlibrarian.net/121609424/buildlog_ubuntu-precise-amd64.2stream_0.0.2_FAILEDTOBUILD.txt.gz | 14:16 |
geser | Simex: can you also link the package from your PPA? | 14:20 |
geser | I suspect something in the package as it still looks for java-6 | 14:21 |
Simex | https://launchpad.net/~mms-projects/+archive/2stream | 14:21 |
Simex | Is the PPA | 14:21 |
Simex | geser, or do you need something else? | 14:26 |
geser | Simex: 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 JDK | 14:27 |
Simex | Ah okay | 14:27 |
Simex | Thanks geser :) | 14:28 |
Simex | I hope that helps | 14:28 |
geser | me 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 | ||
dobey | hrmm, 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 |
Simex | geser, it doesn't work... I keep getting the same error but I do like the javahelper tool | 17:47 |
Simex | I keep getting https://gist.github.com/2caa1b9788b485202987 even though I set JAVA_HOME to =/usr/lib/jvm/java-7-openjdk-amd64/jre | 17:49 |
Simex | /usr/lib/jvm/java-7-openjdk-amd64/jre * | 17:49 |
Ebe123 | I'm "betienne" on launchpad. So how to get Cyberduck to work for launchpad? I've created the SSH key. | 18:54 |
Ebe123 | No need | 19:18 |
rtrappman | I need help with a fake account deletion. | 20:23 |
Simex | I keep getting https://gist.github.com/2caa1b9788b485202987 even though I set JAVA_HOME to /usr/lib/jvm/java-7-openjdk-amd64/jre | 20:27 |
maxb | Simex: Putting /jre on the end is wrong | 20:30 |
Simex | Without it should fix it? | 20:31 |
maxb | I believe so | 20:32 |
Simex | Lets hope :) | 20:32 |
Simex | Normally I would fix it by setting OpenJDK 7 as the default JDK using update-alternatives --config java | 20:33 |
Simex | But I don't think I can execute that on Launchpad or can I maxb ? | 20:33 |
Simex | maxb, ^ ? | 20:37 |
Simex | It 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!