explain makeInfoURL
svn path=/configurations/trunk/tud/; revision=11395
Martin Bravenboer committed
Mar 31, 2008 at 21:31 UTC
1350384f2d541ed9a498d1f8fb023fc733b959f7
1 file changed
+21
-3
supervisor/strategoxt/jobs.nix
+21
-3
@@ -6,15 +6,33 @@ let easy = (import ./easy-job.nix) attrs;
6
makeEasyJob = easy.makeEasyJob;
7
makeStrategoXTJob = easy.makeStrategoXTJob;
8
9
+ /* The file packages.nix describes packages, their dependencies, etc. */
10
specs =
11
(import ../../../../release/jobs/strategoxt2/packages.nix);
12
12
- /**
13
- * Current Stratego/XT baseline packages.
14
- */
13
+ /* Current Stratego/XT baseline packages. */
14
baseline =
15
import ./baseline.nix;
16
17
+ /*
18
+
19
+ The makeEasyJob function accepts an argument
20
+ 'makeInfoURL'. makeInfoURL is a function that given a package
21
+ specification returns a URL to a release-info.xml file. This
22
+ file provides the buildfarm with information about available
23
+ source tarballs and RPMs for this package.
24
+
25
+ The default makeInfoURL always uses the latest -unstable
26
+ release of a package. You only need to specify your own
27
+ makeInfoURL if you want a different behaviour.
28
+
29
+ Some useful makeInfoURL variants are defined here. A common
30
+ example of this is 'usingBaseline'. This makeInfoURL variant
31
+ uses baseline releases for aterm, sdf2-bundle, and
32
+ strategoxt. The URLs of the baseline are specified in
33
+ 'baseline.nix'.
34
+
35
+ */
36
makeInfoURL = {
37
usingBaseline = spec :
38
let packageName = reflect.packageName spec;