((section 2 "Outdated egg!" (p "This is an egg for CHICKEN 4, the unsupported old release.  You're almost certainly looking for " (int-link "/eggref/5/test-new-egg" "the CHICKEN 5 version of this egg") ", if it exists.") (p "If it does not exist, there may be equivalent functionality provided by another egg; have a look at the " (link "https://wiki.call-cc.org/chicken-projects/egg-index-5.html" "egg index") ". Otherwise, please consider porting this egg to the current version of CHICKEN.")) (section 2 "test-new-egg" (toc) (section 3 "Description" (p (tt "test-new-egg") " is a simple command line tool to test new CHICKEN eggs before they are added to the official repository of eggs.") (p "The inputs for " (tt "test-new-egg") " are the egg name the URI for the new egg's .release-info file.  It then uses " (int-link "/egg/henrietta-cache" "henrietta-cache") " to download the egg's source code and uses " (int-link "/egg/salmonella" "salmonella") " to test it.") (p "Since version 1.0.2, the following environment variables are respected:") (ul (li (tt "TEST_NEW_EGG_HENRIETTA_CACHE") ": if set, " (tt "test-new-egg") " will assume it points to the " (tt "henrietta-cache") " executable.") (li (tt "TEST_NEW_EGG_SALMONELLA") ": if set, " (tt "test-new-egg") " will assume it points to the " (tt "salmonella") " executable."))) (section 3 "Author" (p (int-link "/users/mario-domenech-goulart" "Mario Domenech Goulart"))) (section 3 "Requirements" (ul (li (int-link "/egg/henrietta-cache" "henrietta-cache")) (li (int-link "/egg/salmonella" "salmonella")))) (section 3 "Repository" (p (link "https://github.com/mario-goulart/test-new-egg" "https://github.com/mario-goulart/test-new-egg"))) (section 3 "Usage" (pre " Usage: test-new-egg <egg name> <.release-info URI>")) (section 3 "License" (pre "Copyright (c) 2017-2025, Mario Domenech Goulart\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\nRedistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n\nNeither the name of the author nor the names of its contributors may\nbe used to endorse or promote products derived from this software\nwithout specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\nFOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\nCOPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\nINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\nOF THE POSSIBILITY OF SUCH DAMAGE.")) (section 3 "Version history" (section 5 "version 1.0.5 (2025-03-29)" (ul (li "CHICKEN 6 support"))) (section 5 "version 1.0.4 (2022-05-26)" (ul (li "Validate egg names according to the same rules as used by henrietta."))) (section 5 "version 1.0.3 (2020-11-27)" (ul (li "Check if an egg file (i.e., " (tt ".egg") " file in C5, " (tt ".setup") " file in C4) named after the first argument exists in the egg sources directory fetched by " (int-link "/egg/henrietta-cache" "henrietta-cache") ".  If it doesn't exist, raise an error. That's to prevent publishing an egg with a name which is valid for henrietta-cache but not for chicken-install. This check was suggested by Sergey Goldgaber.") (li "Handle " (tt "-h") ", " (tt "-help") ", " (tt "--help") " and " (tt "--version") " command line options."))) (section 5 "version 1.0.2 (2020-11-07)" (p "The following environment variables are now respected:") (ul (li (tt "TEST_NEW_EGG_HENRIETTA_CACHE") ": if set, " (tt "test-new-egg") " will assume it points to the " (tt "henrietta-cache") " executable.") (li (tt "TEST_NEW_EGG_SALMONELLA") ": if set, " (tt "test-new-egg") " will assume it points to the " (tt "salmonella") " executable.")) (p "Thanks to Sergey Geldgaber for coming up with a use-case for this feature.")) (section 5 "version 1.0.1" (ul (li "Pass CHICKEN major version to henrietta-cache, so that URLs for pseudo-meta-egg-info work properly."))) (section 5 "version 1.0.0" (ul (li "CHICKEN 5 support") (li "Require egg name as first argument for " (tt "test-new-egg") ", as egg names cannot be reliably infered from " (tt ".release-info") " files") (li "Use tools (" (tt "salmonella") " and " (tt "henrietta-cache") ") from the same prefix as " (tt "test-new-egg")))) (section 5 "version 0.0.1" (ul (li "Initial release"))))))