App-cpangitify

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

 --metacpan_url

    The URL to use for metacpan.

 --branch | -b

    Default branch. As on 0.18 this is main by default. Previously the old
    git default was used.

 --help | -h

    Print out help and exit.

 --version

    Print out version and exit.

CAVEATS

    Each commit belongs to the CPAN author who submitted the corresponding
    release, therefore git blame may not be that useful for the imported
    portion of your new repository history.

    The commits are ordered by date, so where there are interleaving of
    releases that belong to development and production branches this simple
    minded script will probably do the wrong thing.

    Patches are welcome.

SEE ALSO

    Here are some similar projects:

      * Git::CPAN::Patch

      Comes with a git cpan import which does something similar. With this
      incantation I was able to get a repository for YAML (including
      history, but without authors and without the correct dates):

       % mkdir YAML
       % git init .
       % git cpan import --backpan YAML
       % git merge remotes/cpan/master

      One advantage here over cpangitify is that you should then later be
      able to import/merge future CPAN releases into yours.
      Git::CPAN::Patch also has a bunch of other useful tools for creating
      and submitting patches and may be worth checking out.

      If you do an internet search for this sort of thing you may see
      references to git-backpan-init, but this does not appear to be part
      of the Git::CPAN::Patch anymore (I believe git-import with the
      --backpan option is the equivalent).

      In general cpangitify is a one trick poney (though good at that one
      thing), and Git::CPAN::Patch is a Batman's utility belt with
      documentation that (for me at least) is pretty impenetrable.

      * gitpan <https://github.com/gitpan>

      Doesn't appear to have been updated in a number of years.

      * ggoosen's cpan2git <https://github.com/ggoossen/cpan2git>

    The reason I am not using the latter two is that they are designed to
    mirror the whole of CPAN/BackPAN, but I'm mostly just interested in one
    or two distributions here and there.

AUTHOR

    Author: Graham Ollis <plicease@cpan.org>

    Contributors:

    Mohammad S Anwar (MANWAR)

COPYRIGHT AND LICENSE

    This software is copyright (c) 2013-2024 by Graham Ollis.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.



( run in 0.794 second using v1.01-cache-2.11-cpan-df04353d9ac )