This is not quite entirely as trivial as it first looks. Firstly, we need to make sure to put Contents in place before publishing the rest of the archive, rather than the other way round as is done today. Secondly, we need to ensure that if any of a pocket's Contents files have changed then the pocket is marked dirty and hence has its Release file rewritten, which is not straightforwardly the case today. There may be a couple of other subtleties I've missed.
This is not quite entirely as trivial as it first looks. Firstly, we need to make sure to put Contents in place before publishing the rest of the archive, rather than the other way round as is done today. Secondly, we need to ensure that if any of a pocket's Contents files have changed then the pocket is marked dirty and hence has its Release file rewritten, which is not straightforwardly the case today. There may be a couple of other subtleties I've missed.