zef
Raku Module Management (by ugexe)
Monad-Result
Result monad for Raku (by rawleyfowler)
zef | Monad-Result | |
---|---|---|
7 | 1 | |
206 | 3 | |
- | - | |
7.5 | 4.0 | |
5 days ago | 4 months ago | |
Raku | Raku | |
Artistic License 2.0 | Artistic License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zef
Posts with mentions or reviews of zef.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-05.
-
Writing a Database backed Micro-service with Raku and Humming-Bird
To begin, you'll want to make sure that you have Raku installed, I recommend using Rakubrew. Then we'll want to install Zef, if you're new to Raku, Zef is basically just NPM or CPAN for Raku, it's written by the fabulous Ugexe and is the default package manager people use with Raku. If you installed Raku with Rakubrew, you can simply run rakubrew build-zef and it will handle all of the configuration for you.
-
Tests
I tested it on my computer. I needed to install zef from here. I installed libraries needed to use rakudo_debug. Here hat I get below:
-
How do you determine what the "latest" module version is?
See: https://github.com/ugexe/zef/blob/9779091b7997468257ce3037f8bc0e9c65d1f974/t/repository.rakutest#L85-L128 for an example of how the tiering of ecosystems work, and https://github.com/ugexe/zef/commit/a12d286312c6d7bc3c8ffebe51cce4caae6268cf for some reasoning
-
Cannot Install Zef
I have Rakudo 2022.07 on my Mac. I cloned https://github.com/ugexe/zef, which got me version 0.14.4. I cd'ed into the clone and ran this:
-
requesting thoughts/advice on distributing personal tools
zef -v install https://github.com/ugexe/zef.git
-
Designing containers for GitHub actions
FROM ghcr.io/jj/raku-gha ENV PKGS="git tar" PKGS_TMP="make gcc linux-headers musl-dev" WORKDIR="/home/raku" LABEL version="1.0.3" maintainer="[email protected]" rakuversion=$VER USER root RUN apk update && apk upgrade && apk add --no-cache $PKGS $PKGS_TMP USER raku # Environment ENV PATH="${WORKDIR}/.raku/bin:${WORKDIR}/.raku/share/perl6/site/bin:${PATH}" \ ENV="${WORKDIR}/.profile"\ RAKULIB="inst#/home/raku/.raku" # Basic setup, programs and init WORKDIR $WORKDIR RUN git clone --depth 1 https://github.com/ugexe/zef.git \ && cd zef && raku -I. bin/zef install . \ && zef install Linenoise \ && cd .. && rm -rf zef USER root RUN apk del $PGKS_TMP USER raku ENTRYPOINT ["raku"]
-
Issues with installing zef
This is the issue I found on GitHub.
Monad-Result
Posts with mentions or reviews of Monad-Result.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-05.
-
Writing a Database backed Micro-service with Raku and Humming-Bird
Major difference here is we use a try/catch block, you don't need to. Since Humming-Bird is functional I actually think it would be better practice to use a Monad type for handling errors something like Monad::Result, but that's the beautiful part of Humming-Bird, it accommodates everyone's preferences.
What are some alternatives?
When comparing zef and Monad-Result you can also consider the following projects:
docker-raku - Tests and experiments for new Raku docker containers
doc - 🦋 Raku documentation
p6-GtkPlus
rakudo - 🦋 Rakudo – Raku on MoarVM, JVM, and JS
Humming-Bird - A fun and performant web application framework for Raku
MoarVM - A VM with adaptive optimization and JIT compilation, built for Rakudo
nqp - NQP
Tomty - Tomty - Raku Test Framework
Humming-Bird-Microservice-Example - A simple micro-service written with Humming-Bird and Raku for https://dev.to/rawleyfowler/writing-micro-services-with-raku-and-humming-bird-59k4
cache - Cache dependencies and build outputs in GitHub Actions
DBIish - Database interface for Raku