wiki:HowToUploadPythonPackages

To upload new python packages to the FTP server, for use by metabuildbot workers:

  • login to ftp.bb.net via service2:
    dustin@service2 ~ $ jls
       JID  IP Address      Hostname                      Path
         1  140.211.10.238  www.buildbot.net              /usr/local/jail/www
         2  140.211.10.240  trac.buildbot.net             /usr/local/jail/trac
         3  140.211.10.244  nine.buildbot.net             /usr/local/jail/nine
         4  140.211.10.241  lists.buildbot.net            /usr/local/jail/lists
         5  140.211.10.243  ftp.buildbot.net              /usr/local/jail/ftp
         6  140.211.10.237  docs.buildbot.net             /usr/local/jail/docs
         7  140.211.10.242  bot.buildbot.net              /usr/local/jail/bot
         8  140.211.10.245  supybot.buildbot.net          /usr/local/jail/supybot
    dustin@service2 ~ $ sudo jexec ftp bash
    
  • change to the python-packages dir:
    cd /data/ftp/pub/metabuildbot/python-packages/
    
  • get the file, using the link copied from pypi.python.org:
    wget https://pypi.python.org/packages/source/f/future/future-0.14.3.tar.gz
    

That's it!


One might consider using

 pip install --no-use-wheel --download . --find-links . <top-level-package>

Side note (sa2ajj): I'm going to check if we could have a file in buildbot-infra which, when changed, would cause the relevant packages to be downloaded. I think it's gonna be friendlier, since more people have commit rights to buildbot-infra than sudo rights on Buildbot infrastructure.

Last modified 9 months ago Last modified on Jan 4, 2017, 1:51:22 AM