Coder Social home page Coder Social logo

pakku-recman's Introduction

NAME

Pakku::RecMan - Recommendation Manager for Pakku

SYNOPSIS

Parse all distributions archives in store directory and add them to database

recman.raku --database=recman.sqlite --store=/path/to/distributions/archives update

serve the disributions's meta and archives, ( also can cooperate with other Pakku::RecMans )

PAKKU_RECMAN_HOST=localhost PAKKU_RECMAN_PORT=4242 recman.raku --database=recman.sqlite --store=/store --cooperate=recman.cpan.org --cooperate=recman.pakku.org serve;

INSTALLATION

pakku add Pakku::RecMan

# or 

zef install Pakku::RecMan

DESCRIPTION

Pakku::RecMan is a Recommendation Manager for Pakku

  • store is an IO::Path directory containing the *.tar.gz archives of the distributions you want to serve.

  • To request meta of a distribution: http://recman.pakku.org/meta?name=MyModule&ver=0.0.1

  • Download archive of a distribution: http://recman.pakku.org/archive/distribution-path-provided-in-meta.tar.gz ( The returned meta will have recman source key containing the url of the archive )

  • Currently recman.pakku.org has meta and archives for all Raku distribution's in p6c and cpan, ( Except distributions with issues in META file )

  • Can request any distribution's meta, eg: http://recman.pakku.org/meta?name=Inline::Perl5&ver=0.50

  • When running in cooperative mode, RecMans can cooperate together to fulfill a request

USE CASE

Having MyModule1 and MyModule2 served by local RecMan running in cooperative mode with other RecMans. Requesting MyModule1's meta will provide MyModule1 from the local RecMan and dependencies from the cooperative RecMans

CREDITS

  • I'm using crai to mirror locally the archives of the distributions in p6c and cpan

  • database schema is stolen from crai and modified to suit Pakku's needs

AUTHOR

Haytham Elganiny [email protected]

COPYRIGHT AND LICENSE

Copyright 2020 Haytham Elganiny

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

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.