19 Feb 2019 |
Linda | dh_ucf(1) itself dates back to debhelper 8 or something with an open issue at Debian BTS, and I can't find any example package which would use it instead of calling ucf manually. | 05:54:30 |
Linda | I almost feel like creating a dummy config file and then overwriting it, but that does silly things | 05:56:21 |
Linda | https://blog.liw.fi/posts/debian-developing-it-wrong/ | 06:06:51 |
Linda | And yeah, I've read https://wiki.debian.org/ConfigPackages and many others | 06:10:33 |
Linda | But I'm also hardly set to configuration files from /etc/apt/*/* being symlinks (probably to /usr/share/matrix-archive-keyring/* . | 06:12:03 |
Linda | I also can't use debian/package.conffiles , because that's ignored with compat level 12. | 06:13:59 |
Linda | So I'm thinking this:
- symlink from apt dynamically to
/etc/matrix-archive-keyring/thingy
- install to
/usr/share/matrix-archive-keyring , disregarding conffiles
- ucf it to
/etc/matrix-archive-keyring/thingy
| 06:28:26 |
Linda | I could also use /usr/etc , I guess | 06:29:55 |
Linda | but that's what I'm not so sure about, apt could live there so I don't really | 06:30:21 |
Linda | I read https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710970 again and tested it. No support for debconf, sigh. | 07:28:19 |
Linda | Download matrix-archive-keyring_2015.12.09+debian0.14.tar.xz | 10:10:02 |
Linda | Maximus: Please test +debian0.14 very much. ☺
It should no longer overwrite config files without asking, while I also reduced the total source lines (632 → 540) including comments.
237 lines of code → 209 lines of code, and hopefully less bugs than ever. | 10:12:05 |
| * Linda should probably go to sleep now | 10:12:16 |
Linda | Redacted or Malformed Event | 10:12:38 |
Maximus | Will try later :) thanks | 10:14:58 |
Linda | Download 2019-02-19-101455_maim.png | 10:15:07 |
Linda | Download 2019-02-19-101500_maim.png | 10:15:10 |
Linda | Screenshots! | 10:15:35 |
Linda | Oh yeah, I did forget to remove the preferences file. | 10:17:17 |
Linda | Rewrote that part... | 10:17:21 |
Linda | when purging | 10:17:26 |
Linda | Download matrix-archive-keyring_2015.12.09+debian0.15.tar.xz | 10:22:16 |
Linda | That was a quick fix to apt purge | 10:22:29 |
| grin joined the room. | 11:05:39 |
tehnick | > Ah, sorry then. It depends on `debhelper (>=12)`.
I would suggest to use `debhelper (>= 12~)` in case if you will want to prepare package for debian-backports in the future. | 12:39:47 |
Linda | tehnick: Already did, see +debian0.14 or +debian0.15 attached. ☺
Thanks for pointing it out, found it today from debhelper(7) man page while mentioning the debhelper-compat (= 12) dependency. | 12:43:01 |
Linda | Actually, seems like I removed it entirely and replaced it with debhelper-compat (= 12) . | 12:44:34 |
Linda | That's a virtual package. | 12:44:42 |
20 Feb 2019 |
shirish | just shared about the new release https://itsfoss.com/riot-stable-release/ | 08:08:07 |
andrewsh | 👍 | 09:49:47 |