Giter VIP home page Giter VIP logo

Comments (6)

mdboom avatar mdboom commented on June 5, 2024

I'd think let's version pin glean_parser for now. (Option 1)

For Option 3, We already include the version in the metrics.yaml file, but we're not versioning the schema yet while we're in "cowperson development" mode. Once we start semantic versioning the metrics.yaml schema, we should hopefully get that for free.

from probe-scraper.

fbertsch avatar fbertsch commented on June 5, 2024

Currently we ignore historical metrics.yaml files that are not compatible with the current version of glean_parser.

from probe-scraper.

mdboom avatar mdboom commented on June 5, 2024

Now that Fenix is about to enter feature freeze, it seems like a good time to stop making breaking changes in glean_parser (whatever that might mean) so going forward it can handle any valid metrics.yaml -- which might imply versioning metrics.yaml etc.. Does that make sense?

from probe-scraper.

fbertsch avatar fbertsch commented on June 5, 2024

@mdboom that does make sense. What I would prefer is for the probe-scraper not to have to deal with any of that, and instead have the metrics.yaml contain an optional version inside of it somewhere (ala circleci) and then the glean_parser be able to handle the version itself. Does that seem reasonable?

Either way, we should have a proposal for this.

from probe-scraper.

mdboom avatar mdboom commented on June 5, 2024

Yeah, that sounds like the right approach (in broad strokes).

from probe-scraper.

Dexterp37 avatar Dexterp37 commented on June 5, 2024

@mdboom that does make sense. What I would prefer is for the probe-scraper not to have to deal with any of that, and instead have the metrics.yaml contain an optional version inside of it somewhere (ala circleci) and then the glean_parser be able to handle the version itself. Does that seem reasonable?

Either way, we should have a proposal for this.

There's a third path, which is what the current Desktop parsers do. Parsers can have 2 modes: strict (for things at build time) and relaxed (for parsing out of build time). I'm not saying this is better, just calling it out :)

I'm with @fbertsch on this, I have the feeling that consumers don't need to care about metrics.yaml versioning, that should be an implementation detail for the glean_parser.

This sounds like something for Q3+?

from probe-scraper.

Related Issues (20)

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.