Hello dear esteemed monks,
Suppose I have several similar and small modules (actually plugins for another module) and I'm looking for a way to keep them in git.
The plugins are not expected to be changed often. When they are, however, many of them may require an almost identical change (e.g. the main module adds a new feature or fixes a bug).
So what are the ways to achieve it?
-
(1) Just make a repository per module. Pros: it's simple. Cons: lots of jumping through hoops in a mass update situation.
-
(2) Make a package named My::Module::Plugins and bundle them all. Pros: it's simple. Cons: I want my users to be able to pick which dependencies they need.
-
(3)Have several directories in one repository. Pros: Can modify and build them at once. No need to keep an eye on many repos. Cons: it's complicated. The directory structure itself needs maintenance.
What are the examples on CPAN? So far I've been able to peek at Map::Tube::* which uses the first approach. But maybe there are others? What do they use?
Thank you.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.