Next Release of Pinto With Key Features - Grant Report #2

Jeffrey Ryan Thalhammer reported:

This past May, The Perl Foundation awarded a grant to fund development of a couple features in Pinto. Pinto is a robust tool for curating a private repository of CPAN modules, so you can build your application with the right modules every time. This is my second progress report on that work.

The next deliverable on the grant proposal is a merge command. The idea here is to merge the indexes of two stacks, much the same way that you merge two branches of source code. This would allow you to create a separate stack for experimenting with additional or upgraded modules, and then incorporate those modules into the master stack once they have been tested and blessed.

I have completed a prototype that handles simple cases when the head revision of stack is a direct descendant of the head revision of the target stack (this is what Git calls a "fast-forward" merge). However the more complex case is when the two stacks have both diverged from the initial branch point. The stack is basically an unordered list, so merging them is not quite the same as merging lines of source code.

There has been a lot of discussion about how this should work on Github. You're cordially invited to give your opinion over there. I'm hopeful that we can come up with a "smart merge" that is specific to the task of managing Perl modules.

About TPF

The Perl Foundation - supporting the Perl community since 2000. Find out more at

About this Entry

This page contains a single entry by Alan Haggai Alavi published on October 15, 2013 10:41 AM.

Improving Perl 5: Grant Report for Month 21 was the previous entry in this blog.

Improving Perl 5: Grant Report for Month 22 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.


OpenID accepted here Learn more about OpenID
Powered by Movable Type 6.2.2