Padre is now on Github

Perhaps you remember Padre, The Perl IDE. It was started around 5 years ago, had a lot of development, and ended up being a quite decent programmer's editor.

Alas it's been suffering from lack of care for a couple of years now. Not because of lack of need or interest, but because nobody seems to have the time. And perhaps somebody needs to step up and grab the torch. Perhaps it's you?

Well, one more thing adds to the fact that Padre was languishing; it was still in a subversion repo and you needed a commit bit to get something into it. Not to mention the fact that using svn really makes you feel sad.

Padre is a huge project, with almost 20,000 commits in almost 100 different distributions. I'm by no means the champion of any of these, but I decided to try to convert Padre to Github.

Now, there was already a Padre organization on Github , so I just had to explore Net::GitHub.

It turned out one of the biggest problems was getting the commit author information right. Kevin Dawson had already done a great job to get all the authors, and while I tried to load all the repos on Github, he found as many as possible.

Looping over all the distributions like this

git svn clone -A authors --authors-prog=./au http://svn.perlide.org/padre/trunk -T $reponame

and massaging the name and stuff into place (I won't bore you with the details), and after having created the repo on Github with

$gh->repos->create( {
	    "org"  => "PadreIDE",
	    "name" => $reponame,
	    "description" => "$reponame is a Padre repository",
	    "homepage" => "https://github.com"
	} )
it's just a matter of pushing it. Now, I hope some of you will get on board again. There are tons of ideas, almost 20,000 commits (Git counts 18883, last svn revision number is 19831). and cloc http://cloc.sourceforge.net/ says
    2787 text files.
    2301 unique files.                                          
    1086 files ignored.

http://cloc.sourceforge.net v 1.62 T=17.29 s (82.5 files/s, 18924.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Perl 1122 48437 34697 135509
C++ 125 7113 6761 56674
C/C++ Header 53 1505 1598 9406
CSS 13 1048 95 6458
YAML 24 201 194 4839
HTML 42 852 192 4121
make 2 250 115 2427
Javascript 10 505 369 1799
Pascal 4 219 596 319
JSON 2 1 0 185
XML 2 3 13 172
C 1 35 33 127
RobotFramework 1 0 0 114
DOS Batch 4 12 0 58
SQL 3 23 25 53
Bourne Shell 8 7 5 36
COBOL 1 4 1 16
ActionScript 1 1 0 13
Ruby 3 4 0 7
Ada 1 0 0 5
Java 1 0 3 5
Tcl/Tk 1 0 1 3
PHP 1 0 0 3
Haskell 1 1 0 2
-------------------------------------------------------------------------------
SUM: 1426 60221 44698 222351
-------------------------------------------------------------------------------

OK, wrapping up: Look, make pull requests, hang out in the irc channel padre on irc.perl.org. I think it will be worth it.

4 Comments

You should really include the main link to the repository you are talking about. I think it is this one?

https://github.com/PadreIDE/Padre

Thanks for your work on this one!

Is the old Svn repository now closed or at least frozen?
What is the policy for commit bits on the new repo?
Where are issues tracked now? Still in Track? If yes, the "Issues" tab should be disabled on Github.

Leave a comment

About kaare

user-pic I blog about Perl and stuff.