2 Jan 2019 |
richvdh | tbh having two packages with the same names but completely different structures sounds disasterous | 15:55:33 |
andrewsh | right | 15:55:56 |
andrewsh | I see what you mean | 15:56:00 |
richvdh | if people have both repos enabled then they could end up flipping back and forth between the two | 15:56:02 |
andrewsh | so | 15:56:16 |
andrewsh | you need to make sure people can transition to -py3 | 15:56:38 |
richvdh | well, we've tested the manual transition fairly well | 15:56:59 |
richvdh | and feedback has been positive | 15:57:05 |
andrewsh | it needs to Provides: matrix-synapse and I think Replaces: matrix-synapse | 15:57:17 |
andrewsh | in addition to the existing Conflicts | 15:57:47 |
richvdh | ok - is that preferable to a Depends in the other direction? | 15:58:19 |
andrewsh | it's orthogonal, to be honest | 15:58:44 |
andrewsh | and also you need to make sure Conflicts is versioned to be << than the first "dummy" matrix-synapse version | 15:59:22 |
andrewsh | wait | 15:59:33 |
andrewsh | no | 15:59:36 |
andrewsh | I need to think a bit more | 15:59:52 |
andrewsh | https://wiki.debian.org/PackageTransition | 16:00:43 |
richvdh | hrm this stuff is complicated | 16:03:39 |
andrewsh | so it will be Breaks: matrix-synapse (<< 0.34.0-0matrix2) | 16:04:28 |
andrewsh | also https://wiki.debian.org/RenamingPackages | 16:04:36 |
andrewsh | basically, you want the users to be able to: | 16:05:20 |
andrewsh |
- install matrix-synapse, get -py3
| 16:05:27 |
richvdh | right, but it probably ought to Conflict/Break with your packages too ? | 16:05:37 |
andrewsh |
- install -py3, get rid of old matrix-synapse
| 16:05:39 |
andrewsh | richvdh: sure, keep the versionless Conflicts too | 16:05:59 |
andrewsh | wait | 16:06:14 |
andrewsh | no, fine | 16:06:29 |
andrewsh | the trouble is that if you put incorrect Conflicts, the users won't be able to install -py3 when having non-py3 installed | 16:07:16 |
andrewsh | e.g. apt install …-py3 will resolve in apt braindumping dependencies onto them :) | 16:07:38 |
richvdh | :/ | 16:07:52 |