The NetBeans build system downloads most of its dependencies from maven central, but some binaries are kept on:

http://netbeans.osuosl.org/binaries/

see config file:

https://github.com/apache/netbeans/blob/master/nbbuild/binaries-default-properties.xml

Obtaining the SSH keys for ftp-osl.osuosl.org

The NetBeans PMC can upload binaries to this website using the SSH Keys at https://svn.apache.org/repos/private/pmc/netbeans/secrets/netbeans.osuosl.org/

The steps are as follows:

$ pgp -decrypt ftp-osl-osuosl-org-private-key.asc > ftp-osl-osuosl
$ pgp -decrypt public-key.txt.asc > ftp-osl-osuosl.pub

or

$ gpg --output ftp-osl-osuosl --decrypt ftp-osl-osuosl-org-private-key.asc
$ gpg --output ftp-osl-osuosl.pub --decrypt public-key.txt.asc

Setting up the SSH keys

You now have the public and private SSH keys to access the server "ftp-osl.osuosl.org" with username "netbeans" .

You can add an entry to your "$HOME/.ssh/config" file like so:

  • Move the resulting "ftp-osl-osuosl" and "ftp-osl-osuosl.pub" to your $HOME/.ssh directory, as all entries in your ".ssh" directory.
  • $ chmod 600 ~/.ssh/ftp-osl-osuosl
  • Edit your "$HOME/.ssh/config" file, and add an entry like so:

Host netbeans-binaries
Hostname ftp-osl.osuosl.org
User netbeans
IdentityFile ~/.ssh/ftp-osl-osuosl


You should now be able to ssh to the server by typing

$ ssh netbeans-binaries

Or to upload files there using "scp", for instance.

Once logged in to ftp-osl.osuosl.org please read ~/README-NETBEANS.txt in the $HOME directory for further instructions on syncing.

$ scp -i ~/.ssh/ftp-osl-osuosl /path/to/file netbeans@ftp-osl.osuosl.org:/path/to/binaries/directory

Browsing binaries

You can browse the current list of binaries visiting this link with a browser:  http://netbeans.osuosl.org/binaries/

(Note: Binaries which are uploaded via ftp-osl.osuosl.org are not added to the web page as links. )

Note that binaries are always uploaded using the uppercased SHA-1 hash, followed by a dash and then the name of the file.

$ sha1sum filename.zip | awk '{print "mv "$2" "toupper($1)"-"$2}' | sh


Re-encrypting the keys

The keys have been last encrypted in 2019-05-09 with the PGP keys of the NetBeans PMC Team, available at https://people.apache.org/keys/group/netbeans.asc

We will need to re-encrypt the files from time to time, as the new PGP keys from new PMC Team members are added to the group. In order to re-encrypt the file please see https://svn.apache.org/repos/private/pmc/netbeans/secrets/encrypt.sh

If you're an Apache PMC Member and your PGP keys are not in the file above, then:




  • No labels