Files @ c36100d8432d
Branch filter:

Location: DistRen/doc/distrenjob.xml.example

binki
Attempt to better define distrenjob.xml.
<?xml version="1.0" encoding="utf-8" ?>
<!--
  Copyright 2009 Nathan Phillip Brink, Ethan Zonca, Matthew Orlando

  This file is a part of DistRen.

  DistRen is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  DistRen is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with DistRen.  If not, see <http://www.gnu.org/licenses/>.
-->

<distren>
  <!-- is the priority option actually useful? -->
  <job
     name="distren://ohnopub.net/job/36"
     submitter="distren://ohnopub.net/user/binki"
     type="povray"
     >

    <!--
	This tag is information that does not have to be present in
	the original distrenjob.xml. For example, a povray's .ini file
	may already specify this resolution information. However,
	information like this should be extracted because this
	metadata may prove useful within distren's code. The <frames
	/> tag is a better example, as povray's .ini file will specify
	the information necessary for a sequence of frames to be
	rendered and we need to actually intercept/override that
	information.
    -->
    <resolution
       width="800"
       height="600"
       />

    <!--
	Currently, for simplicity, there will be a <frame /> tag for
	every frame to be rendered.
    -->
    <frames>
      <frame name="distren://ohnopub.net/job/36/frame/23" />

      <!--
	  As described in architecture.txt, we allow frame
	  dependencies.
      -->
      <frame name="distren://ohnopub.net/job/36/frame/22">
	<dep name="distren://ohnopub.net/job/36/frame/23" />
	<dep name="distren://ohnopub.net/job/36/frame/24" />
      </frame>

      <frame name="distren://ohnopub.net/job/36/frame/24" />

      <!--
	  Assigned frames name their servers.
      -->
      <frame name="distren://ohnopub.net/job/36/frame/25"
	     server="distren://protofusion.org/" />

      <!--
	  Finished frames name their files and servers. Note that the
	  file's namespace is the job's URL. It is the job of the
	  server that renders a file to push it to its originating
	  server. It makes no sense for the originating server to try
	  to collect files manually ;-). Also, for simplicity, a frame
	  is considered assigned until the originating server obtains
	  a copy of it.

	  Notice how as a frame's status progresses, it only gains
	  information.
      -->
      <frame name="distren://ohnopub.net/job/36/frame/26"
	     server="distren://protofusion.org/"
	     file="distren://ohnopub.net/job/36/file/2" />
    </frames>

    <povray
	ini="sphere.ini"
	/>
  </job>
  
  <!--
      Additional section:
      The contents of this section should probably be
      moved to some central store, as it will be referenced
      in multiple jobs.
    -->
  <submitters>
    <user
       name="normaldotcom"
       href="http://ohnopublishing.net/~ohnobinki/"
       />
  </submitters>
</distren>