Part of lp.archivepublisher.scripts
Function | get_publishable_archives | Get all archives for distribution that should be published. |
Function | get_backup_dists | Return the path of an archive's backup dists directory. |
Function | get_dists | Return the path of an archive's dists directory. |
Function | get_working_dists | Return the working path for an archive's dists directory. |
Function | map_distro_pubconfigs | Return dict mapping archive purpose for distro's pub configs. |
Function | newer_mtime | Is one_file newer than other_file, or is other_file missing? |
Class | PublishFTPMaster | Publish a distro (update). |
distribution
that should be published.Parameters | archive_config | Configuration for the archive in question. |
In order for publish-distro to operate on an archive, its dists directory must be in the archive root. So we move the backup dists directory to a working location below the archive root just for publish-distro. This method composes the temporary path.