Original version Copyright 2001 by Kyle Sallee Additions/Corrections Copyright 2002-2008 by the Source Mage Team
Set of functions used by sorcery for queue generation
Checks all installed spells for newer versions, and creates an install queue.
Finds all installed spells that need an update due to security reasons and creates an install queue.
Find all spells that need to be updated due to security reasons. Checks the version caches and compares them to the installed one.
Find all spells that need to be updated (for any reason). Checks the version caches and compares them to the installed one.
Frontend routine to encapsulate whether or not a spell needs updating Used by lazy dependency resolution
The slow way of determining if a spell needs to be updated. Doesn't use the version cache and is also needed for checking multiversioned spells.
Common code between update_install_queue, update_security_install_queue and does_spell_need_update
Slow higher-level check if a spell needs to be updated
install queue
List files in install queue, give user chance to modify it.
history
Display the history of the install queue for review
The first argument is the name of the file containing the queue. If a second argument is given, any items in the queue that match the second argument are removed from the queue. Otherwise, the top line of the queue is removed, and returned.
The first argument is the name of the file containing the queue. The second argument is an item to add to the end of the queue. If the item exists anywhere in the queue, the item is removed from the queue before being added at the end.
The first argument is the name of the file that installed correctly and will be removed from the install file (this makes a failure of the casting of the queue not have to recast completed spells).
Adds the given spell to the install queue and removes it from the remove queue.
Adds the given spell to the remove queue and removes it from the install queue.