Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
dbeeacc3
Commit
dbeeacc3
authored
Sep 24, 2015
by
mehlinger333
Committed by
Gervase Markham
Sep 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 464528: Project names having dashes in them do not work. r=gerv.
parent
05f74faf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Constants.pm
Bugzilla/Constants.pm
+1
-1
multiple-bugzillas.rst
docs/en/rst/installing/multiple-bugzillas.rst
+2
-1
No files found.
Bugzilla/Constants.pm
View file @
dbeeacc3
...
...
@@ -682,7 +682,7 @@ sub _bz_locations {
$libpath
=
$1
;
my
(
$localconfig
,
$datadir
);
if
(
$project
&&
$project
=~
/^(
\w
+)$/
)
{
if
(
$project
&&
$project
=~
/^(
[\w-]
+)$/
)
{
$project
=
$1
;
$localconfig
=
"localconfig.$project"
;
$datadir
=
"data/$project"
;
...
...
docs/en/rst/installing/multiple-bugzillas.rst
View file @
dbeeacc3
...
...
@@ -19,7 +19,8 @@ this is :file:`template/en/default` so ``PROJECT``'s templates
would be located at :file:`template/en/PROJECT`.
To set up an alternate installation, just export ``PROJECT=foo`` before
running :command:`checksetup.pl` for the first time. It will
running :command:`checksetup.pl` for the first time. Project names may
contain only letters, numbers, underscores, and hyphens. It will
result in a file called :file:`localconfig.foo` instead of
:file:`localconfig`. Edit this file as described above, with
reference to a new database, and re-run :command:`checksetup.pl`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment