Pithub...:Forks(3pm)

πŸ“¦
version 0.01043 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Pithub::Repos::Forks β€” it's the Github v3 Repo Forks API, bestie 🍴✨ Like, forking repos, but from Perl. Iconic behaviour honestly.


πŸŽ€ VERSION πŸŽ€

This is version 0.01043 β€” she's got a number and she's not afraid to use it πŸ’…


🌸 METHODS 🌸

πŸ¦‹ create πŸ¦‹

  • Create a fork for the authenticated user. Yes queen, go make your own copy, it's giving main character energy πŸ‘‘

Here's the endpoint, no cap:

POST /repos/:user/:repo/forks

Examples, fr fr:

my $f = Pithub::Repos::Forks->new;
my $result = $f->create(
    user => 'plu',
    repo => 'Pithub',
);

# or fork to an org
my $result = $f->create(
    user => 'plu',
    repo => 'Pithub',
    org  => 'CPAN-API',
);

So you can fork it just for yourself, or you can fork it straight into an org with the org key β€” like, pick your vibe 🫢


🌈 list 🌈

  • List forks β€” all the forks, lined up, ready to be perceived πŸ‘€βœ¨

The endpoint:

GET /repos/:user/:repo/forks

Example:

my $f = Pithub::Repos::Forks->new;
my $result = $f->list(
    user => 'plu',
    repo => 'Pithub',
);

πŸ‘‘ AUTHOR πŸ‘‘

Johannes Plunien <plu@cpan.org> β€” the legend who wrote this, we stan πŸ™ŒπŸ’œ


This software is copyright (c) 2011 by Johannes Plunien.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So like, it's free free β€” go off, remix it, share it, slay πŸ’–


Okay that's the whole page bestie, every last detail accounted for, no crumbs left πŸ“πŸ§š

Kisses, this was Pithub...:Forks (3pm) β€” source and version <rainbow>perl v5.40.1</rainbow>, dated 2025-06-08. Byeee πŸ’…βœ¨

πŸ“¦ where this page comes from