Bug #25759 autopush requires BK_USER though it is not required by bk
Submitted: 22 Jan 2007 18:06 Modified: 15 Jul 2008 15:39
Reporter: Ingo Strüwing Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:4.12 OS:Linux (Linux)
Assigned to: Ingo Strüwing CPU Architecture:Any

[22 Jan 2007 18:06] Ingo Strüwing
Description:
The error message is:

"
Use of uninitialized value in length at /home/mydev/internals/dev/autopush.pl line 347.

ERROR: Environment variable BK_USER not set. Needed by BitKeeper.

FIX: Please set it with --bk_user=...
"

This is wrong. bk does not need this environment. We *must not* use BK_HOST and better should not use BK_USER either.

If you still believe bk needs BK_USER, what is it used for then? bk happens to work for me beautifully without it.

How to repeat:
Unset BK_USER.
~/internals/dev/autopush.pl --build_dir=autopush --email_addr=ingo@mysql.com --use_bkd

Suggested fix:
Drop this requirement. Allow to use BK_USER or --bk_user respectively, but do not enforce it.
[15 Jul 2008 15:39] Ingo Strüwing
This is obsolete since our move to bzr.
No need to fix. Closing. ("Won't fix" would be more appropriate, but is not selectable by the pop-down menu.)