2022/03/06

2022-03-06 01:05:35 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net)
2022-03-06 01:21:47 +0100Tisoxin(~ikosit@user/ikosit)
2022-03-06 01:24:44 +0100seschwar(~seschwar@user/seschwar) (Quit: :wq)
2022-03-06 02:33:48 +0100amenonsen(~amenonsen@pitta.toroid.org) (Remote host closed the connection)
2022-03-06 02:35:14 +0100amenonsen(~amenonsen@pitta.toroid.org)
2022-03-06 02:37:00 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 256 seconds)
2022-03-06 03:22:26 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 245 seconds)
2022-03-06 03:50:47 +0100aplainzetakind(~johndoe@captainludd.powered.by.lunarbnc.net) (Read error: Connection reset by peer)
2022-03-06 03:50:55 +0100aplainze1akind(~johndoe@captainludd.powered.by.lunarbnc.net)
2022-03-06 04:05:06 +0100banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 272 seconds)
2022-03-06 04:25:05 +0100banc(banc@gateway/vpn/airvpn/banc)
2022-03-06 05:46:22 +0100mvk(~mvk@2607:fea8:5cc3:7e00::45ee) (Ping timeout: 260 seconds)
2022-03-06 05:54:04 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2022-03-06 05:54:06 +0100allbery_b(~geekosaur@xmonad/geekosaur)
2022-03-06 05:54:10 +0100allbery_bgeekosaur
2022-03-06 06:28:53 +0100bfrk(~Thunderbi@2001:9e8:340:300:af5a:d466:69c7:e8d4)
2022-03-06 06:46:07 +0100bfrk(~Thunderbi@2001:9e8:340:300:af5a:d466:69c7:e8d4) (Quit: bfrk)
2022-03-06 06:49:54 +0100iqubic(~iqubic@c-67-171-37-233.hsd1.wa.comcast.net)
2022-03-06 06:50:11 +0100 <iqubic> I currently have XMonad installed via these instructions: https://xmonad.org/INSTALL.html#build-using-cabal-install
2022-03-06 06:50:46 +0100 <iqubic> Is there analogous set of instructions for installing XMobar, or can I just grab that from cabal via "cabal install xmobar"?
2022-03-06 06:55:53 +0100bfrk(~Thunderbi@2001:9e8:340:300:af5a:d466:69c7:e8d4)
2022-03-06 07:14:37 +0100 <Solid> iqubic: if you don't want to use xmobar as a library (i.e., if you don't want a Haskell-based xmobar config) then just install it however you want
2022-03-06 07:15:00 +0100 <iqubic> I can have a haskell based xmobar config? How does that work?
2022-03-06 07:15:34 +0100 <iqubic> I'm just an ignorant woman when it comes to xmonad and xmobar.
2022-03-06 07:16:32 +0100 <Solid> basically like how having a Haskell-based xmonad config works :D (for example, https://codeberg.org/jao/xmobar-config or https://gitlab.com/slotThe/dotfiles/-/tree/master/xmobar/.config/xmobarrc )
2022-03-06 07:17:54 +0100 <iqubic> Is this better or worse than just using xmobarrc?
2022-03-06 07:20:28 +0100 <Solid> that sort of depends on your point of view
2022-03-06 07:20:59 +0100 <iqubic> How hard would it be to set up an xmobarrc.hs config file?
2022-03-06 07:21:08 +0100 <Solid> it's _better_ because it's now turing complete and you can do more stuff; it's _worse_ because... you can now do more stuff, which is probably unecessary given the nature of xmobar
2022-03-06 07:21:30 +0100 <iqubic> I like turing complete.
2022-03-06 07:22:07 +0100 <iqubic> I want to make an xmobarrc.hs. Is there a good reference for how to set this up and get xmonad talking to it?
2022-03-06 07:22:26 +0100 <geekosaur> ghc errormessages are a lotbetter than those of the parserxmobar uses for its config
2022-03-06 07:23:06 +0100 <Solid> that is true
2022-03-06 07:23:42 +0100 <iqubic> I want to make an xmobarrc.hs? How can I do that?
2022-03-06 07:23:55 +0100 <Solid> iqubic: there is an example config here https://github.com/jaor/xmobar/blob/master/examples/xmobar.hs but I don't think there's a tutorial yet
2022-03-06 07:25:04 +0100 <iqubic> Yeah, but how do I create a binary that runs with that config?
2022-03-06 07:26:20 +0100 <Solid> you can either give it to xmobar like a config file (xmobar ~/.xmobarrc.hs) or you can create a stack project just like with xmonad and directly compile it with your config (you then only need to call `xmobar`)
2022-03-06 07:27:40 +0100 <iqubic> I'd like to create a stack project. That seems easiest.
2022-03-06 07:35:17 +0100 <geekosaur> btw iqubic, if you didn't know, you can go to github and type "xmobar.hs" into the search box at the top left and see the xmobar.hs of everyone who has one. neat way to look at other people's configs
2022-03-06 07:35:30 +0100 <iqubic> That's really cool.
2022-03-06 07:35:33 +0100 <geekosaur> (since lots of people use github to store their dotfiles and such)
2022-03-06 07:35:53 +0100 <iqubic> First step is to make a stack project for xmonad/xmobar.
2022-03-06 07:35:57 +0100 <geekosaur> can also be interesting because if you go the xmobar.hs route you can define your own plugins
2022-03-06 07:36:08 +0100 <iqubic> I'd like that.
2022-03-06 07:36:11 +0100 <geekosaur> I think the tutorial even includes a simple "hello world" plugin example
2022-03-06 07:36:39 +0100 <iqubic> Yeah, but how do I run xmobar with a xmobarrc.hs file?
2022-03-06 07:37:10 +0100 <geekosaur> if you build an xmobar.hs using stack you can just run it. otherwise you pass your xmobar.hs as a config file
2022-03-06 07:37:17 +0100 <geekosaur> same as with an xmobarrc
2022-03-06 07:38:07 +0100 <iqubic> I'd like to build an xmobar.hs with stack. Do you have an example stack.yaml I can use?
2022-03-06 07:38:34 +0100 <geekosaur> I don't (I don't use xmobar), no
2022-03-06 07:39:27 +0100 <iqubic> What status bar do you use?
2022-03-06 07:40:16 +0100 <geekosaur> awww, I just did that search I mentioned and only got two hits, and neither uses stack :(
2022-03-06 07:40:31 +0100 <geekosaur> I run xmonad under MATE so I use mate-panel. I need to use dbus to talk to it
2022-03-06 07:40:41 +0100 <iqubic> That's sad. I did the same the thing and got the same results.
2022-03-06 07:41:29 +0100 <geekosaur> that xmobar feature has been around for a few years but it's too undocumented so barely anyone knows about it much less uses it
2022-03-06 07:42:22 +0100 <geekosaur> anyway my guess is you use a simple stack.yaml, have a cabal file that declares a dependency on xmobar, and just build it
2022-03-06 07:42:31 +0100 <geekosaur> shouldn't be any hidden tricks
2022-03-06 07:42:56 +0100 <geekosaur> you're just using xmobar as a library instead of as a program
2022-03-06 07:45:07 +0100 <Solid> indeed
2022-03-06 07:45:15 +0100 <Solid> also the two configs that I linked above are stack-based
2022-03-06 07:49:22 +0100 <iqubic> Is it possible to do this with only cabal?
2022-03-06 07:50:33 +0100 <geekosaur> anything you can do with stack you can also do with cabal. just need to put your constraints in the cabal file since you don't have a stack resolver constriaining things for you
2022-03-06 07:50:47 +0100 <iqubic> Right. I see.
2022-03-06 07:51:39 +0100 <iqubic> How do I create an executable from this cabal project?
2022-03-06 07:52:18 +0100 <geekosaur> cabal build, then either cabal install or use cabal find-bin to locate and copy the executable
2022-03-06 07:53:27 +0100 <iqubic> When I use spawnPipe in xmonad.hs, does that look executables on my user's $PATH?
2022-03-06 07:55:43 +0100 <geekosaur> yes
2022-03-06 07:56:23 +0100 <geekosaur> just be aware that that path won't usually have come from your shell dotfiles, because xmonad usually doesn;t get started via those
2022-03-06 07:56:46 +0100 <iqubic> I see.
2022-03-06 07:57:27 +0100 <geekosaur> (I use a simple wrapper script to start xmonad soit gets my full PATH: https://github.com/geekosaur/xmonad.hs/blob/skkukuk/start-xmonad)
2022-03-06 11:31:43 +0100seschwar(~seschwar@user/seschwar)
2022-03-06 15:49:42 +0100dartleader1(~dartleade@64.42.151.189)
2022-03-06 16:17:01 +0100mvk(~mvk@2607:fea8:5cc3:7e00::45ee)
2022-03-06 16:18:27 +0100Czernobog(~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-03-06 16:20:56 +0100Czernobog(~Czernobog@user/czernobog)
2022-03-06 16:35:45 +0100dartleader1(~dartleade@64.42.151.189) (Read error: Connection reset by peer)
2022-03-06 16:44:12 +0100dartleader1(~dartleade@64.42.151.189)
2022-03-06 16:55:31 +0100Czernobog(~Czernobog@user/czernobog) (Ping timeout: 256 seconds)
2022-03-06 17:19:28 +0100Czernobog(~Czernobog@user/czernobog)
2022-03-06 17:28:17 +0100marcello1(~mp@p200300dfaf10fe015baf6eed7f4ef68f.dip0.t-ipconnect.de)
2022-03-06 17:31:29 +0100 <marcello1> hey folks! I am running a distribution which is "installing system libraries with stack" and this seems to be 'a bad idea' according to the maintainers. Following the documentation there are references for distribution which offer proper implementation but apprently mine does not! Nevertheless, I do not want to switch my distri ;) I found a hint how to checkout the latest development branch. But am
2022-03-06 17:31:30 +0100 <marcello1> I missing how to install it properly? the README.md at github refers to either download through distribution or the latest gitsnapshot
2022-03-06 17:32:36 +0100 <Solid> marcello1: for example, INSTALL.md contains instructions for how to build with stack
2022-03-06 17:32:50 +0100 <Solid> https://xmonad.org/INSTALL.html
2022-03-06 17:32:56 +0100 <marcello1> is this the preferred way to install?
2022-03-06 17:33:05 +0100 <marcello1> I see tarballs with tags
2022-03-06 17:33:11 +0100 <marcello1> so many options :D
2022-03-06 17:33:14 +0100 <Solid> Yes, especially when your distro doesn't package xmonad
2022-03-06 17:33:29 +0100 <Solid> (it's more of a library than an application)
2022-03-06 17:33:35 +0100 <marcello1> ok I am not an HS expert. Is stack something like pip for python?
2022-03-06 17:33:42 +0100 <Solid> pretty much yes
2022-03-06 17:33:45 +0100 <marcello1> I see
2022-03-06 17:33:51 +0100 <marcello1> stack over tarbal?
2022-03-06 17:33:57 +0100 <Solid> definitely
2022-03-06 17:34:03 +0100 <marcello1> thanks Solid!
2022-03-06 17:34:17 +0100 <marcello1> so downloading stack then the library then compiling it and just run it?
2022-03-06 17:34:32 +0100 <Solid> the install page should have all the info you need
2022-03-06 17:34:39 +0100 <marcello1> great! Thanks a lot
2022-03-06 17:34:42 +0100 <Solid> if not feel free to ask here again :)
2022-03-06 17:35:07 +0100 <marcello1> hehe yeah! I am already overdue I need to have my machine up and running by tomorrow morning it is already evening ;)
2022-03-06 17:43:57 +0100 <marcello1> getting an error saying: No setup information found for ghc-8.10.7 on your platform.
2022-03-06 17:43:58 +0100 <marcello1> This probably means a GHC bindist has not yet been added for OS key 'linux64-ncurses6'.
2022-03-06 17:44:00 +0100 <marcello1> Supported versions: ghc-7.10.3, ghc-8.0.1, ghc-8.0.2, ghc-8.2.1, ghc-8.2.2
2022-03-06 17:44:25 +0100 <Solid> oh yeah you need to either use the system GHC or to symlink some ncurses library on Void
2022-03-06 17:45:00 +0100 <marcello1> I just saw I haven't installed GHC at all
2022-03-06 17:45:16 +0100 <Solid> stack will usually do this for you
2022-03-06 17:45:39 +0100 <marcello1> smart app
2022-03-06 17:46:33 +0100 <marcello1> the docu doesn't provide info to resolve what would you propose use system ghc or to symlinc the ncurses lib?
2022-03-06 17:46:38 +0100 <Solid> https://github.com/void-linux/void-packages/issues/7403
2022-03-06 17:46:43 +0100 <Solid> I think that's the issue
2022-03-06 17:46:51 +0100 <Solid> apparently it got fixed and you now only need to install a package
2022-03-06 17:47:01 +0100 <Solid> at the very bottom
2022-03-06 17:47:56 +0100 <marcello1> indeed
2022-03-06 17:47:59 +0100 <marcello1> so 3 solutions
2022-03-06 17:48:21 +0100 <marcello1> nevertheless installing xmonad from the packages worked without a problem
2022-03-06 17:50:12 +0100 <marcello1> well I do not need to run the installer as root do I?
2022-03-06 17:50:32 +0100 <Solid> you do not
2022-03-06 17:50:55 +0100 <marcello1> ok I got some kind of error I run it again with verbose
2022-03-06 17:52:04 +0100 <marcello1> would you mind looking it this? (: https://paste.debian.net/1233189/
2022-03-06 17:53:31 +0100 <Solid> mh, seems like it fails while installing GHC
2022-03-06 17:53:48 +0100 <Solid> are you running the musl version of void? afaik GHC does not provide official binaries for that
2022-03-06 17:55:18 +0100 <marcello1> I see
2022-03-06 17:55:23 +0100 <marcello1> yes I am (as of now)
2022-03-06 17:55:41 +0100 <marcello1> let me quickly spin up a vm and check if it works there
2022-03-06 17:55:56 +0100 <Solid> in this case just install GHC system-wide and tell stack that by putting `system-ghc: true' in ~/.stack/config.yaml
2022-03-06 17:56:41 +0100 <Solid> you then need change the stack resolver to something that matches your system's GHC version (my GHC 8.10.7 PR is still a bit stalled, so that's not in the repos rn :/)
2022-03-06 17:57:21 +0100 <marcello1> what r u using?
2022-03-06 17:57:29 +0100 <marcello1> Ok I am reinstalling..
2022-03-06 17:57:55 +0100 <Solid> I'm also using Void on this laptop here (which is why I've been able to follow along with you ;)
2022-03-06 17:58:00 +0100 <marcello1> I uncommented the line with system wide - but same issue
2022-03-06 17:58:07 +0100 <marcello1> hehehe
2022-03-06 17:58:14 +0100 <marcello1> yes I really do love void.
2022-03-06 17:58:40 +0100 <marcello1> but I was considering using freebsd on my bus machine, but intel wifi still isn't working
2022-03-06 17:58:57 +0100 <marcello1> but I guess you are on glibc aren't youj
2022-03-06 17:59:07 +0100 <Solid> I am on musl as well actually
2022-03-06 17:59:56 +0100 <marcello1> I have severl problems with musl unfortunately with browsers
2022-03-06 18:00:05 +0100 <marcello1> also w/ FF :/
2022-03-06 18:30:43 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-03-06 18:48:10 +0100 <marcello1> Solid: too bad same error message
2022-03-06 18:48:19 +0100 <marcello1> so it was not related to musl
2022-03-06 19:06:10 +0100 <marcello1> ok well it tries to build hard but some error 'while using x11' without useful insights crashes the whole thing
2022-03-06 19:16:26 +0100 <marcello1> seems like I am missing libXss but I don't have it in the repo
2022-03-06 19:16:58 +0100 <geekosaur> it's libXScrenSaver
2022-03-06 19:17:03 +0100 <geekosaur> *XScrnSaver
2022-03-06 19:20:18 +0100 <marcello1> yes I just saw it :D but it does still throw the error that it does not find the .h file
2022-03-06 19:20:39 +0100 <marcello1> scrnsaver.h is required from libxss
2022-03-06 19:21:08 +0100 <marcello1> perhaps it is not where it expects it to be
2022-03-06 19:21:13 +0100 <geekosaur> http://54.37.137.89/pkgs.void/package/libXScrnSaver-devel
2022-03-06 19:21:25 +0100 <geekosaur> o.O so much for cut and paste
2022-03-06 19:22:13 +0100 <marcello1> ok the devel
2022-03-06 19:22:44 +0100 <marcello1> docu said: If you're getting build failures while building the X11 package it may be that you don't have the required C libraries installed. Depending on your system, this may be libX11-devel, or libxss.
2022-03-06 19:22:49 +0100 <marcello1> I try again with devel
2022-03-06 19:23:03 +0100 <geekosaur> yes but we can't know how *every* linux distribution packages things
2022-03-06 19:23:15 +0100 <geekosaur> some of them split runntime and devel packages, some use different names,...
2022-03-06 19:23:22 +0100 <marcello1> I see
2022-03-06 19:23:35 +0100 <marcello1> I know I know :)
2022-03-06 19:23:45 +0100 <marcello1> looking good now
2022-03-06 19:26:35 +0100 <marcello1> Xft >= .9 expected but not found although libXft and libXft-devel is installed
2022-03-06 19:26:52 +0100 <marcello1> is it something else than libXft?
2022-03-06 19:27:15 +0100 <geekosaur> that should be the right package, but it may be the wrong version
2022-03-06 19:27:39 +0100 <marcello1> 2.3.4
2022-03-06 19:29:02 +0100 <geekosaur> right, this will be a pkgconfig version number, not a package version, I think
2022-03-06 19:29:39 +0100 <geekosaur> hum, but that matches that version number
2022-03-06 19:31:00 +0100 <geekosaur> not a hackage version number either
2022-03-06 19:31:09 +0100 <geekosaur> Idon't know what would be looking for .9
2022-03-06 19:31:48 +0100 <geekosaur> pkgconfig-depends is unversioned, so it can't be that
2022-03-06 19:33:23 +0100 <marcello1> too bad
2022-03-06 19:33:31 +0100 <geekosaur> can you pastebin that section of the log?
2022-03-06 19:34:58 +0100 <marcello1> I wish but can't copy/paste from the VM
2022-03-06 19:35:17 +0100mvk(~mvk@2607:fea8:5cc3:7e00::45ee) (Ping timeout: 240 seconds)
2022-03-06 19:35:46 +0100 <geekosaur> :(
2022-03-06 19:37:11 +0100 <marcello1> got food now brb
2022-03-06 19:41:53 +0100marcello1(~mp@p200300dfaf10fe015baf6eed7f4ef68f.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
2022-03-06 20:11:29 +0100marcello1(~mp@p200300dfaf10fe015baf6eed7f4ef68f.dip0.t-ipconnect.de)
2022-03-06 20:25:44 +0100 <marcello1> it was missing another package
2022-03-06 20:26:08 +0100 <marcello1> I have to write down which packages are needed :D when I install it on bare metal later
2022-03-06 20:28:39 +0100 <geekosaur> you might also consider a wiki entry somewhere, either ours or if void has a wiki, to help others with this
2022-03-06 20:29:50 +0100 <marcello1> I worked accordingly to the wiki of xmonad
2022-03-06 20:30:08 +0100 <marcello1> but it was sometimes hard to (for me) to read the error messages at compiling
2022-03-06 20:30:40 +0100 <marcello1> but I can provide the exact packages later if this would be of any need
2022-03-06 20:30:49 +0100 <marcello1> xmonad is running now
2022-03-06 20:30:57 +0100 <geekosaur> yay!
2022-03-06 20:33:05 +0100 <marcello1> thanks for your help @all
2022-03-06 20:37:19 +0100 <marcello1> so once I build it from the git repo according to the manual - what is the best strategy to keep xmonad up to date?
2022-03-06 20:37:49 +0100mvk(~mvk@2607:fea8:5cc3:7e00::45ee)
2022-03-06 20:38:55 +0100 <geekosaur> that's up to you. I have a script that updates hackage and my forks of xmonad and xmonad-contrib, then rebuilds locally
2022-03-06 20:40:09 +0100 <geekosaur> https://paste.tomsmeding.com/F6cpxUOH
2022-03-06 20:40:49 +0100 <geekosaur> suppose if I wanted to I could automate the update of my github forks too, but I CBA
2022-03-06 20:41:09 +0100 <geekosaur> (you could skip that part; I'm an active developer so I have my own forks to develop on)
2022-03-06 20:42:23 +0100 <marcello1> hehe
2022-03-06 20:42:53 +0100 <marcello1> the mentioned git clone is not point based (releases) is it?
2022-03-06 20:43:13 +0100 <marcello1> I am only interested in major bug fixes or security issues
2022-03-06 20:43:15 +0100 <geekosaur> nope. you could clone a release branch but those don't usually change after being branched
2022-03-06 20:43:35 +0100 <marcello1> you mean the tarballs under tags?
2022-03-06 20:43:49 +0100 <geekosaur> and each release gets its own branch so a bug fix or security release would be a newpoint release branch
2022-03-06 20:45:09 +0100 <marcello1> you also update X11 X11-xft this way?
2022-03-06 20:45:17 +0100 <geekosaur> https://github.com/xmonad/xmonad/tree/v0.17.0
2022-03-06 20:45:30 +0100 <geekosaur> those are clones of the actual repos, not my own forks
2022-03-06 20:45:45 +0100 <geekosaur> I reserve the right to change that in the future but for now I don't develop on those
2022-03-06 20:45:51 +0100 <marcello1> ok
2022-03-06 20:46:15 +0100 <marcello1> but downloading from https://github.com/xmonad/xmonad/ is also considered stable?
2022-03-06 20:46:58 +0100 <geekosaur> dependson what branch you're on. if you are doing that while pointing to master, you'd get a tarball of master as it is at that point
2022-03-06 20:47:09 +0100 <geekosaur> the same thing you'd get with a git checkout
2022-03-06 20:47:31 +0100 <marcello1> I followed this guide: Download XMonad sources
2022-03-06 20:47:32 +0100 <marcello1> Still in ~/.config/xmonad, clone xmonad and xmonad-contrib repositories using git:
2022-03-06 20:47:34 +0100 <marcello1> $ git clone https://github.com/xmonad/xmonad
2022-03-06 20:47:36 +0100 <marcello1> $ git clone https://github.com/xmonad/xmonad-contrib
2022-03-06 20:47:48 +0100 <geekosaur> if you go to the pulldown above thefilelist on the left, you can select different tags
2022-03-06 20:47:56 +0100 <geekosaur> 0.17.0 would be the most recent release
2022-03-06 20:48:17 +0100 <marcello1> yes this would be with --branch v0.17 before https: ..I assume
2022-03-06 20:50:15 +0100 <geekosaur> it's a tag, not a branch, so I don't think that would work
2022-03-06 20:50:30 +0100 <marcello1> it is described at least on the download page
2022-03-06 20:50:33 +0100 <geekosaur> this is also why I said you can't use it to track updates
2022-03-06 20:50:44 +0100 <marcello1> do you only need to recompile and not do stack install ?
2022-03-06 20:51:19 +0100 <geekosaur> I use cabal instead of stack; it does the reinstalls of xmonad and xmonad-contrib as needed
2022-03-06 20:51:29 +0100 <geekosaur> I presume stack does something similar
2022-03-06 20:51:48 +0100 <geekosaur> but the main focus of this update is for my xmonad.hs, not just for xmonad and contrib
2022-03-06 20:52:16 +0100 <marcello1> I see
2022-03-06 20:52:19 +0100 <geekosaur> when I xmonad--recompile, it invokes a build script that does the cabal updates for me
2022-03-06 20:52:33 +0100 <marcello1> sweet
2022-03-06 20:52:53 +0100 <marcello1> so you'd recommend to git clone the master branch or download the point release?
2022-03-06 20:53:10 +0100 <geekosaur> (currently I have to usea build scriptbecause there isn't direct cabal support for this, only minimal cabal support. there is built-in stack update logic that is used if you have a stack.yaml though)
2022-03-06 20:53:51 +0100 <geekosaur> that is up to you. if you get the point release you will need to update it manually, because we don't issue updates to a release after making it, we make a new release instead
2022-03-06 20:54:14 +0100 <geekosaur> we could run this differently but we really don't update often enough to bother with a more involved workflow
2022-03-06 20:54:51 +0100 <geekosaur> another project I'm involved with has release branches instead of tags, and you can use git to track those as they are updated; new releases are then tags on the original release branch
2022-03-06 20:55:21 +0100 <marcello1> ok what is the main point of the tags then? sorry this question is just because i don't understand not to point anything out
2022-03-06 20:55:49 +0100 <geekosaur> a tag is a bookmark on a branch, representing the state of that branch at a particular time
2022-03-06 20:55:55 +0100 <marcello1> I thought the tags are to be considered -> consitent and stable point .. and master is kinda more beta like?
2022-03-06 20:56:13 +0100 <marcello1> ah ok then it does not really make sense to use the tag if I compile from the source, right?
2022-03-06 20:56:23 +0100 <geekosaur> yes
2022-03-06 20:56:26 +0100 <marcello1> gotcha
2022-03-06 20:56:34 +0100theproffesor(~theproffe@2601:282:8202:4a10::8622)
2022-03-06 20:56:37 +0100 <geekosaur> unless you always want the latest development code. (I do but I'm a developer.)
2022-03-06 20:57:01 +0100 <marcello1> for that I would need to use another branch but master you mean?
2022-03-06 20:57:19 +0100 <geekosaur> as I mentioed,other projects use release branches; work is still done on master but bugfixes and the like get cherry-picked (git actually calls it that) to release branches as needed
2022-03-06 20:57:30 +0100 <geekosaur> there's onnly the one branch here
2022-03-06 20:58:11 +0100 <geekosaur> you wouldonly use a different branch if you were actively developing something; in the end you would turn your branch into a pull request, which if accepted would eventually be merged back into master
2022-03-06 20:58:23 +0100 <marcello1> then I did not understand the last message :D I don't need the latest, but I was thinking maybe it is nevertheless easier to just checkout the master branch instead of downloading the release tags
2022-03-06 20:58:43 +0100 <geekosaur> it is easier to keep up to date, it's just going to have more than you want
2022-03-06 20:58:50 +0100 <marcello1> I always wanted to learn haskel since I am used to programm in OOP
2022-03-06 20:59:07 +0100 <marcello1> the perhaps I could contribute later something ;)
2022-03-06 20:59:10 +0100 <marcello1> so*
2022-03-06 21:00:02 +0100 <geekosaur> you *could* track master but switch tags as new ones are added; this requires a littl extra setup but would let you split the difference. it would still require manually switching tags to get updates though
2022-03-06 21:00:45 +0100 <geekosaur> the branch-based release mechanism would probably work somewhat better for you, but it's more work on our part and not really justified because we have few commits and don't make releases often
2022-03-06 21:01:03 +0100 <geekosaur> the other project I'm involved with that uses release branmches has more commits in a day than we have in a month :)
2022-03-06 21:02:03 +0100 <marcello1> seems like just cloning the git repo and running recompile should also do the trick with stack: https://paste.debian.net/1233211/
2022-03-06 21:02:10 +0100 <geekosaur> also, even woith release branches, you would nbeed to manually switch branches with every major release
2022-03-06 21:02:18 +0100 <marcello1> yes
2022-03-06 21:02:37 +0100 <geekosaur> you would only get the minor releases/bugfixes/security etc. automatically
2022-03-06 21:02:44 +0100 <marcello1> I saw you have X11 and X11-xft also in your script
2022-03-06 21:03:04 +0100 <geekosaur> you probably don't need them. again that's because I'm a developer
2022-03-06 21:03:17 +0100 <marcello1> I thought so so you have the latest from the developers
2022-03-06 21:03:22 +0100 <geekosaur> and sometimes an unreleased xmonad needs unreleased versions of those
2022-03-06 21:03:37 +0100 <geekosaur> most recently that happened before 0.17.0 with X11-xft
2022-03-06 21:03:39 +0100 <marcello1> makes sense
2022-03-06 21:03:47 +0100 <liskin> the only reason we don't currently have release branches is because we don't need to; I'm sure that if we actually needed to do a point release while having breaking changes in master, we'd just create a branch for the time being; there's absolutely nothing preventing us from doing it whenever
2022-03-06 21:04:21 +0100 <marcello1> geekosaur: what happend? just didn't build or did it break enterily and was not able to run anymore?
2022-03-06 21:05:03 +0100 <geekosaur> compile error, iirc because we changed an API to produce an error return instead of throwing an exception
2022-03-06 21:05:04 +0100 <marcello1> liskin: thanks! yes I use Linux to long with just binary distribution I perhaps build 10 apps from source so I guess my questions are kinda offtopic
2022-03-06 21:05:48 +0100 <marcello1> geekosaur: ok :D I was affraid I would break my xmonad after updating ;)
2022-03-06 21:06:00 +0100 <geekosaur> we try very hard to avoid that :)
2022-03-06 21:06:08 +0100 <marcello1> I am happy to read this :D
2022-03-06 21:06:16 +0100 <geekosaur> we gotit wrong once, once was enough
2022-03-06 21:06:34 +0100 <marcello1> hehe
2022-03-06 21:12:22 +0100 <geekosaur> (espoecially since it bit us twice: once directly because we missed some refactorings due to the typeof getWindowAttributes not changing, then a second time because a rolling-release distro maintainer decided to update X11 without updating xmonad or contrib. all of which resulted in lots of crashing)
2022-03-06 21:16:54 +0100dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-03-06 21:57:18 +0100dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
2022-03-06 22:20:15 +0100dartleader1(~dartleade@64.42.151.189) (Quit: WeeChat 3.3)
2022-03-06 22:20:32 +0100dartleader(~dartleade@64.42.151.189)
2022-03-06 23:08:37 +0100werneta_(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
2022-03-06 23:10:31 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)