|
Fire is step THREE! | github.com/perl6/toolchain-bikeshed | Channel logs: irclog.perlgeek.de/perl6-toolchain/today | useful prior art: metacpan.org/pod/CPAN::Meta::Spec Set by moderator on 19 July 2016. |
|||
|
01:48
ilbot3 joined
|
|||
| moderator | Fire is step THREE! | github.com/perl6/toolchain-bikeshed | Channel logs: irclog.perlgeek.de/perl6-toolchain/today | useful prior art: metacpan.org/pod/CPAN::Meta::Spec | ||
|
03:15
TimToady joined
06:48
domidumont joined
06:53
domidumont joined
08:51
tadzik joined
14:21
ribasushi joined
|
|||
| ugexe | i think part of the confusion may be the repo format. the files don't need to go into separate directories because everything gets rooted with its entire relative path part against the Distribution (a root), and further rooted against a higher authority of a CUR (and so on). so Distribution + CUR already represent a flattened merkle tree | 14:24 | |
| well i guess its not that easy, because resources creates sha1 ids on the name-path and not the original relative path and modules on the name instead of the path as well. but that could be worked around with another lookup table | 14:27 | ||
| so %files would be a kv of every single file installed (original path => mangled path) and an additional %links that is for name-path => path conversion { "Module::Name" => "lib/Module/Name.pm6", "library/p5helper" => "library/libp5helper.so" } | 14:35 | ||
| %files{%links<library/p5helper>} # So indirect lookup ends up like this | 14:36 | ||
| and by creating file-ids by the relative file path only (instead of names) you don't end up with the same file 10 times when your meta provides is like { "TAP" : "lib/TAP.pm6", "TAP::Harness" : "lib/TAP.pm6", "TAP::XXX" : "lib/TAP.pm6" } | 14:43 | ||
| not sure how to adjust the fast module name lookup sha1 stuff for that though without having to open the meta file | 14:44 | ||
| ah yes i did a similar implementation before when i cleaned up CURI.install. Putting all the `provides` in %files gist.github.com/ugexe/c5a74134164b...on-pm6-L23 | 14:55 | ||
|
16:38
domidumont joined
16:55
ribasushi joined
17:30
FROGGS joined
18:11
domidumont joined
22:01
stmuk_ joined
23:13
TimToady joined
|
|||