by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Simon Cozens
    @simoncozens
    Right.
    Caleb Maclennan
    @alerque
    Hence why it's mostly up to packagers to include them all. And I missed it not just putting together that Formula but Arch and Void too.
    Simon Cozens
    @simoncozens
    OK, off we go again. This time the formula built for me.
    Caleb Maclennan
    @alerque
    No I didn't, it's there in Arch....holdover from before. It should have been in the Homebrew Formula already too, 0.9.x needed it too!
    brew test / brew audit?
    Simon Cozens
    @simoncozens
    Audit was happy. test is being silly:
    $ brew test sile -v
    Error: Testing requires the latest version of sile
    Caleb Maclennan
    @alerque
    What does that even mean?
    That's after an install? It doesn't understand semver?
    Simon Cozens
    @simoncozens
    Got it. It's getting its idea of "latest version" from the installed formula (/usr/local/Cellar/...), whereas I was hacking on your formula in another place, so it thought that latest was still 0.9.1.
    Copy in your formula and tests pass. Check all the boxes!
    Caleb Maclennan
    @alerque
    Docker images are coming along nicely. SILE is going to be a cake walk; CaSILE is going to be a bit more troublesome because ⓐ it has graphics stuff for covers that have huge dependency chains like xorg (I'll probably start with a stripped down version just for doing book interiors and gradually upgrades its capabilities) and ⓑ my hackery on Pandoc is in bad shape and not upstreamed. I guess I'm going to have to brush up on my Haskell.
    Simon Cozens
    @simoncozens
    Very nice.
    Caleb Maclennan
    @alerque
    Nevermind. Its' not coming along nicely, it works. I just passed an XML file to a docker run command and got a PDF back!
    I'm not going to push the images to Docker Hub just yet because I haven't cleaned up and stripped down the image and it currently has a lot of install and compile artifacts I can remove and leave just the working sile behind.
    Simon Cozens
    @simoncozens
    Wait, you got CaSILE on there as well (in six minutes?)
    Caleb Maclennan
    @alerque
    No, just sile.
    Simon Cozens
    @simoncozens
    Ah OK. :-)
    Caleb Maclennan
    @alerque
    And I'm out of time to finish off the cleanup and it's really hard to downsize what is in images later. I'll clean it up before pushing images, but you can try it out yourself.
    Clone the repo, run make sile, wait for it to assemble the image (takes a while), then:
    docker run -it --volume "$(pwd):/data" --user $(id -u):$(id -g) siletypesetter/sile:v0.10.0 input.sil
    Caleb Maclennan
    @alerque
    Really that was all the work on the build system and deps for v0.10.0 paying off, it would not have been so easy if the distro packaging wasn't so hashed over.
    Caleb Maclennan
    @alerque

    Docker builds off of master are fully automatic and working now.

    $ docker run -it siletypesetter/sile:master --version
    SILE v0.10.0.r31-g8474b80

    Docker seems to fetch remote images on run if they don't exist locally, but not refresh them on run. You explicitly update to the latest with docker pull siletypesetter/sile:master. But of course you can use tagged versions like v0.10.0 and latest (for the last build tag) too in place of master.

    I'd love to make the docker builds a required check on PRs, but the build time is too much for me right now. Builds take ~20-22 minutes, but the queue is often backlogged and jobs often don't even start for over half an hour, so I think we'll just have to settle for whatever their status is when they come in. Mostly if the regular tests pass unless you messed with the install functions, added dependencies, or similar they shouldn't break.
    Caleb Maclennan
    @alerque
    Actually there is hope for the build times. I've been working on the image and the system dependencies, which forces it to rebuild the base image a lot. Changes just to sile don't even come into place until after a base image is setup, and it looks like that part might end up being relatively fast (~10 min range), so we'll have to see. For now it's just optional.
    Now, back to Haskel for Pandoc so I can setup CaSILE.
    Caleb Maclennan
    @alerque
    @simoncozens I'm tempted to push through a v0.10.1 release today.
    The two main changes for warrent a point release would be:
    1. Fixing the typesetter pushHbox regression that let to SIL's error in fontproof just so nobody else runs into that.
    2. Getting the warning messages activated on all the things we deprecated, that was kind of an oversight on my part.
    Thoughts?
    Simon Cozens
    @simoncozens
    That sounds like a good idea.
    Caleb Maclennan
    @alerque
    Okay. Let me see if I can get Docker cooperating again.
    I wish we could iron things out for BSD people, but it's unclear to me what the deal is there.
    Simon Cozens
    @simoncozens
    Doing the homebrew dance now.
    Caleb Maclennan
    @alerque
    Somebody with repo access just marked my PR as ready for review.
    Simon Cozens
    @simoncozens
    Fair enough. I mean, it works on their CI so it's going to work on my box too.
    So it does work, and you can tick all the other boxes.
    Caleb Maclennan
    @alerque
    So the only thing that doesn't go according to the release checklist right now is you have to unblock administrators pushing to the master branch to get the push --tags through to master without going through the PR checks.
    I'm tempted to just leave it like that for now with the idea being relaxing that workflow is bad for our own health in all cases except actual release. Maybe someday I'll fix it so Actions actually builds the release then we won't have to worry about the clean / make / make relase / make dist / push / push --tags dance.
    It's not hard, but it's routine enough it should be automated.
    But it's not my top priority at the moment. I need to get CaSILE back in the game, I have books projects that are languishing and a new publishing imprint that needs CI builds...
    Caleb Maclennan
    @alerque
    I started hacking on Pandoc Haskell in 2015 and it's still not in a condition to upstream... ugggg.
    Caleb Maclennan
    @alerque
    image.png
    Surprisingly painless to set up. Haven't actually got it successfully building yet, but it's close.
    Caleb Maclennan
    @alerque
    Spiffy.
    I make some serious headway learning Haskell today and the Sile Writer module is a lot cleaner that it's ever been. Still a ways go...
    Simon Cozens
    @simoncozens
    How do I edit milestones? There's a few things I want to make sure go in the next release.
    Oh, found it. It's just a list of issues, I thought there could be a checky box list of goodies too.
    Caleb Maclennan
    @alerque
    Ya just it's just a bin of issues.
    Probably do v0.11.0 for "next version" features/fixes, and v0.10.2/.x just for urgent regressions or packaging issues relevant to v0.10
    Caleb Maclennan
    @alerque
    image.png
    The rendering issues are legion, but I have enough commands and arguments mapped that Pandoc can export its own manual to SILE and SILE doesn't die trying to typeset it.