Versions Compared

Key

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

...

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.

Code Block
languagebash
themeMidnight
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.

...

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 user. The password for MySQL can be found in /space/pp3/config/autoload/doctrine.local.php file.

Code Block
languagesql
themeMidnight
mysql -h 172.31.28.116 -p -u netbeans_pluginportal netbeans_pluginportal

...


update user set admin=1 where email="new.user@gmail.com";

How can one become Plugin Portal verifier?

If you decide to volunteer for verifying NetBeans plugins, make sure to login to the NetBeans Plugin Portal at least once and then send your offer to dev@netbeans.apache.org mailing list. Any Plugin Portal administrator can then follow these steps in the Plugin Portal:

  1. Click Admin in the main toolbar.
  2. Click Verifiers admin tool.
  3. Type e-mail address of the volunteer to Search field and click Search Account button.
  4. When the user is found, click Add verifier status button.