|
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 14 March 2016. |
|||
|
02: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 | ||
|
02:53
TimToady joined
|
|||
| ugexe | nine: github.com/ugexe/rakudo/commit/a3b...a7c3b328cd This is a working implementation (not sure if `resources` works right yet) `CompUnit::Repository::Install.new(:prefix(CompUnit::RepositoryRegistry.repository-for-name("site").prefix.absolute)).install(Distribution::Directory.new($dist-path), :force)` | 03:21 | |
| im not sure how to make it cleaner without removing the old implementation altogether | 03:23 | ||
| i was able to install and run `zef --help` after installing zef using it | 03:24 | ||
|
03:39
cognominal joined
03:53
cognominal joined
07:02
domidumont joined
07:07
domidumont joined
07:09
FROGGS joined
09:58
cognominal joined
10:18
cognominal joined
11:08
cognominal joined
11:23
cognominal joined
11:54
cognominal joined
13:24
cognominal joined
13:30
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 | ||
|
13:36
camelia joined
15:27
cognominal joined
16:04
TimToady joined
16:55
cognominal joined
|
|||
| ugexe | how much backwards compatability has to be maintained? for instance: how to change `Distribution`s to something that fits the interface based implementation (i.e. `Distribution` is currently a root namespace with Distribution::Interface a level higher... seems wrong)? | 17:10 | |
| Making an adaptee to use the current Distribution object with a different name is mostly simple enough. But ideally `Distribution` would be like `Meta::Struct` | 17:12 | ||
| nine | Well Distribution is currently a class but turning it into a role should be quite safe as the role gets punned into a class anyway | 17:16 | |
| ugexe | yeah, but its name would no longer fit what it is: a struct representation of a META6 (i.e. half of the Distribution::Interface) | 17:17 | |
| ecosystem only has 2 dists using Distribution.new (zef and panda). the roast only has a single instance of using `Distribution` that i can see (my $dist = Distribution.new(:name<Foo>)) | 17:20 | ||
|
17:21
Kassandry joined
|
|||
| ugexe | : / => 'Distribution.pm', /Distribution => 'Interface.pm', 'Directory.pm' # to clarify: it seems wrong to have an implementation at the root `/` while having another (non-inherited) implementation in its subdirectory next to the actual interface | 17:23 | |
| maybe it can be renamed to like Distribution::Struct, move Distribution::Interface to Distribution, and if the new Distribution is punned have it returned Distribution::Struct? | 17:59 | ||
| `class Foo { has %.bar; }; Foo.new.bar = :x(100)` # if this doesnt have to be supported anymore (note the lack of rw) the Distribution encapsulation would be easier | 18:10 | ||
|
18:11
FROGGS joined
18:18
patrickz joined
18:23
sufrostico joined
18:30
domidumont joined
|
|||
| nine | I'd just call your Distribution::Interface Distribution | 18:43 | |
| And I think we can do with Distribution pretty much whatever we want. There's just no point in trying to stay compatible there. | 18:44 | ||
|
19:21
sufrostico joined
19:49
sufrostico joined
20:01
sufrostico joined
20:10
cognominal joined
20:11
cognominal joined
20:28
domidumont joined
20:55
cognominal joined
21:02
sufrostico joined
22:39
sufrostico joined
|
|||