def listAllPackagesComplete(self, version): """ Creates and/or serves up a cached copy of all the packages for this channel including requires, obsoletes, conflicts, etc. """ log_debug(3, self.channelName, version) # Check to see if the version they are requesting is the latest # check the validity of what the client thinks about this channel # or blow up self.__check_channel(version) packages = rhnChannel.list_all_packages_complete(self.channelName) # transport options... transportOptions = rhnFlags.get('outputTransportOptions') transportOptions['Last-Modified'] = rfc822time(timestamp(version)) rhnFlags.set("compress_response", 1) return packages