websvcs02.osc.edu
- development apps for OnDemand as well as Passenger apps are run here
epi-dev.osc.edu
runs here- location of apps:
~ndem0010/drupal/<app>
websvcs06.osc.edu
- production OnDemand is run on this node
epi.osc.edu
runs here- location of apps:
~ndem0009/drupal/<app>
Some useful SVN commands that I encountered when editing PUDL apps.
How to retrieve information about a given SVN repo.
# /nfs/04/ndem0009/drupal/cfp
$ svn info
Path: .
URL: https://svn.osc.edu/repos/param/ndemc/cfp/tags/0.25
Repository Root: https://svn.osc.edu/repos/param
Repository UUID: 28bff010-de06-0410-adaf-cabd42029014
Revision: 8953
Node Kind: directory
Schedule: normal
Last Changed Author: efranz
Last Changed Rev: 8953
Last Changed Date: 2014-10-30 11:37:16 -0400 (Thu, 30 Oct 2014)
The following commands are useful when making code changes and pushing those changes to production.
First you will commit your changes with a message.
$ svn commit -m "msg" --username jnicklas
To get a list of tags allowing you to choose an unused tag, you would list the contents of the tags
directory in the SVN repo.
$ svn ls https://svn.osc.edu/repos/param/lamps/acp/tags/
You will then copy the current trunk to an unused tag.
$ svn copy https://svn.osc.edu/repos/param/lamps/acp/trunk https://svn.osc.edu/repos/param/lamps/acp/tags/0.16 -m "" --username jnicklas
Under the production directory (under the ndem0009
user) you would then switch the currently used tag with the tag you just created.
$ svn switch https://svn.osc.edu/repos/param/lamps/acp/tags/0.16
All versions of the catalog can be found in
~ndem0009/drupal/catalog_*
catalog
: prod catalog
: prod apps (ndem0009)
catalog_test
: test catalog
: prod apps (ndem0009)
catalog_dev
: dev catalog
: prod apps (ndem0010)
This is the only development app in the ndem0009
account. This was to keep the interns from modifying the code.
There is a whitelist of users that can access the development Catalog. This list can be found at:
~ndem0009/drupal/catalog_dev_whitelist.txt
which is referenced in
~ndem0009/drupal/catalog_dev/modules/osc_ondemand/osc_ondemand.module
The list of apps displayed in the development Catalog can be found at:
~ndem0009/drupal/catalog_dev/catalog_dev.yml
which is referenced in
~ndem0009/drupal/catalog_dev/modules/osc_ondemand/AppModel.php