/srv/irclogs.ubuntu.com/2008/08/16/#launchpad.txt

=== Ursinha is now known as Ursinhaway
milos_hi all :)01:29
milos_i have a question about uploading translations to launchpad which is:01:31
milos_is it better to translate a part of package and then upload it, and do that until the hole thing is done. Or The other way, translate the hole package and then upload it.01:35
Rinchenmilos_, you mean translate locally vs in Launchpad?01:38
Rinchenmilos_, btw you can also ask on #ubuntu-translators if it's an ubuntu package01:39
Rinchenbtw I'm recycling bip so I'll be offline a bit01:39
Rinchenmilos_, but basically, it probably doesn't matter either way.01:39
milos_no, i mean just locally.  I wanted to ask, is it better to translate the hole package and upload it when it's done, or upload it periodically as the translation goes.01:41
Rinchenmilos_, doesn't really matter I suppose. The best way is probably to do it all at once01:43
Rinchenmilos_, if you were using LP for translations then periodically is better since others might be helping you01:44
Rinchenmilos_, so you could download the latest, translate, and then upload a revised version01:44
Rinchenmilos_, but if you are doing it outside of LP then all at once will be easiest01:44
milos_Rinchen, I am thinking about that because I am translating a huge package (dpkg) but I don't want to bore launchpad admins too much. So I like translate online on LP but if I do it a lot, the offline is the better way for me because LP is sometimes pretty slow.01:50
Rinchenmilos_, ah. dpkg's translations are taken from upstream, in this case debian.  https://edge.launchpad.net/dpkg  is the local ubuntu package01:52
Rinchenso for dpkg, it's best to do that in debian01:52
milos_Rinchen, ok thnx01:53
milos_Rinchen, one time I was translating one bigger package with Gtranslator and after I uploading it, some developers told me that they can't use it because some data is missing. So later I have find out that there was a bug in Gtranslator which was responsible for that. That moved me to online translating.02:02
Rinchenmilos_, yeah, me too.  I ran the ubuntu esperanto translator group since inception until just a month ago02:03
Rinchenmilos_, so online translating is the way to go02:03
beunoand you get to translate in multiplayer mode!02:04
milos_beuno, that's magical :)02:04
LaserJockpersia: so what exactly is the purpose of signing the archive?06:41
LaserJockis it just to say that the package came from the archive you think it did?06:41
persiaLaserJock: If an archive is signed, and the user trusts the signing key, the user (and by proxy software on the user workstation) can verify checksums for the downloaded packages, making package substitution significantly more difficult.06:42
persiaIf the individual packages are signed, and the user trusts the signing key, the user can confirm that the downloaded package is certified as correct by the signer.06:42
persiaThis further makes package substitution more difficult.  By combining the two, one ends up with a *very* difficult problem if an attacker wishes to insert e.g. rm -rf / in the preinstl.06:43
LaserJockhmm, but how could that be done in Launchpad?06:44
persiaIn most cases, it would be simpler to compromise the keys than work around the signing checksums.  If the keys are sufficiently complex, this gets very, very expensive.06:44
wgrantLaserJock: If the archive is unsigned, you are trusting that nobody has managed to carry out attacks on DNS, your routing, your proxy, or anything else.06:44
LaserJockwgrant: right, I think I've got that part06:44
persia(it might not even be a real attack, just misconfiguration of a nameserver or proxy server)06:45
wgrantLaserJock: If you are relying solely on those and I happen to reroute your packets through me, I can insert my own evil package and you will be none the wiser... how is that not a big problem?06:45
persiaCurrently, apt refuses to follow 301 redirects due to issues with some proxy servers: this is componded in a network composed of many transparent proxies.06:45
LaserJockwgrant: well, I personally don't worry about that, but somebody should :-)06:46
wgrantLaserJock: You don't care that people can fairly easily get root access to your system?06:46
LaserJockI would guess that if somebody is rerouting my packets then they've got other things they can do besides whipping up an evil package06:47
LaserJockso while I'm not saying it's not a problem, it's currently something I'm willing to put up with until it gets fixed06:47
wgrantYou're OK to do, say, Internet banking over plain HTTP?06:48
LaserJocknot so much no06:48
LaserJockbut I don't have to worry about that06:48
wgrantIt's the same, except that if I have root on your systems I get all of your details and passwords, not just those you send over HTTP.06:49
LaserJockas my bank uses https and my browser handles it seamlessly06:49
LaserJockso *I* don't worry about it06:49
LaserJock*somebody* should06:49
LaserJockas an ordinary user I can't be tracking down every attack vector06:50
persiaLaserJock: Right, somebody should, and they should mask the details from you.  While https isn't foolproof, it makes it cost somewhere in the vicinity of $250,000 US to hack your connection, so it's generally not worth doing.  This is the same thing for package control.06:50
LaserJockso I either unplug my computer from the net or I make a somewhat calculated risk06:50
persiaImagine the scenario where an ISP would like to get more information about a customer's internal plans to migrate to a different ISP.  That's the sort of thing that this protects.06:51
wgrantLaserJock: Which is why service providers like Launchpad should give minimisation of attack vectors utmost importance.06:51
LaserJockwgrant: for sure, I'm not denying that06:51
LaserJockthe original statement was about ddeb.ubuntu.com, which I've only installed maybe 3 packages from ever06:52
wgrantIf they don't do that, you have to.06:52
wgrantThis is true.06:52
LaserJockfor Launchpad I do use it regularly so it is a much bigger issue to me06:52
LaserJockespecially as it's centralized06:52
LaserJockyou could cast a rather large net spoofing LP06:53
wgrantMhm.06:53
wgrantYou've just got to get one IP address or A record under your control, set up an appropriate HTTP server, and you win numerous systems easily.06:54
persiaNot even that, you just need a proxy on a chunk of the trunk, or DNS control over some set of networks.06:55
wgrantTrue, but that won't get you everone.06:55
wgrant*everyone06:55
persiaOne rarely needs *everyone*.  Just getting a couple thousand is often enough to do more interesting things.06:57
LaserJocknow, unsigned PPAs was sort of sold in the beginning as a way to dissuade people  from just installing random packages06:57
persiaLaserJock: Hmm.  Interesting point.06:57
LaserJockbut we also use PPAs for more "official" uses06:58
persiaPerhaps we oughtn't?06:58
wgrantubuntu-mobile is one of the larger perpetrators, no?06:59
LaserJockso I've not been sure of the right balance between making PPAs easy/safe to use and not driving people away from getting packages into the Ubuntu archives06:59
LaserJockcurrently there about as many PPA source packages as Main source packages06:59
persiaubuntu-mobile moved the PPA stuff to the signed archive.mobile.ubuntu.com, after verifying the packages were clean.  I'm fairly sure that the PPA experiment will not be repeated.07:01
LaserJock983 active PPAs, 5391 published sources, 24290 published binaries07:01
wgrantpersia: Good to know.07:01
LaserJockthough a significant chunk is from the lang pack PPA07:01
persiaThat shouldn't be a PPA either :)07:02
LaserJockand lots of KDE4 packages :-)07:02
LaserJockwell, why shouldn't they be in PPAs07:02
LaserJock<devil's advocate> if the technology exists, why not use it? </devil's advocate>07:03
wgrantThe langpack PPA is just used for builds, isn't it?07:03
LaserJockand tests07:03
LaserJockthen they get moved to -updates07:04
persiaI'd think that if something was intended for the archives, it would make sense to upload it to the archives.07:07
LaserJockwell, most of they time they're used for staging07:07
LaserJockor backporting07:08
persiaIsn't that why there is -proposed and -backports?07:08
LaserJocknot exactly07:08
LaserJocka lot of stuff won't make it into -backports07:09
LaserJockand the staging is often to get targeted testing before -proposed or development archive07:09
persiaI thought anything that had two testers with positive reports and no negative reports went into backports.07:09
LaserJockno07:10
LaserJocklibrary backports are often unlikely07:10
LaserJockat least that's my understanding and how I use my PPA07:10
LaserJockto either backport or let people test stuff on a stable release before putting it into the development release07:11
=== mcasadevall_ is now known as NCommander
qenseI've got a question about the authentication of an API connection. Does the user have to give acces everytime the software wants to connect?14:30
kikoqense, not exactly -- I believe you generate a token and can reuse that across sessions.14:37
kikoqense, have you looked at the howto?14:37
qenseYes I am, but I can14:37
qense't14:37
qensefind that much information about this.14:37
kikoqense, tell me more14:37
qenseCan you store a key in the database and reuse it?14:38
kikowe do14:38
qenseOK, that's nice.14:38
qenseYou just need to check if the user has already giver permission.14:38
qenseHow can the user change the permissions he gave to a client?14:39
kikoI'm not sure exactly what you mean14:39
qenseWhen the user need to authenticate a client, (s)he gives rights to that client.14:40
qenseHow can the use change that?14:41
qenseDo you have to authenticate the client again?14:42
kikothat's what I'm thinking14:43
kikohow else could it work? I mean, is there anything else you'd expect?14:43
qensenot really now I think again14:44
qenseAnyway, thanks for your help.14:44
kikoheh, not much help I could get you :)14:45
qenseI'm working on a PHP lib to make accessing the API easier so we can use it with Ubuntu Wanted, which is going to use Drupal 5.14:45
qenseThere isn't a PHP lib yet, is it?14:45
kikonot yet! that's very neat.14:47
kikois there a WADL library for php?14:47
qenseNot that I know.14:50
qenseIsn't that similar to JSON?14:50
kikothat would save a lot of effort!14:50
qenseThere is a JSON implementation for PHP by default.14:51
kikowell, WADL would allow you to auto-generate the library14:51
qenseThat would indeed be neat.14:51
kikobecause it is a machine-readable description of the API14:51
kikocheck out wadllib that leonardr wrote14:51
kikoyou'll see how it works14:51
kikoand then launchpadlib just hooks into that14:51
qenseI'm sure going to check it out!14:51
kikoreal easy14:51
kikothe true advantage is that the library is always up to date14:51
qenseyeah14:51
kikono matter if you are talking to edge or lpnet or staging14:52
qenseUsing the current approach I'd need to update it often14:52
kiko(which may have different version of the API there)14:52
kikoright14:52
persiaAlso, it means you can likely deploy safely in a static environment and still track lpnet when it changes every month.14:52
qenseNot all users want to update every month14:52
persiaqense: lpnet updates on roughly the 20th of every month.14:53
persia(users don't really have the option)14:53
qenseI meant users of the lib.14:53
persiaRIght, which is why you want WADL :)14:53
qenseyeah14:53
qenseI think REST could be interesting for me, if I've understood the blog posts right it's some kind of compiler for functions that uses WADL15:17
qenseIs there any known documentation for wadllib?17:27
elmargolI try to copy a package from my ppa to an other ppa. it fails "source has unpublished binaries, please wait for them to be published before copying" < status = published18:00
elmargolit works if you just wait a bit longer18:00
mrooneyokay so I've done this before, I *should* be able to figure this out, but I can't :)19:14
mrooneywhen I create a new project on LP, how do I put code there19:14
mrooneyI have https://code.launchpad.net/~michael/ecryptfs-gui/trunk19:14
LarstiQbzr push?19:14
beunomrooney, bzr push lp:~michael/ecryptfs-gui/trunk19:15
beunomrooney, if you just push, the branch gets created automatically. You don't need to use the UI to create it19:15
mrooneyyou would think that!19:15
mrooneyooh wait I see19:15
mrooneyI can't just push to lp:ecryptfs-gui19:16
beunomrooney, you can, if you set that as the default branch for the project19:16
mrooneybeuno: and I tried what you said before, but I had forgotten to commit my local version first19:16
mrooneythanks!19:16
mrooneybeuno: yeah, I tried to do that, but it brings up a search dialog that searches all of launchpad I guess19:16
mrooneyis there an easier way?19:17
beunomrooney, unfortunately, not at the moment. We're working on it  :)19:17
LarstiQmrooney: you should be able to input ~michael/encryptfs-gui/trunk though?19:17
beunoyeah, punching in that will add the branch19:18
beunothe search is just if you need to hunt it down19:18
mrooneyokay, I assume I need the --use-existing-dir option?19:18
beunomrooney, yes, if you register the branch in LP first, you do19:18
mrooneybeuno: oh okay, is a better way to just create the project and then push to it?19:19
beunomrooney, yeap, less steps19:19
mrooneybeuno: cool, thanks, I didn't know that19:19
mrooneythanks for your help!19:19
beunomrooney, happy to help19:19
mrooneysorry I forgot everything :P19:19
beunohahaha19:20
mrooneyI did it for another project 6 months ago or so, but the process was probably different19:20
mrooneylaunchpad is evolving and improving at a pretty rapid rate19:20
beunoyeah, it's hard to keep up  :)19:20
=== edcrypt1 is now known as edcrypt
gourhello20:54
gourhow can i relate team to the project?20:55
gouror vice versa20:55
edcryptgour: there is a "Project Driver" where you can assign either a user or a team21:00
edcryptgour: don't remenber if there is another way21:01
jpdsgour: You can try the projects: /+edit-people people page and change the owner to the team.21:07
gourlet me try...21:09
gourjpds: thanks. configured team as driver of the project21:12
jpdsedcrypt: ^21:12
edcryptgour: you're welcome.21:15
gourthank you. LP is really great21:16
edcryptindeed :)21:25
mtaylorsigh22:21
* mtaylor wishes launchpad would mark merge requests as merged once they are merged automatically22:21
mrooneyOkay, now I'm back with a new project, and want to do it the "right" and easy way. I created a fresh bzr branch using "init" added the files and committed, but just doing "bzr push lp:projectname" doesn't seem to work23:04
mrooneyI've tried lp:projectname/trunk, and lp:~michael/projectname, and lp:~michael/projectname/trunk23:05
mrooneynow I am befuddled23:05
Peng_Have you created the project on LP?23:05
mrooneycorrect, yes23:05
mrooneyand I was told the easiest way is to have it auto-create the branch for me23:05
Peng_What error do you get?23:05
mrooneyPeng_: here is what I have tried: http://dpaste.com/71893/23:07
Peng_mrooney: You should use "lp:~michael/eeebotu/trunk", not "lp:~/michael/eeebotu/trunk"23:07
mrooneyPeng_: ahh okay, and I do want to specify a branch name of trunk?23:08
Peng_You can use whatever name you want. "trunk" is common.23:08
mrooneyit won't autocreate it, autoname it, AND associate it as the default branch? :]23:08
Peng_Yeah, you'll have to set it as the default branch yourself.23:09
mrooneyit would be kind of slick if bzr push lp:~/michael/eeebotu created a branch with a default name, say 'trunk', set it as the default, and pushed23:09
mrooneybut that might be too implicit23:10
Peng_I agree on both counts. It would be slick, but it is pretty implicit.23:10
Peng_You could see what the LP people think.23:10
Peng_Anyway, I'm gonna go. Good luck. :)23:11
mrooneyPeng_: okay, after fixing my dumb typo as you noticed, it worked great, thanks so much!23:12
Peng_Great. :)23:12
* Peng_ really leaves.23:12
mrooney:]23:12
=== emgent is now known as emgent`
=== emgent` is now known as emgent

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