News for hackers. Stuff that matters.
Re: by glandium on Tuesday November 15, 2022 @06:16PM (#33616576)
From the build instructions for sapling: "It can be built by running make oss in the eden/scm directory"
Re: by mdaniel on Tuesday November 15, 2022 @09:51PM (#33618220)
Holy hell, did they manually recreate meson? a 1700 line setup.py ... https://github.com/facebook/sapling/blob/main/eden/scm/setup...

It's a pet peeve of mine folks that use python subprocess as a replacement for bash because it takes special discipline to not eat stdout and stderr, or to correctly try:finally: to show the Proc details before the raise eats the variable

Re: by bitexploder on Tuesday November 15, 2022 @11:02PM (#33618684)
Use python doit system if you need what this setup.py is doing. Its a great task and build system.
Re: by glandium on Wednesday November 16, 2022 @01:23AM (#33619585)
I hadn't looked at the eden/scm directory, but they didn't even bother to change the README to not say "Mercurial" https://github.com/facebook/sapling/tree/main/eden/scm