You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Kirill Solomko 6d25bfaa03
MT#63324 fix Auth::is_user_banned error
4 days ago
assets TT#7515 Clean up good original polycom template 8 years ago
debian Release new version 13.5.0.0+0~mr13.5.0.0 1 month ago
etc MT#62763 Fix shellcheck issues 2 months ago
inc/Local/Module TT#53701 Stop requiring Moose during builds 6 years ago
lib MT#63324 fix Auth::is_user_banned error 4 days ago
sandbox MT#62763 Rename PHP test script to use .php extension 3 months ago
script TT#115002 Fix collecting i18n strings from Forms 4 years ago
share MT#61427 Remove quick access to the OLD CSC panel 2 months ago
t MT#62763 Fix shellcheck issues 2 months ago
tools MT#62763 Set vim file type to bash for shell scripts not being detected 1 month ago
tools_bin MT#62763 Fix shellcheck issues 2 months ago
tools_man TT#78502 Fix man pages formatting 5 years ago
.gitignore MT#57776 update dockerfile to make python tests work on debian 12 2 years ago
.gitreview MT#7505 Add .gitreview file for ngcp-panel 11 years ago
.mailmap TT#91650 Add a .mailmap file to correct author information 5 years ago
.perlcriticrc TT#71950 Fix typos 6 years ago
.shellcheckrc MT#62763 Fix shellcheck issues 2 months ago
Build.PL MT#59492 Use reserved IPs following RFC5737 1 year ago
Changes Initial commit of catalyst skeleton. 13 years ago
ISSUES Implement destination set handling. 12 years ago
MANIFEST MT#6551 Add empty MANIFEST file 11 years ago
MANIFEST.SKIP MT#6551 Add empty MANIFEST file 11 years ago
README.md TT#115002 Convert README.md to actual Markdown syntax 4 years ago
ngcp_panel.psgi MT#62763 Add a shebang to treat file as a program 3 months ago
ngcp_panel_testing.conf use config file ngcp-schema/share/test.conf for testing 12 years ago
tox.ini TT#122872 increase column limit on new python-based tests 4 years ago

README.md

Crowdin

NGCP-Panel

A completely overhauled provisioning interface for the NGCP system.

NAME

Build.PL - NGCP-Panel build system including test fixtures

SYNOPSIS

Usage:

$ perl ./Build
$ ./Build test --webdriver='phantomjs --webdriver=4444'
$ ./Build test --webdriver='java -jar selenium-server-standalone.jar'
$ ./Build test --webdriver='chromedriver --url-base=wd/hub --port=4444'
$ ./Build test --webdriver=selenium-rc # from CPAN distro Alien-SeleniumRC
$ ./Build test --webdriver=external --wd-server=127.0.0.1:5555
$ ./Build test_tap --webdriver=external # outputs tap to tap/ folder
$ ./Build testcover --webdriver='phantomjs --webdriver=4444'

OPTIONS

--webdriver COMMAND
(required) COMMAND to launch a webdriver external if the webdriver is launched externally
--wd-server HOST:PORT
HOST:PORT of the webdriver to which the tests should connect. Default is set by Test::WebDriver to localhost:4444.
--server URI
URI for the HTTP::Server::PSGI socket server run for testing, default http://localhost:5000.
--schema-base-dir DIR
If the NGCP::Schema is not installed to a known path to perl, this option can specify the base DIR of its development location. It will then be included via blib, so we have access to its lib and share.
--mysqld-port PORT
If this option and --mysqld-dir are supplied, a mysqld will be started at the specified PORT and be used for the tests. mysqld will be stopped and the temporary data deleted when this script finishes.
--mysql-dump
If this option and --mysqld-port are supplied, a mysqld will be started and be used for the tests. It will import all dumps supplied with this option. This option can be set multiple times. In this case all specified files will be dumped into the database.
--help
Print a brief help message and exits.
--man
Prints the manual page and exits.

I18N

Update strings from database:

$ script/ngcp_panel_dump_db_strings.pl

Regenerate messages.pot (use -v for verbose output):

$ xgettext.pl --output=lib/NGCP/Panel/I18N/messages.pot --directory=lib/ --directory=share/templates/ --directory=share/layout -P perl=tt,pm

In case your language does not exist already:

$ msginit --input=lib/NGCP/Panel/I18N/messages.pot --output=lib/NGCP/Panel/I18N/$LANG.po --locale=$LANG

Update or create $LANG.po files:

$ msgmerge --update $LANG.po messages.pot