So, I found a bug in a CPAN module that hadn't been updated in some
time. After I submitted a bug in RT, I checked the author's other
modules and his RT tickets: no activity in years. So I sent the
author an email, and said, hey, if you don't want to mess with this
module any more, I'd be happy to take it over for you. And, voila,
I'm now the proud(?) maintainer of Data::Random.
So I need to create a repo for the code, and it would be nice to start
with the previous versions, right? Happily, there is gitpan, so I can
pretty easily access all the CPAN versions of the code at least. Now,
I've read Schwern's blog[1] on how to merge gitpan history into an
existing repo, so I could essentially create a blank repo, do the
merge as he describes, and go from there. But it seems to me that's
unnecessarily complex, since I'm starting from scratch. What I'm
wondering is, couldn't I just fork the gitpan repo for Data::Random[2]
and have that become my repo? Obviously I would never plan on merging
it back, but that shouldn't matter, I don't think.
Does anyone see any downsides to this plan, or have a better suggestion? TIA!
-- Buddy
[1] http://use.perl.org/~schwern/journal/39974
[2] https://github.com/gitpan/Data-Random
> Okay, that's the main thing I was wondering. I didn't know if somehow
> GitHub would consider my repo to be a fork forever-more and that might
> somehow have negative side-effects. I didn't think so, but I figured
> it couldn't hurt to ask.
If forking directly from Github, people will see that it has been
forked from gitpan/Data-Random in the network view, but I can't see how
it could stigmatize your project. If the META.json of the distribution
is correctly set, peeps will know that you hold the main repo. If
anything, it might help people find your repo if they find the gitpan
version first (as they will see it in its own network). In any case, I
don't think it's a huge deal that would bring terrible consequences
either way. :-)
>> > $ git cpan-import --gitpan Data::Random
> Interesting ... are there advantages to that method over just forking gitpan?
Not really. It's just a quick, cli-alternative to clone the repo
locally. There Is More Than One Way To Fork It, I guess. ;-)
Joy,
`/anick