Giter VIP home page Giter VIP logo

floxmeta's People

Contributors

limeytexan avatar

Watchers

 avatar

floxmeta's Issues

Find references to pname in floxEM, and use attributePath instead

In our modules where we reference stability.channel.attrpath we are instead using pname. Examples

https://github.com/flox/floxEM/blob/main/floxEM/environments.py#L974

https://github.com/flox/floxEM/blob/main/floxEM/environments.py#L1012

The problem is that we want to use this pname as an identifier to perform operations like pausing upgrades. However, the pname value is not consistent and changes over time

examples

https://github.com/NixOS/nixpkgs/blob/81b0104d8512c7a4dfda701aaa613e4db064752a/pkgs/applications/graphics/hello-wayland/default.nix#L6C34-L6C34

https://github.com/NixOS/nixpkgs/blob/50ea1ba37d34de46c53f909c28f2da712d1bfe94/pkgs/applications/graphics/hello-wayland/default.nix#L7

This is causing the errors we are seeing in this issue

https://app.zenhub.com/workspaces/flox-engineering-6380b504813d442db8cea674/issues/gh/flox/floxem/164

To fix this issue, it is proposed to replace pname with attrPath data that is returned from flox list --json (extracting the the name from the system.stability tuple)

And where we are parsing and using catalog data, we propose to use the attPath name there, again extracting it from the list of items, or from the nested values in the json object.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.