What do you name <repository:?>, what is the point in <channel:...> being anything other than release, and is the <restartRequired:999999> just supposed to be a boolean?
Also, what is the channel for in the version.txt?
The repository can be named whatever you want. You can also leave it blank and just do <repository>.
Like TBP said, you can have different channels for things like a beta version and that sort of stuff. The "channel" field in version.txt corresponds to a channel in the repository. That way it knows which channel to look at if the repository has multiple.
<restartRequired:version> takes the latest version that requires a restart after updating.
For example, look at my repository:
http://mods.greek2me.usYou can see that Gamemode_Slayer has a release version of 3.8.1, but a required restart of "3.8 RC 1". This means that if upgrading from a version older than "3.8 RC 1" a restart will be required. The same can be seen with Support_Updater, where the version is 0.2 and a restart is required for 0.2.
You can also see that Gamemode_Slayer has multiple channels. These allow me to first release things to the "beta" channel and then later to the "release" channel if all goes well.