7 ms·
The CPAN Pull Request Challenge
- nsxwolf 12y agoSounds desperate.
- twerquie 12y ago> The goal is to help others, possibly learn something, and hopefully have a bit of fun Seems like it shouldn't be limited to CPAN modules.
- estrabd 12y agoI signed up. Sounds like a good opportunity for those who want to help, but don't quite know where to get started.
- schnevets 12y agoI'm in. People around here are sometimes cynical of Perl, but there's a lot of high quality code on CPAN that definitely shouldn't fall by the wayside.
- melling 12y agoCPAN was Perl's claim to fame. It's what gave it the "edge" over Python and Ruby a decade ago. I think people have finally realized that edge is rapidly fading. I still occasionally use Perl but I'm trying to make my goto language Python or Go, unless I find a better functional language. After all, in 2015, shouldn't we be using OCaml or F# for our quick jobs? I guess I'd rather invest in the future rather than try to save the past.
- rol 12y agoAlthough having a central repository of code on the web is no longer unique to Perl, there is still some of CPAN's infrastructure that would be nice to have in other communities. For instance, cpantesters[1]. As far as I know, only the Lisp community has something similar to cpantesters in their cl-test-grid project. On the other hand nowadays a language community could probably set up something similar to cpantesters using travis so hopefully we'll see more of those sort of systems in the future. -- [1] - If you want to play buzzword bingo you can think about cpantesters as a distributed, fault-tolerant, self-organizing, volunteered run, cross-platform continuous integration platform that is free to end-users.
- thebouv 12y agoNew languages are cool. As long as you're not reinventing the wheel.
- esaym 12y agoI personally have not found one module in python or ruby that makes me say "I wish I had this in CPAN" (at least for the things I use Perl for). I've tried pretty hard sometimes too...
- kolom 12y agoSounds great, is there anything like this for php?
- hueving 12y agoI don't think php has reached the point where a lot of libraries have reached stagnation. In general though it would be cool to just automate this in some fashion. Occasionally email participants a link to projects that haven't had commits in many months but have open bugs or feature requests.
- oalders 12y agoIt's not necessarily _just_ about dealing with stagnation. It's also about finding a way for people to start contributing to open source. If you've never released anything, just patching someone else's work is a great way to start. This automates the selection process so you don't necessarily have to look around for something that needs help.
- hk__2 12y agoYou might want to check http://24pullrequests.com/ http://24pullrequests.com/ but it’s not only for PHP.
- debacle 12y agoCompared to CPAN, PHP is fairly monolithic. Many of the OSS projects that we hear about are sponsored and/or open/closed or the Automattic business model. Many CPAN modules are blobs of arcanery and some work completely well but are relatively abandoned.
- kaens 12y agoCount me in! The last time I wrote Perl, the Camel Book was a thing and I thought it was cool to have the least number of digits in your slashdot id as possible. I find it pretty fun to try to modify code that lives in a world that I'm largely not part of, this is a nice little impetus!
- gjtorikian 12y agoYeah, that's about the same for me. Perl was the first real language I picked up outside of school, with many hours spent inside cgi-bin.
- perlgeek 12y agoI'm in. Some years ago I tried to motivate people to contribute to Perl 6, and found that while many had some lingering interest in doing so, they needed some steering. This was hard for me to do, because usually in Open Source communities, you aren't supposed to tell people what to do; they are free to chose the occupation after all. But I found that it worked very well. So I think the CPAN Pull Request Challenge is a very good approach to steer people to particular projects, without causing too much work for those who steer. At least it's a very good experiment to try.
- emeraldd 12y agoI'm still amazed at the number of developers who have a block around filing bugs or send out pull requests for the tools/libraries they use.
- username223 12y agoI'm not. Especially on larger projects, new contributors usually face something between indifference and hostility. After spending weeks in mailing list battles trying to contribute to a few projects, many people conclude it's not worth their time.
- meesterdude 12y agoThis. Even mildly popular library maintainers will be indifferent or hostile for even the most agreeable PR. Sometimes its just easier to fork and run your own version for this reason, but it makes contributing back to the community difficult.
- emeraldd 12y agoThat may be part of it, I don't usually worry with mailing lists. My general approach is to file a bug in the appropriate bug tracker documenting the issue I'm dealing with then if/when possible provide a patch for the problem. * I'm a coder not a politician ;)
- serve_yay 12y ago
- rohall 12y agoSounds cool, I'd do something like this if it was in Ruby. Haven't used perl in several years, not sure I'd be much help
- mdaniel 12y agoWell, nothing is stopping you from suggesting (or implementing!) this except the willingness of the target repositories to accept incoming pull requests. This[0] discussion is especially relevant to that limitation. I get the impression this CPAN campaign is an attempt to introduce, or reintroduce, folks to Perl, which might not be as big of a problem with Ruby. That is, of course, my opinion. 0 = https://news.ycombinator.com/item?id=8819930 https://news.ycombinator.com/item?id=8819930
- fibo 12y agoI am in, nice iniciative. I've just released https://metacpan.org/pod/Task::BeLike::FIBO https://metacpan.org/pod/Task::BeLike::FIBO and I'm quite glad of my minimal style. Perl is for servers like JavaScript for the web, it is obiquitous. I like other languages too, but, Perl is really fun specially for the community, a great one!
- esaym 12y agoAdd don't forget to use http://www.cpantesters.org/ http://www.cpantesters.org/ so you can see how your test cases run on a variety of platforms.
- edibleEnergy 12y agoIn as well. Hope I don't get something like SOAP::WSDL :)
- neilbowers 12y agoLet me check if it's on github ...
- wenderen 12y agoI'm interested, but I don't know Perl. Is knowing Perl a hard prerequisite?
- steamer25 12y agoFrom the article: "You don't have to be an experienced Perl programmer, CPAN author, or githubber. The goal is to help others, possibly learn something, and hopefully have a bit of fun." It might be possible to help with e.g., documentation (which could also be taken as an opportunity to learn just enough Perl to read less-documented code).
- chromatic 12y agoI wrote a brief introduction to Perl from philosophy to pragmatic efficacy. It's available free online: http://modernperlbooks.com/books/modern_perl_2014/ http://modernperlbooks.com/books/modern_perl_2014/ It works best with at least six months practical experience in any programming language.
- wenderen 12y agoI'm going through it right now. Looks very useful, thanks for writing.
- neilbowers 12y agoNo, it's not. Several people have signed up saying "I don't know Perl, but this seems like a good opportunity to start learning it".
- sivoais 12y agoYou never know when that pull request could turn into co-maintainer permissions. ;-) That happened to me with 3 packages last month!
- deleted 12y ago[deleted]
- mst 12y agoWell volunteered!
- creaktive 12y ago1. Join the challenge 2. Get any module assigned 3. Check the gaps in it's test coverage using https://metacpan.org/pod/Devel::Cover https://metacpan.org/pod/Devel::Cover 4. MOAR TESTS 5. Profit!
- pwr22 12y agoDoing it manually? Now we've got www.cpancover.com
- ASUmusicMAN 12y agoWhat a fantastic idea. I think this will really speak to those of us that may need a little nudge before feeling comfortable. I've dusted off my PAUSE ID and signed up. Does anyone know of any other langs/communities that have tried something like this? This seems like a great idea to learn and contribute.
- rurban 12y agoAlmost every langs have a CPAN alike. They just copied it. CTAN for TeX, CCAN for C, forgot the ruby name, LISP has it even with a cpantesters alike testers grid, PHP split it into PECL for binary extensions (higher quality) and PEAR, which struggles. emacs lisp, node.js, ocaml, ... go uses git only for their distributed module system, which is a nice and simple idea, (github as default) but also appeared in common lisp before.
- kbenson 12y agoI think the question was less "What other languages have module repositories like CPAN" and more "Does anyone know of other module ecosystems that are running projects like this to get people involved?"
- senorsmile 12y agoI'm in. Been looking for an excuse to use my budding perl-fu.
- etheleon 12y agoabsolutely cpancited! should probably come up with a more taggable acronym for this