1 | == test-new-egg |
---|
2 | |
---|
3 | [[toc:]] |
---|
4 | |
---|
5 | === Description |
---|
6 | |
---|
7 | {{test-new-egg}} is a simple commmand line tool to test new CHICKEN |
---|
8 | eggs before they are added to the official repository of eggs. |
---|
9 | |
---|
10 | The inputs for {{test-new-egg}} are the egg name the URI for the new |
---|
11 | egg's .release-info file. It then uses |
---|
12 | [[/egg/henrietta-cache|henrietta-cache]] to download the egg's source |
---|
13 | code and uses [[/egg/salmonella|salmonella]] to test it. |
---|
14 | |
---|
15 | Since version 1.0.2, the following environment variables are respected: |
---|
16 | |
---|
17 | * {{TEST_NEW_EGG_HENRIETTA_CACHE}}: if set, {{test-new-egg}} will assume |
---|
18 | it points to the {{henrietta-cache}} executable. |
---|
19 | |
---|
20 | * {{TEST_NEW_EGG_SALMONELLA}}: if set, {{test-new-egg}} will assume it |
---|
21 | points to the {{salmonella}} executable. |
---|
22 | |
---|
23 | |
---|
24 | === Author |
---|
25 | |
---|
26 | [[/users/mario-domenech-goulart|Mario Domenech Goulart]] |
---|
27 | |
---|
28 | |
---|
29 | === Requirements |
---|
30 | |
---|
31 | * [[/egg/henrietta-cache|henrietta-cache]] |
---|
32 | * [[/egg/salmonella|salmonella]] |
---|
33 | |
---|
34 | |
---|
35 | === Repository |
---|
36 | |
---|
37 | [[https://github.com/mario-goulart/test-new-egg|https://github.com/mario-goulart/test-new-egg]] |
---|
38 | |
---|
39 | |
---|
40 | === Usage |
---|
41 | |
---|
42 | Usage: test-new-egg <egg name> <.release-info URI> |
---|
43 | |
---|
44 | |
---|
45 | === License |
---|
46 | |
---|
47 | Copyright (c) 2017-2019, Mario Domenech Goulart |
---|
48 | All rights reserved. |
---|
49 | |
---|
50 | Redistribution and use in source and binary forms, with or without |
---|
51 | modification, are permitted provided that the following conditions are |
---|
52 | met: |
---|
53 | |
---|
54 | Redistributions of source code must retain the above copyright |
---|
55 | notice, this list of conditions and the following disclaimer. |
---|
56 | |
---|
57 | Redistributions in binary form must reproduce the above copyright |
---|
58 | notice, this list of conditions and the following disclaimer in the |
---|
59 | documentation and/or other materials provided with the distribution. |
---|
60 | |
---|
61 | Neither the name of the author nor the names of its contributors may |
---|
62 | be used to endorse or promote products derived from this software |
---|
63 | without specific prior written permission. |
---|
64 | |
---|
65 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
---|
66 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
---|
67 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
---|
68 | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
---|
69 | COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
---|
70 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
---|
71 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
---|
72 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
---|
73 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
---|
74 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
---|
75 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
---|
76 | OF THE POSSIBILITY OF SUCH DAMAGE. |
---|
77 | |
---|
78 | |
---|
79 | |
---|
80 | === Version history |
---|
81 | |
---|
82 | ===== version 1.0.2 (2020-11-07) |
---|
83 | |
---|
84 | The following environment variables are now respected: |
---|
85 | |
---|
86 | * {{TEST_NEW_EGG_HENRIETTA_CACHE}}: if set, {{test-new-egg}} will assume |
---|
87 | it points to the {{henrietta-cache}} executable. |
---|
88 | |
---|
89 | * {{TEST_NEW_EGG_SALMONELLA}}: if set, {{test-new-egg}} will assume it |
---|
90 | points to the {{salmonella}} executable. |
---|
91 | |
---|
92 | Thanks to Sergey Geldgaber for coming up with a use-case for this feature. |
---|
93 | |
---|
94 | |
---|
95 | ===== version 1.0.1 |
---|
96 | * Pass CHICKEN major version to henrietta-cache, so that URLs for pseudo-meta-egg-info work properly. |
---|
97 | |
---|
98 | |
---|
99 | ===== version 1.0.0 |
---|
100 | * CHICKEN 5 support |
---|
101 | |
---|
102 | * Require egg name as first argument for {{test-new-egg}}, as egg names cannot be reliably infered from {{.release-info}} files |
---|
103 | |
---|
104 | * Use tools ({{salmonella}} and {{henrietta-cache}}) from the same prefix as {{test-new-egg}} |
---|
105 | |
---|
106 | |
---|
107 | ===== version 0.0.1 |
---|
108 | * Initial release |
---|