/srv/irclogs.ubuntu.com/2015/12/02/#launchpad-dev.txt

dupingpinghi everyone.02:47
dupingpingI built a launchpad.dev server on my local.02:47
dupingpingAnd it shows me "Module zope.publisher.publish, line 132, in publish02:48
dupingpingresult = publication.callObject(request, obj)02:48
dupingpingModule lp.services.webapp.servers, line 1508, in callObject02:48
dupingpingraise NotFound(self, '', request)02:48
dupingpingwhat should i do?02:48
wgrantdupingping: Which URL are you accessing?02:58
wgrantThat can indicate that you're using an unrecognised domain.02:58
dupingpingyes, at the local lan, vm server.02:59
wgrantLaunchpad uses vhosts extensively, so you can't access it by IP address or the machine's hostname.03:00
wgrantYou need to use https://launchpad.dev/[...], or one of the recognised subdomains.03:00
wgranthttps://dev.launchpad.net/Running/RemoteAccess03:00
dupingpingoh, I did not use vhost. I installed it directly on my local pc.03:00
wgrantThe Launchpad application will only respond to domains that it knows about.03:01
wgrantSo you need to edit /etc/hosts (or a local DNS zone).03:01
dupingpingoh, yes, let me try now.03:02
wgranteg. I run LP in an LXC container, so in my host's /etc/hosts:03:02
wgrant10.0.3.45       launchpad.dev answers.launchpad.dev archive.launchpad.dev api.launchpad.dev bazaar.launchpad.dev bazaar-internal.launchpad.   dev blueprints.launchpad.dev bugs.launchpad.dev code.launchpad.dev feeds.launchpad.dev keyserver.launchpad.dev lists.launchpad.dev ppa.  launchpad.dev private-ppa.launchpad.dev testopenid.dev translations.launchpad.dev xmlrpc-private.launchpad.dev03:02
wgrantxmlrpc.launchpad.dev03:02
dupingpingyes, It works as http://localhost:8085 in my PC.03:02
wgrantutilities/rocketfuel-setup automatically configures /etc/hosts, if you used that script.03:03
dupingpingyes, i used it, rocketfuel-setup.03:04
wgrantDoes https://launchpad.dev/ work?03:04
dupingpingAnd how to register an account on that server?03:04
dupingpingyes, work.03:04
wgrantThe initial dev database has certain preconfigured accounts. You can log in as eg. admin@canonical.com for an admin account, no-priv@canonical.com for an unprivileged account, and various others that can be found in the "emailaddress" table.03:05
dupingpingyes, let me try.03:05
dupingpingoh, It shows me an error, I'll pastebinit soon.03:13
wgrantPossibly an OpenID TLS cert issue, we'll see.03:14
blrdupingping: there's also a script for generating new accounts/users in utilities/make-lp-user03:16
dupingpingblr, yes, let me try.03:17
dupingpingplease look, http://paste.ubuntu.com/1361344303:19
wgrantdupingping: Try going back to the homepage and logging in again.03:21
wgrantI've seen that before on the very first session on a fresh DB, and then it works a second time.03:21
dupingpingwgrant: yes, let me try again.03:22
dupingpingwgrant: it's run on same PC but from another one. the launchpad.dev/+login page shows me You don't have permission to access /+login on this ...03:38
wgrantdupingping: Edit the ACLs in /etc/apache2/sites-available/local-launchpad03:39
dupingpingwgrant: thank you, I did it. And I want to know how to build bootable iso image from many source packages?03:55
dupingpingplease help me.03:55
dupingpingI just found launchpad-buildd script. I think that it's just a wrapper for debian livefs project.03:55
wgrantThere are many steps between where you are now and bootable images.03:56
wgranthttps://dev.launchpad.net/Soyuz/HowToUseSoyuzLocally documents some of them.03:56
dupingpingyes, let me try, the steps. wgrant:03:56
wgrantdupingping: But if you're just looking to build images, a full Launchpad really isn't the easiest way to do that.03:57
dupingpingwgrant: yes, And I think that i should build a local server same as launchpad.net to develop launchpad.03:59
wgrantRight, if you want to develop Launchpad then that totally makes sense.04:00
wgrantBut I wouldn't necessarily start by building ISOs; that's a big chunk of complex infrastructure.04:00
dupingpingwgrant: So, please help me.04:01
wgrantdupingping: If you want to develop Launchpad, ISO building is not a good first thing to work on. And if you just want to build ISOs, your own Launchpad is not a good way to do that.04:04
dupingpingwgrant: yes, but I could not understand how to run the launchpad.net fully.04:06
dupingpingAnd without fully understand, I could not join to develop launchpad.net04:06
dupingping*develop* may contribute.04:07
wgrantISO building relies on all of the things described on HowToUseSoyuzLocally.04:07
dupingpingSo i wanted to fully duplicate the launchpad.net to my local PC.04:07
wgrantUnderstand all of that first, and then you can eventually move up to building ISOs.04:07
dupingpingwgrant: yes.04:07
dupingpingwgrant: yes.04:15
dupingpingwgrant:  what is the source build project of the launchpad.net?04:16
dupingpinge.g. launchpad-buildd build iso image from binary packages.04:16
dupingpingI mean that build binary packages steps.04:16
dupingpingfrom source packages.04:17
dupingpingwgrant: let's guess about following point.04:20
dupingpingIf i modified libc package, so many packages needs to be rebuilt.04:21
dupingpingthen how can i get the packages list to be rebuilt?04:21
dupingpingto get distro iso image.04:22
dupingpingwgrant: make sense?04:22
wgrantdupingping: launchpad-buildd builds several different things, including binary packages and live images.04:33
dupingpingwgrant: yes. then it detects source depends packages?04:34
wgrantdupingping: A glibc change doesn't require the entire world to be rebuilt.04:34
dupingpingwgrant: yes, right. it's just an example. If i modify a frequently used function's parameter.04:35
dupingpinghow can i detect source packages that use it?04:35
wgrantLaunchpad has no facilities for automatically doing that.04:35
wgrantYou'd use external tools to analyse the archive.04:35
dupingpingexternal tools?04:36
dupingpingI'm sure i can detect dependency tree of binary packages. Is there a tool for source packages?04:37
wgrantThere are no fundamental differences between the two.04:37
dupingpingSo is there a tool to do it?04:39
wgrantIt depends on exactly what you're going to do, but regardless it's not within Launchpad's remit.04:41
dupingpingwgrant: yes, i see.04:45
cjwatsonwgrant: Could you glance over my post-review changes to https://code.launchpad.net/~cjwatson/launchpad/limit-debdiff/+merge/278187 ?10:59
wgrantcjwatson: I assume debdiff doesn't do anything silly like uncompressing the tarball onto disk before extracting it?11:05
wgrant>1GiB single files are unlikely, but uncompressed tarballs are plausible.11:05
cjwatsonwgrant: It may call dpkg-source, which I don't *think* does that, but you never know.  Maybe I should bump that to 10GiB; the main purpose is just to defend against running haetae out of disk.11:22
cjwatsonwgrant: There were 22 diffs in dogfood's DB over 1GiB.  They must all have taken quite some time to generate (I didn't check).11:22
* cjwatson bumps that11:27
=== jelmer_ is now known as jelmer
=== jelmer is now known as Guest88376

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