Giter Site home page Giter Site logo

oddmuse6's Introduction

oddmuse6's People

Contributors

alexdaniel avatar kensanata avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

oddmuse6's Issues

“Changes” endpoint errors out with `Cannot resolve caller INTERPOLATE`

Not sure if it's a regression in Cro or Rakudo itself, but:

⚠ test Cannot resolve caller INTERPOLATE(Match:D: Str:D, BOOTInt, BOOTInt, BOOTInt, BOOTInt, VMNull); none of these signatures match:
⚠ test     (Match: Callable:D \var, $, $, $, $, $, *%_)
⚠ test     (Match: Iterable:D \var, int \im, int \monkey, int \s, $, \context, *%_)
⚠ test     (Match: Associative:D \var, int \im, $, $, $, \context, *%_)
⚠ test     (Match: Regex:D \var, int \im, int \monkey, $, $, $, *%_)
⚠ test     (Match: Mu:D \var, int \im, int \monkey, $, $, \context, *%_)
⚠ test     (Match: Mu:U \var, $, $, $, $, $, *%_)
⚠ test   in regex  at /home/alex/git/oddmuse6/test/lib/.precomp/68B6B14FCFBE9E273DA2C05846BA76C4C305927C/38/382155EF68DB72479CC0E8FD44EE2D740827E47C line 1
⚠ test   in block  at /home/alex/git/oddmuse6/test/../lib/Oddmuse/Routes.pm6 (Oddmuse::Routes) line 43
⚠ test   in regex  at EVAL_133 line 1
⚠ test   in block  at /home/alex/.rakudobrew/moar-master/install/share/perl6/site/sources/EA7F59C097F10A9E1DC914FD54A0F0947A7E51C8 (Cro::HTTP::Router) line 217
⚠ test   in block  at /home/alex/.rakudobrew/moar-master/install/share/perl6/site/sources/1F5D8331AC3C3C7EF5EC75A84AC3D545846FAE2C (Cro::HTTP::Internal) line 22
⚠ test   in block  at /home/alex/.rakudobrew/moar-master/install/share/perl6/site/sources/8E7C5041D3CF824E9809195923854B450FCEB484 (Cro::HTTP::RequestParser) line 119
⚠ test   in block  at /home/alex/.rakudobrew/moar-master/install/share/perl6/site/sources/8E7C5041D3CF824E9809195923854B450FCEB484 (Cro::HTTP::RequestParser) line 52
⚠ test   in block  at /home/alex/.rakudobrew/moar-master/install/share/perl6/site/sources/F048BB66854D2463798A39CC2B01D4CC1532F957 (Cro::TCP) line 53

It happens here:

get -> 'view', $id where / $changes / {
content 'text/html', view-changes(Oddmuse::Filter.new(n => 30));
}

I changed it to:

 get -> 'view', $id where $changes { 

And it started to work!

Tests are failing on latest zef and rakudo

  ~ zef install Oddmuse6
===> Searching for: Oddmuse6
===> Searching for missing dependencies: Algorithm::Diff
===> Testing: Algorithm::Diff
===> Testing [OK] for Algorithm::Diff
===> Testing: Oddmuse6:ver<0.0.4>:auth<kensanata>
[Oddmuse6] ===SORRY!===
[Oddmuse6] Could not find Oddmuse::Storage::File::Test at line 17 in:
[Oddmuse6]     file#/home/koto/.zef/store/Oddmuse-0.0.4.tar.gz/Oddmuse-0.0.4
[Oddmuse6]     file#/home/koto/.zef/store/Algorithm--Diff.git/3e2e24b4757506885a6ea6539d5f40c092389aa9
[Oddmuse6]     inst#/home/koto/.perl6
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/site
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/vendor
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/core
[Oddmuse6]     ap#
[Oddmuse6]     nqp#
[Oddmuse6]     perl5#
[Oddmuse6] ===SORRY!===
[Oddmuse6] Could not find Oddmuse::Storage::File::Test at line 17 in:
[Oddmuse6]     file#/home/koto/.zef/store/Oddmuse-0.0.4.tar.gz/Oddmuse-0.0.4
[Oddmuse6]     file#/home/koto/.zef/store/Algorithm--Diff.git/3e2e24b4757506885a6ea6539d5f40c092389aa9
[Oddmuse6]     inst#/home/koto/.perl6
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/site
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/vendor
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/core
[Oddmuse6]     ap#
[Oddmuse6]     nqp#
[Oddmuse6]     perl5#
[Oddmuse6] ===SORRY!===
[Oddmuse6] Could not find Oddmuse::Storage::File::Test at line 17 in:
[Oddmuse6]     file#/home/koto/.zef/store/Oddmuse-0.0.4.tar.gz/Oddmuse-0.0.4
[Oddmuse6]     file#/home/koto/.zef/store/Algorithm--Diff.git/3e2e24b4757506885a6ea6539d5f40c092389aa9
[Oddmuse6]     inst#/home/koto/.perl6
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/site
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/vendor
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/core
[Oddmuse6]     ap#
[Oddmuse6]     nqp#
[Oddmuse6]     perl5#
[Oddmuse6] ===SORRY!===
[Oddmuse6] Could not find Oddmuse::Storage::File::Test at line 17 in:
[Oddmuse6]     file#/home/koto/.zef/store/Oddmuse-0.0.4.tar.gz/Oddmuse-0.0.4
[Oddmuse6]     file#/home/koto/.zef/store/Algorithm--Diff.git/3e2e24b4757506885a6ea6539d5f40c092389aa9
[Oddmuse6]     inst#/home/koto/.perl6
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/site
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/vendor
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/core
[Oddmuse6]     ap#
[Oddmuse6]     nqp#
[Oddmuse6]     perl5#
[Oddmuse6] ===SORRY!===
[Oddmuse6] Could not find Oddmuse::Storage::File::Test at line 17 in:
[Oddmuse6]     file#/home/koto/.zef/store/Oddmuse-0.0.4.tar.gz/Oddmuse-0.0.4
[Oddmuse6]     file#/home/koto/.zef/store/Algorithm--Diff.git/3e2e24b4757506885a6ea6539d5f40c092389aa9
[Oddmuse6]     inst#/home/koto/.perl6
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/site
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/vendor
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/core
[Oddmuse6]     ap#
[Oddmuse6]     nqp#
[Oddmuse6]     perl5#
[Oddmuse6] ===SORRY!===
[Oddmuse6] Could not find Oddmuse::Storage::File::Test at line 17 in:
[Oddmuse6]     file#/home/koto/.zef/store/Oddmuse-0.0.4.tar.gz/Oddmuse-0.0.4
[Oddmuse6]     file#/home/koto/.zef/store/Algorithm--Diff.git/3e2e24b4757506885a6ea6539d5f40c092389aa9
[Oddmuse6]     inst#/home/koto/.perl6
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/site
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/vendor
[Oddmuse6]     inst#/home/koto/.rakudobrew/versions/moar-master/install/share/perl6/core
[Oddmuse6]     ap#
[Oddmuse6]     nqp#
[Oddmuse6]     perl5#

Define coding style and file structure for oddmuse6

In oddmuse5, everything was in a single file. Having everything in the same file has downsides, of course, but there are advantages also. For example, there was definitely no issue figuring out where to look for things :)

In oddmuse6 there are currently more than 15 files (!) and more than 1000 lines of code. If you want to hack on things, do you need Changes.pm6 or Change.pm6? Storage.pm6, Save.pm6 or Edit.pm6? Lock.pm6 or Store/File/Lock.pm6? Confusing.

Also I kinda liked the natural hesitation to add more to the file… it kinda guaranteed that the project will not suffer from featuritis.

Note that I'm not arguing that everything should be in the same file, but what about having a very limited number of core files, plus a set of standard (on by default) modules?

For the record, currently many files have just one class or just one subroutine… maybe having some of these files separately is not justified.

Plugins/Modules/Addons?

I'd like to implement a bug tracker on top of oddmuse6, but what's the current situation with plugins? How should one go about implementing something like this?

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.