Git Product home page Git Product logo

Comments (9)

karenetheridge avatar karenetheridge commented on August 26, 2024

Would Hash::MultiValue be useful here?

from dist-zilla.

 avatar commented on August 26, 2024

No, it really needs a deep merge.

IIRC, the spec requires array ref anywhere lists are possible, so it should
be safe to add lists.

Possibly, dzils metadata plugin model is wrong and each should get an
opportunity to modify the full hash instead of trying to naively aggregate.

Otherwise, list adding is going to lose sort, which sort of sucks.

David
On Mar 17, 2013 5:28 PM, "Karen Etheridge" [email protected] wrote:

Would Hash::MultiValue be useful here?


Reply to this email directly or view it on GitHubhttps://github.com//issues/151#issuecomment-15031289
.

from dist-zilla.

 avatar commented on August 26, 2024

I suggest Hash::Merge.

It still will lose sorting of array merges, but, oh, well, I'd rather have half a solution than none.

from dist-zilla.

Leont avatar Leont commented on August 26, 2024

I'd suggest we come up with a CPAN::Meta::Merge.

Instead of a one-size-fits-all approach, a more tailored solution might give better results. This issue comes up in pretty much any place that generates meta files, a generic solution may be worth it.

from dist-zilla.

 avatar commented on August 26, 2024

Well volunteered? :-)

from dist-zilla.

Leont avatar Leont commented on August 26, 2024

Well volunteered? :-)

Sure

Feedback welcome.

from dist-zilla.

 avatar commented on August 26, 2024

Great start. I've opened up tickets there for my feedback.

from dist-zilla.

rjbs avatar rjbs commented on August 26, 2024

The meta-merging code now exists, so presumably what remains is for someone to make DZ use it.

from dist-zilla.

karenetheridge avatar karenetheridge commented on August 26, 2024

Yes, this is #334 :)

from dist-zilla.

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.