Diff for "FAQ"

Not logged in - Log In / Register

Differences between revisions 5 and 16 (spanning 11 versions)
Revision 5 as of 2009-07-21 14:13:02
Size: 1528
Comment:
Revision 16 as of 2019-10-04 11:35:33
Size: 1964
Editor: cjwatson
Comment: update for git
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
No, Launchpad is not packaged and there are no plans to do so. Launchpad deployment is done straight from Bazaar branches and is quite complex. No, Launchpad is not packaged and there are no plans to do so. Launchpad deployment is done straight from Git branches and is quite complex.
Line 22: Line 22:
Currently, Python 2.4 but we're working hard on getting us on at least Python
2.5 if not Python 2.6. This isn't hard to do, it's just a lot of work, but it
will happen in time for Karmic at the latest.
Currently, Python 2.7.
Line 28: Line 26:
Yes, you can browse the [[http://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel/files|source code]] on Launchpad.
You can also use `bzr get lp:launchpad` to download the code without setting up a development environment.
Yes, you can browse the [[https://git.launchpad.net/launchpad/tree|source code]] on Launchpad.
You can also use `git clone https://git.launchpad.net/launchpad` to download the code without setting up a development environment.

== I have Launchpad running but mails are not sent... ==

Development Launchpads don't send email to the outside world, for obvious reasons. They connect to the local SMTP server and send to root.
To create new users, create a new account, and check the local mailbox, or use utilities/make-lp-user

== My database permissions keep getting deleted! ==

If your local account is called "launchpad" it conflicts with a role called "launchpad" which is defined in `security.cfg`. You need to rename your local account and re-assign it super user permissions as the `utilities/launchpad-database-setup` script does.

Are there Launchpad packages available?

No, Launchpad is not packaged and there are no plans to do so. Launchpad deployment is done straight from Git branches and is quite complex.

Why PostgreSQL?

PostgreSQL was chosen in 2004 because it supported most of the features we thought we would need; MySQL did not. The other contender was Oracle, and for a while we made sure we would be able to switch to Oracle if necessary but PostgreSQL has worked great.

How integrated is the database in the code?

Highly. We make use of PostgreSQL specific features, such as:

  • SQL language extensions
  • PL/pgSQL and Python stored procedures
  • Triggers
  • Functional indexes
  • Automatic load balancing over the replicas with Slony-I
  • Transactional DDL
  • tsearch2 full text search
  • Database permissions

What version of Python is required?

Currently, Python 2.7.

Can I look at the code without downloading it all?

Yes, you can browse the source code on Launchpad. You can also use git clone https://git.launchpad.net/launchpad to download the code without setting up a development environment.

I have Launchpad running but mails are not sent...

Development Launchpads don't send email to the outside world, for obvious reasons. They connect to the local SMTP server and send to root. To create new users, create a new account, and check the local mailbox, or use utilities/make-lp-user

My database permissions keep getting deleted!

If your local account is called "launchpad" it conflicts with a role called "launchpad" which is defined in security.cfg. You need to rename your local account and re-assign it super user permissions as the utilities/launchpad-database-setup script does.

FAQ (last edited 2021-12-10 15:16:54 by cjwatson)