Le seguenti 118 parole non sono state trovate nel dizionario di 1275 termini (includendo 1275 LocalSpellingWords) e sono evidenziate qui sotto:
adds   ask   be   Before   bigger   bug   bugs   but   Clean   clean   cleanly   clear   consider   Contents   continue   createplugins   Creation   current   Dev   developer   Developers   documentation   documented   does   doing   Doing   don   easy   Easy   edits   either   enough   everybody   explaining   extensions   feature   fix   fixes   following   For   for   found   get   Getting   good   Group   Guide   happy   How   how   if   include   included   introduce   isn   know   latest   like   likely   maintain   make   members   Mercurial   minor   mixed   more   most   much   necessarily   new   On   ones   only   or   Patch   patch   patches   Patches   possible   production   questions   read   save   self   separated   should   small   Smaller   some   Some   something   source   Started   Team   tells   tested   tests   than   that   These   this   time   to   To   understand   useful   user   User   users   Way   way   we   Well   well   will   without   write   yourself  

Nascondi questo messaggio
Italiano English
Locked History Actions

HelpOnPatchCreation

HelpContents > HelpForDevelopers > HelpOnPatchCreation

You found a way to fix a bug, and you like moin developer to include your fix, but you don't know how to create a patch. Here is how:

How to make a new patch

  1. Get the latest version of the source and make your edits. MoinDev/MercurialGuide tells you more.

  2. Before you continue ask yourself the following questions:
    • Is the patch useful to most users? A feature useful for you isn't necessarily useful for everybody.
    • Is it the WikiWay? Doing something the WikiWay is more likely to get included than doing it in any other way.

    • Is this a good patch? Clean, easy to read and understand code is more likely to be included.
    • Have you tested the code well enough? Some of the MoinCoreTeamGroup members like tests for any code, and will not be happy to include new code without tests.

  3. Also consider this:
    • Create extensions if possible!

    • Smaller, cleanly separated patches are much more likely to get included than bigger, mixed ones.
    • Well documented code. To save time, write clear code that is self-explaining. :-)

    • User documentation - if you add a feature, add user documentation.
    • Easy to maintain code - either you or some other developer will have to maintain the code. It should be easy, as we don't have time for this.

Patches for current production version

These are only included if:

  • It fixes a bug,
  • adds a minor (but useful) feature,
  • does not introduce new bugs and
  • is a small, clean patch.