Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page contains information for administration of NetBeans Plugin Portal.

Table of Contents

Where do I find sources of the NetBeans Plugin Portal?

...

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 want to find out the password for pluginportal user, send an e-mail to private@netbeans.apache.org mailing list with justification why you need that.

ssh <your_username>@netbeans-vm.apache.orgsuorg
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.

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 you will find 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";