home.social

#pubgrub — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pubgrub, aggregated by home.social.

  1. I'm trying to understand / implement dependency resolving using the pubgrub algorithm (to use in my buildsystem nitto). But I keep running into bugs; The newset one:

    Suppose we have the following state:
    ```
    root 1.0.0 -> foo ^1.0.0, bar ^1.0.0
    foo 1.1.0 -> bar ^2.0.0
    foo 1.0.0 -> n/a
    bar 1.0.0 -> n/a
    bar 1.1.0 -> n/a
    bar 2.0.0 -> n/a
    ```

    Now after avoiding a conflict and by choosing to not select `foo 1.1.0` and deriving `not foo 1.1.0` from `{foo 1.1.0, not bar ^2.0.0}`, it derives `foo ^1.0.0` from `{root 1.0.0, not foo ^1.0.0}` even tho it is already an derivation term in the assignments! Aparentily it relates `not foo ^1.0.0` as as overlapping, and wants to add it again to the partial solution...

    #pubgrub #packagemanager #packagemanagement #dependencyresolution #programming #developing #coding #softwaredevelopment #foss #floss

  2. I'm trying to understand / implement dependency resolving using the pubgrub algorithm (to use in my buildsystem nitto). But I keep running into bugs; The newset one:

    Suppose we have the following state:
    ```
    root 1.0.0 -> foo ^1.0.0, bar ^1.0.0
    foo 1.1.0 -> bar ^2.0.0
    foo 1.0.0 -> n/a
    bar 1.0.0 -> n/a
    bar 1.1.0 -> n/a
    bar 2.0.0 -> n/a
    ```

    Now after avoiding a conflict and by choosing to not select `foo 1.1.0` and deriving `not foo 1.1.0` from `{foo 1.1.0, not bar ^2.0.0}`, it derives `foo ^1.0.0` from `{root 1.0.0, not foo ^1.0.0}` even tho it is already an derivation term in the assignments! Aparentily it relates `not foo ^1.0.0` as as overlapping, and wants to add it again to the partial solution...

    #pubgrub #packagemanager #packagemanagement #dependencyresolution #programming #developing #coding #softwaredevelopment #foss #floss

  3. I'm trying to understand / implement dependency resolving using the pubgrub algorithm (to use in my buildsystem nitto). But I keep running into bugs; The newset one:

    Suppose we have the following state:
    ```
    root 1.0.0 -> foo ^1.0.0, bar ^1.0.0
    foo 1.1.0 -> bar ^2.0.0
    foo 1.0.0 -> n/a
    bar 1.0.0 -> n/a
    bar 1.1.0 -> n/a
    bar 2.0.0 -> n/a
    ```

    Now after avoiding a conflict and by choosing to not select `foo 1.1.0` and deriving `not foo 1.1.0` from `{foo 1.1.0, not bar ^2.0.0}`, it derives `foo ^1.0.0` from `{root 1.0.0, not foo ^1.0.0}` even tho it is already an derivation term in the assignments! Aparentily it relates `not foo ^1.0.0` as as overlapping, and wants to add it again to the partial solution...

    #pubgrub #packagemanager #packagemanagement #dependencyresolution #programming #developing #coding #softwaredevelopment #foss #floss

  4. I'm trying to understand / implement dependency resolving using the pubgrub algorithm (to use in my buildsystem nitto). But I keep running into bugs; The newset one:

    Suppose we have the following state:
    ```
    root 1.0.0 -> foo ^1.0.0, bar ^1.0.0
    foo 1.1.0 -> bar ^2.0.0
    foo 1.0.0 -> n/a
    bar 1.0.0 -> n/a
    bar 1.1.0 -> n/a
    bar 2.0.0 -> n/a
    ```

    Now after avoiding a conflict and by choosing to not select `foo 1.1.0` and deriving `not foo 1.1.0` from `{foo 1.1.0, not bar ^2.0.0}`, it derives `foo ^1.0.0` from `{root 1.0.0, not foo ^1.0.0}` even tho it is already an derivation term in the assignments! Aparentily it relates `not foo ^1.0.0` as as overlapping, and wants to add it again to the partial solution...

    #pubgrub #packagemanager #packagemanagement #dependencyresolution #programming #developing #coding #softwaredevelopment #foss #floss

  5. @Abhi_Ram chuckling. I crave wings, beer and nachos after my #hikes. Like to think of it as a congratulatory #ABitOfKindness for my body, post #hike. #PubGrub

  6. As @getajobmike said, lots of great improvements in Bundler 2.4 but for me no longer having some of the most confusing output about dependency resolution blockers is a gigantic improvement, especially for less experienced folks who could feel paralyzed by the previous output on resolution failure. bundler.io/blog/2023/01/31/bun

    Thanks to David Rodríguez, @jhawthorn, and @nex3 for their incredibly helpful work.

    #ruby #bundler #pubgrub

  7. When I returned to the UK, gammon, egg & chips was one of the first #pubgrub dishes that I had to hunt down. I adore it and it is stupidly easy to cook at home once you have the timings sorted!

    krumpli.co.uk/gammon-egg-and-c