login to local launchpad server

Asked by greatmay

I download launchpad source code , build and try to login to local launchpad server .but bzr lp-login user go to launch.net . how to redirect to launchpad.dev , please help me!

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benji York (benji) said :
#1

I think we'll need more information: what did you do? What happened? What did you expect to happen instead?

Revision history for this message
Max Bowsher (maxb) said :
#2

'bzr lp-login' is a convenience tool to get people started quickly with the common case of using launchpad.net.

For other sites, including a local launchpad.dev, you need to edit ~/.bazaar/authentication.conf directly.

Revision history for this message
greatmay (greatmay12) said :
#3

not work can't solve problem bazzar still login to launchpad .net

Revision history for this message
Benji York (benji) said :
#4

What command(s) are you running? What was the output?

Revision history for this message
greatmay (greatmay12) said :
#5

I edit account .py file in bzr souceode change host launchpad.net to launch.dev
work with bzr-lp-login commands

by default loggerhead of launchpad are disable . please help me about loggerhead configuration .

Thank you in advance

Revision history for this message
Benji York (benji) said :
#6

"make run_all" should start loggerhead. Apache should be set up to proxy it. Try accessing it directly on port 8080 to make sure it is up, if it is and you can't access it through Apache, try restarting Apache to get the proxying working.

Revision history for this message
greatmay (greatmay12) said :
#7

loggerhead work at port 8080 however it can't `browse branch code after I have already push source successfully .
I run servebranches command script port 8080 address already in use if change to another port it work but it doesn't follow the source code automatically I must do command each branches to view source code please tell me about Appropriate configuration

Revision history for this message
Raphaël Badin (rvb) said :
#8

Hi, if you have all properly setup and manage to push your branches to your local launchpad instance, you need to manually run:
"make sync_branches" to have your branches effectively scanned.

Revision history for this message
greatmay (greatmay12) said :
#9

branches isn't updated , no affect on database
error log

ndrs-ttp@ndrserver:~/launchpad/lp-branches/devel$ make sync_branches
/home/ndrs-ttp/launchpad/lp-branches/devel/bin/py cronscripts/supermirror-pull.py
2011-11-22 10:57:48 INFO Log opened.
2011-11-22 10:57:48 INFO Sending request [0]: acquireBranchToPull([],)
2011-11-22 10:57:48 INFO Reply to request [0]: []
2011-11-22 10:57:48 INFO Mirroring complete
2011-11-22 10:57:48 INFO Sending request [1]: recordSuccess('branch-puller', 'ndrserver', (2011, 11, 22, 10, 57, 48, 1, 326, 0), (2011, 11, 22, 10, 57, 48, 1, 326, 0))
2011-11-22 10:57:48 INFO Reply to request [1]: True
2011-11-22 10:57:48 INFO Main loop terminated.
# Scan branches from the filesystem into the database.
/home/ndrs-ttp/launchpad/lp-branches/devel/bin/py cronscripts/scan_branches.py
2011-11-22 10:57:50 INFO Creating lockfile: /var/lock/launchpad-runscanbranches.lock
2011-11-22 10:57:57 INFO Running through Twisted.
2011-11-22 10:57:57 INFO No jobs to run.
# Handle merge proposal email jobs.
/home/ndrs-ttp/launchpad/lp-branches/devel/bin/py cronscripts/merge-proposal-jobs.py -v
2011-11-22 10:58:02 DEBUG Cronscript control file not found at file:cronscripts.ini
2011-11-22 10:58:02 INFO Creating lockfile: /var/lock/launchpad-merge-proposal-jobs.lock
2011-11-22 10:58:10 INFO Running through Twisted.
2011-11-22 10:58:10 INFO No jobs to run.
2011-11-22 10:58:10 DEBUG Removing lock file: /var/lock/launchpad-merge-proposal-jobs.lock

Revision history for this message
Raphaël Badin (rvb) said :
#10

Looks like you have no branches pushed to your local lp instance. Can you paste the push command that you used and the output that you got?

Revision history for this message
greatmay (greatmay12) said :
#11

I use command bzr push --use-existing lp://dev/~ndrs-ttp/+junk/test2.

Revision history for this message
greatmay (greatmay12) said :
#12

output command
root@ubuntu:/home/ndrs/test/bzr-2.2.4# bzr push --use-existing lp://dev/~ndrs-ttp/+junk/test5
Working tree "/home/ndrs/test/bzr-2.2.4/" has uncommitted changes (See bzr status). Uncommitted changes will not be pushed.
<email address hidden>'s password:
Created new branch.

root@ubuntu:/home/ndrs/test/bzr-2.2.4#

Revision history for this message
greatmay (greatmay12) said :
#13

it seems the branches data isn't imported to postgreSQL

Revision history for this message
greatmay (greatmay12) said :
#14

log error in postgresql when make sybc_branches
[2011-11-24 17:06:00 ICT] branchscanner@launchpad_dev LOG: unexpected EOF on client connection
[2011-11-24 17:06:12 ICT] merge-proposal-jobs@launchpad_dev LOG: unexpected EOF on client connection

please help me about config Postgresql

thank you in advance

Revision history for this message
Julian Edwards (julian-edwards) said :
#15

Did you commit all your changes? There's an error in the output:

Working tree "/home/ndrs/test/bzr-2.2.4/" has uncommitted changes (See bzr status).

Can you help with this problem?

Provide an answer of your own, or ask greatmay for more information if necessary.

To post a message you must log in.