Momotor supports the "old" style daemon2 packages originally used for peach³. In order for Momotor to process these packages, they must be converted into recipes by adding a recipe.xml file to the package. This recipe instructs Momotor to execute each step configured in the package's Python file using the checklet that emulates daemon2.
The recipe.xml for a daemon2 package can be automatically generated by parsing the package's Python file. Upload the package using the form on this page and click on 'submit'. The recipe.xml will be generated and download automatically. The generated recipe.xml should be added to (the root of) the package zip file to create the complete Momotor recipe. Do not change the name of the file, Momotor will only accept recipes containing a file named recipe.xml in the root of the zip file. No other modifications to the package are necessary. In contrast to daemon2, the name of the zip-file itself is irrelevant.
Note: The generated recipe.xml contains signatures of files referenced from the Python script inside the package and Momotor will validate these signatures. If you change any file inside the package, the recipe.xml must be regenerated.
Note 2: (added August 27, 2021) Although the above note was always present on this page, Momotor did not actually validate the signatures in the recipe.xml file since an update in mid 2019. However, starting August 2021, Momotor will start validating the signatures again.
Note 3: (added June 2022) Support for old style peach3 packages is now considered deprecated since it is based on Python 2 which has been end-of-life since January 2020. New assignments should have a proper Momotor recipe. Currently, there are recipes available for Java and Jupyter
Besides a recipe, Momotor also needs a configuration file. For converted packages, these simply contain the programming language to expect. Download the appropriate configuration file from the table below. Use right-click and 'save as...' to save the file instead of opening it:
|Programming Language||Configuration file|
|C||config_c.xml (308 bytes)|
|C99||config_c99.xml (310 bytes)|
|C++||config_cpp.xml (310 bytes)|