Page MenuHomePhabricator

Create temp and config directories at the installation time of transferpy deb package
Closed, ResolvedPublic

Description

The transferpy is a package used for database backup and recovery. At the time of installation of transferpy deb package, it should automatically create the directories for the following future use-cases.

  • A directory to save port reservation and checksum files.
  • A directory for configuration files.

Event Timeline

Change 612162 had a related patch set uploaded (by Privacybatm; owner: Privacybatm):
[operations/software/transferpy@master] transferpy: Create required directories at the time of deb installation

https://gerrit.wikimedia.org/r/612162

Change 612162 merged by jenkins-bot:
[operations/software/transferpy@master] transferpy: Create required config directory at the time of deb installation

https://gerrit.wikimedia.org/r/612162

We agreed temp cannot be created at install time as the temp directories are created on the remote hosts, not the place where the package is installed.