You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This page contains information for administration of NetBeans Plugin Portal.

Where do I find sources of the NetBeans Plugin Portal?

The sources are hosted in apache/netbeans-tools repository in pp3 directory.

How does redeployment of Plugin Portal sources work?

Because the Plugin Portal 3.0 is a PHP application, it is enough to just login to netbeans-vm.apache.org machine as pluginportal user, and pull the latest sources from the Git repository. There is no cron job setup so redeployment needs to be done purely manually. If you need the password for pluginportal user, send an e-mail to private@netbeans.apache.org mailing list with appropriate justification.

ssh <your_username>@netbeans-vm.apache.org
su - pluginportal
cd /space/pp3
git pull

Where are authentication credentials stored for supported SSO providers?

Both Google and GitHub clientID and secret values are stored in /space/pp3/module/Application/config/module.config.php file. Both Google and GitHub SSO providers are configured to authenticate Plugin Portal users using netbeans-vm@gmail.com account. If you need the password for that GMail account, send an e-mail to private@netbeans.apache.org mailing list with appropriate justification.

How can one become Plugin Portal administrator?

In order to add new.user@gmail.com to group of Plugin Portal administrators you need to set admin flag to 1 in user table. This operation needs to be done as pluginportal. The password for MySQL can be found in /space/pp3/config/autoload/doctrine.local.php file.

mysql -h 172.31.28.116 -p -u netbeans_pluginportal netbeans_pluginportal
update user set admin=1 where email="new.user@gmail.com";


  • No labels