Created: 2011-07-08 21:10
Updated: 2014-05-21 09:44

Plugin flow:

  1. Fetch[?callback=foo] every hour.
  2. Server responds with appropriate location of watchlr-min-<env>-<version>.js (env is inferred from _WENV cookie value).

Javascript library deploy procedure:

cd js; php deploy.php <version> [<env>=prod]
  1. Increment version number.
  2. Build js library locally for env
  3. Push (using script) to
  4. Shell script also updates configuration on server to bump up current version number for env.

Plugin deploy procedure:

cd plugin
edit Version.ver
sh <version>
git commit Version.ver -m '[plugin-deploy] <env> <version>'; git push origin master
  1. Increment version number in plugin/Version.ver.
  2. cd plugin/Installer/Publisher; sh
  3. scp plugin/Builds/watchlr_installer_<version>.[crx|xpi]

Plugin build requirements:

  1. m4

     apt-get install m4
  2. Ruby, Gems, Development headers

     apt-get install ruby rubygems ruby1.8-dev
  3. Zip, OpenSSL, 7za

     gem install zipruby
     apt-get install libopenssl-ruby1.8
     apt-get install p7zip-full
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more