!cApDlsILLZkmAyVoxe:matrix.org

Matrix on Debian

232 Members
https://wiki.debian.org/Matrix86 Servers

Load older messages


SenderMessageTime
19 Feb 2019
@lindalap:matrix.orgLinda

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
@lindalap:matrix.orgLinda

I almost feel like creating a dummy config file and then overwriting it, but that does silly things

05:56:21
@lindalap:matrix.orgLinda

https://blog.liw.fi/posts/debian-developing-it-wrong/

06:06:51
@lindalap:matrix.orgLinda

And yeah, I've read https://wiki.debian.org/ConfigPackages and many others

06:10:33
@lindalap:matrix.orgLinda

But I'm also hardly set to configuration files from /etc/apt/*/* being symlinks (probably to /usr/share/matrix-archive-keyring/*.

06:12:03
@lindalap:matrix.orgLinda

I also can't use debian/package.conffiles, because that's ignored with compat level 12.

06:13:59
@lindalap:matrix.orgLinda

So I'm thinking this:

  1. symlink from apt dynamically to /etc/matrix-archive-keyring/thingy
  2. install to /usr/share/matrix-archive-keyring, disregarding conffiles
  3. ucf it to /etc/matrix-archive-keyring/thingy
06:28:26
@lindalap:matrix.orgLinda

I could also use /usr/etc, I guess

06:29:55
@lindalap:matrix.orgLinda

but that's what I'm not so sure about, apt could live there so I don't really

06:30:21
@lindalap:matrix.orgLinda

I read https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710970 again and tested it. No support for debconf, sigh.

07:28:19
@lindalap:matrix.orgLindaDownload matrix-archive-keyring_2015.12.09+debian0.14.tar.xz10:10:02
@lindalap:matrix.orgLinda

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
* @lindalap:matrix.orgLinda

should probably go to sleep now

10:12:16
@lindalap:matrix.orgLindaRedacted or Malformed Event10:12:38
@max:kamax.ioMaximusWill try later :) thanks10:14:58
@lindalap:matrix.orgLinda2019-02-19-101455_maim.png
Download 2019-02-19-101455_maim.png
10:15:07
@lindalap:matrix.orgLinda2019-02-19-101500_maim.png
Download 2019-02-19-101500_maim.png
10:15:10
@lindalap:matrix.orgLinda

Screenshots!

10:15:35
@lindalap:matrix.orgLinda

Oh yeah, I did forget to remove the preferences file.

10:17:17
@lindalap:matrix.orgLinda

Rewrote that part...

10:17:21
@lindalap:matrix.orgLinda

when purging

10:17:26
@lindalap:matrix.orgLindaDownload matrix-archive-keyring_2015.12.09+debian0.15.tar.xz10:22:16
@lindalap:matrix.orgLinda

That was a quick fix to apt purge

10:22:29
@grin:grin.hugrin joined the room.11:05:39
@tehnick:matrix.orgtehnick> 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
@lindalap:matrix.orgLinda

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
@lindalap:matrix.orgLinda

Actually, seems like I removed it entirely and replaced it with debhelper-compat (= 12).

12:44:34
@lindalap:matrix.orgLinda

That's a virtual package.

12:44:42
20 Feb 2019
@shirish:matrix.orgshirishjust shared about the new release https://itsfoss.com/riot-stable-release/08:08:07
@andrewsh:matrix.organdrewsh👍09:49:47

Show newer messages


Back to Room ListRoom Version: