Part of lp.archivepublisher
Function | reorder_components | Return a list of the components provided. |
Function | remove_suffix | Return path but with any compression suffix removed. |
Function | get_suffixed_indices | Return a set of paths to compressed copies of the given index. |
Function | getPublisher | Return an initialized Publisher instance for the given context. |
Function | get_sources_path | Return path to Sources file for the given arguments. |
Function | get_packages_path | Return path to Packages file for the given arguments. |
Function | cannot_modify_suite | Return True for Release pockets of stable series in primary archives. |
Class | I18nIndex | Represents an i18n/Index file. |
Interface | IArchiveHash | Represents a hash algorithm used for index files. |
Class | MD5ArchiveHash | Undocumented |
Class | SHA1ArchiveHash | Undocumented |
Class | SHA256ArchiveHash | Undocumented |
Class | ByHash | Represents a single by-hash directory tree. |
Class | ByHashes | Represents all by-hash directory trees in an archive. |
Class | Publisher | Publisher is the class used to provide the facility to publish |
Class | DirectoryHash | Represents a directory hierarchy for hashing. |
Function | _getDiskPool | Return a DiskPool instance for a given PubConf. |
Function | _setupHtaccess | Setup .htaccess/.htpasswd files for an archive. |
The list will be ordered by the semi arbitrary rules of ubuntu. Over time this method needs to be removed and replaced by having component ordering codified in the database.
It ensures the given archive location matches the minimal structure required.
The callsites can override the location where the archive indexes will be stored via 'distroot' argument.