Comments (9)
Would Hash::MultiValue be useful here?
from dist-zilla.
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.
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.
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.
Well volunteered? :-)
from dist-zilla.
Well volunteered? :-)
Feedback welcome.
from dist-zilla.
Great start. I've opened up tickets there for my feedback.
from dist-zilla.
The meta-merging code now exists, so presumably what remains is for someone to make DZ use it.
from dist-zilla.
Yes, this is #334 :)
from dist-zilla.
Related Issues (20)
- AutoPrereqs should scan xt/author/ and xt/release/ to report Prereqs/DevelopRequires deps [rt.cpan.org #77359]
- AutoPrereq + "use feature 'foo'" adds feature.pm as a dependency [rt.cpan.org #78151]
- [PATCH] PkgVersion: Don't attempt to munge FromCode files [rt.cpan.org #78368]
- authordeps should not output filtered modules [rt.cpan.org #78962]
- Error Handler for config.ini errors suppresses root cause [rt.cpan.org #80113]
- AutoPrereq + "use feature 'foo'" adds feature.pm as a dependency [rt.cpan.org #81309] HOT 3
- GatherDir uses exclude_filename as a regex, causing files to be excluded incorrectly [rt.cpan.org #81492]
- Plugin::Filter can't pass multivalued options to bundle [rt.cpan.org #81958]
- Logging messages log to standard output [rt.cpan.org #82853]
- [PATCH] PluginBundle::Easy: add "log" and "log_fatal" methods [rt.cpan.org #135305]
- Dist::Zilla::Tester dies when run from a read-only working directory
- Broken dependency specification HOT 7
- CPANFile Plugin Creating Two cpanfiles HOT 5
- dzil build --in disables tarball generation HOT 5
- Escape sequences aren't displayed properly on Windows
- The signatures feature is experimental HOT 4
- Feature request: support getting PAUSE credentials from environment variables HOT 1
- dzil setup gives 'uninitialized...' warning if PAUSE password is not specified
- dzil build does not write to tar.gz HOT 1
- listdeps --cpanm-versions returns the version number not in the documented format HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dist-zilla.