-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 13-10-15 17:33, Ruben Undheim wrote: > One thing I've learnt, is that "Maintainer scripts" are not really > straight forward... I've found a few issues while doing quite > extensive testing of the different upgrade paths from the previous > version of openstreetmap-carto.
Yes, getting maintainers script right when you manually create directories etc is a bit tricky to get right, but fortunately there are tools to help you with that. piuparts is invaluable to to get proper removal and purging right, its - --install-remove-install and --install-purge-install options are very helpful. > Another thing is that apparently directories cannot be replaced by > symbolic links during package upgrade unless some extra tweaking is > added to the postinst script. There is now a standard command provided by dpkg-maintscript-helper: dir_to_symlink pathname new-target [prior-version [package]] I strongly recommend to use this. http://manpages.debian.org/cgi-bin/man.cgi?query=dpkg-maintscript-helper > I've prepared a new package with all these things fixed. It is an > advantage if it is uploaded before the package completes its NEW > journey, but no crisis if not (considering the popcon data for > openstreetmap-carto which indicates that it's still fairly > unpopular). openstreetmap-carto has a low popcon because it's a very new package, its use will increase much more once it's included in the next stable release. > I'm sorry to waste your time, but if you have some available time > to upload this package, it would be appreciated. It's not wasted time, endlessly waiting for a sponsor qualifies better for that. Since there is no rush to get the latest changes uploaded, it's better to get some more improvements into the package like the use of dpkg-maintscript-helper. Also if you haven't done any piuparts testing of the package, that's a good thing to do before the upload too to not wait for the bug Andreas Beckmann will report about it. Kind Regards, Bas - -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWHW1iAAoJEGdQ8QrojUrxiVcP/20nRfxybAK+kSPox4W36IXZ ck9RSG0SZhaMw9n/+G/pLogpNsehXKB8rGrLqkiS21G1w3xgH3xr0H5NgmxCC+JF ONzhJPJSmCvftnUTo2EWBYsbrUzg3iQgZNQL6I8yl0hhEF3QCz7x0GG85Y5Zeq0J uxWVe+iM72jg6PyxlO2t7xPO7AjixrjWXAeGb8TS3cnqG7VETI3GQv+uDYnk0deE TB/J4LaaTP0yhtzmLhc7k8ueXB7noboJnL4ZkzX1TUSEqHods0nNj+JD0JIdChje 4lqId2RJvxpxUPW4Ka3jeGQLvo0Or88zDUfnAKIAz9cJpAd6dKDDDYOM5NLvE3Sv +B/mYtMs488Rk/q1NdRZ1aMeQum2K8vxndm5gESk7bQvpSBnUIQvpMY5J9zQu55f eJSCngwgtksADvSMgv56ZndbXu23tj6DWdPNBIaAG1UFjhZCp4G5ii0h6QFoUV8I 4ZMyUobEf5TUQh7L+5vSdRlTetZ49OamhMTuBoV/9sNDylw+6zA7HGvMIc25VFZa qk+T1/jBmzJAQU7HeVmENru88EvR20h7zXXUd8qSFUMt2e9B6YpZD11NX9/xHefM ZlBs45ft6BHv99Os/btbubURjKBjW57GpOwU/BzxGGsfSNDnUZigLA9YFujHpjpZ mUCG3oO+Gvz9vhSsMBb7 =s9nE -----END PGP SIGNATURE-----
