178 lines
19 KiB
HTML
178 lines
19 KiB
HTML
<html><head><title>Tracker/it</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Tracker/it</h1></div>
|
||
|
||
<div id="mw-content-text" lang="it" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><div class="floatright"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Mantis_logo_262x90.png" class="image" title="link=https://freecadweb.org/tracker/MantisBT is the bugtracker framework FreeCAD uses"><img alt="link=https://freecadweb.org/tracker/MantisBT is the bugtracker framework FreeCAD uses" src="Mantis_logo_262x90.png" width="262" height="90" /></a></div>
|
||
<p>L'indirizzo del nostro bug tracker è:
|
||
</p><p><a rel="nofollow" class="external free" href="https://www.freecadweb.org/tracker">https://www.freecadweb.org/tracker</a>
|
||
</p><p>Potete segnalare i bug, presentare le richieste di funzionalità, patch, o richiedere di fondere un proprio ramo, se avete sviluppato qualcosa usando git. Il tracker è suddiviso in moduli, quindi cercate di essere specifici e di presentare la richiesta nella sottosezione appropriata. In caso di dubbio, lasciare il messaggio nella sezione "FreeCAD".
|
||
</p><p><br />
|
||
Prima di creare istanze, si prega di discutere sempre prima il bug nel <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewforum.php?f=3">Help forum</a> e le richieste di nuove funzionalità in <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewforum.php?f=8">Open discussion forum</a>.
|
||
</p><p>As shown in the above flowchart, before creating tickets, please always first search the forums and bugtracker to discover if your issue is a known issue. This saves a lot of time/work for developers and volunteers that could be spending said time making FreeCAD even more awesome.
|
||
</p>
|
||
<div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
|
||
<ul>
|
||
<li class="toclevel-1 tocsection-1"><a href="#Segnalare_bug"><span class="tocnumber">1</span> <span class="toctext">Segnalare bug</span></a></li>
|
||
<li class="toclevel-1 tocsection-2"><a href="#Richiedere_delle_nuove_funzionalit.C3.A0"><span class="tocnumber">2</span> <span class="toctext">Richiedere delle nuove funzionalità</span></a></li>
|
||
<li class="toclevel-1 tocsection-3"><a href="#Inviare_patch"><span class="tocnumber">3</span> <span class="toctext">Inviare patch</span></a></li>
|
||
<li class="toclevel-1 tocsection-4"><a href="#Richiedere_la_fusione"><span class="tocnumber">4</span> <span class="toctext">Richiedere la fusione</span></a></li>
|
||
<li class="toclevel-1 tocsection-5"><a href="#MantisBT_Tips_and_Tricks"><span class="tocnumber">5</span> <span class="toctext">MantisBT Tips and Tricks</span></a>
|
||
<ul>
|
||
<li class="toclevel-2 tocsection-6"><a href="#MantisBT_Markup"><span class="tocnumber">5.1</span> <span class="toctext">MantisBT Markup</span></a></li>
|
||
<li class="toclevel-2 tocsection-7"><a href="#MantisBT_BBCode"><span class="tocnumber">5.2</span> <span class="toctext">MantisBT BBCode</span></a></li>
|
||
<li class="toclevel-2 tocsection-8"><a href="#MantisBT_.3C.3D.3E_GitHub_Markup"><span class="tocnumber">5.3</span> <span class="toctext">MantisBT <=> GitHub Markup</span></a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toclevel-1 tocsection-9"><a href="#GitHub_and_MantisBT"><span class="tocnumber">6</span> <span class="toctext">GitHub and MantisBT</span></a>
|
||
<ul>
|
||
<li class="toclevel-2 tocsection-10"><a href="#Attaching_a_git_commit_to_a_ticket"><span class="tocnumber">6.1</span> <span class="toctext">Attaching a git commit to a ticket</span></a></li>
|
||
<li class="toclevel-2 tocsection-11"><a href="#Remotely_resolving_a_ticket"><span class="tocnumber">6.2</span> <span class="toctext">Remotely resolving a ticket</span></a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toclevel-1 tocsection-12"><a href="#Related"><span class="tocnumber">7</span> <span class="toctext">Related</span></a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
<h3><span class="mw-headline" id="Segnalare_bug">Segnalare bug</span></h3>
|
||
<p>Quando si pensa di aver trovato un bug, si è invitati a segnalarlo lì, se si è prima discusso la questione nelle sedi opportune.
|
||
</p><p>Prima di segnalare un bug, si prega di verificare i seguenti punti:
|
||
</p>
|
||
<ul><li> Assicurarsi che il problema è veramente un bug, cioè, qualcosa che dovrebbe funzionare e che non funziona. Se non si è sicuri, non esitare a esporre il problema nel <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/">forum</a> e chiedere cosa fare.</li>
|
||
<li> Prima di inviare qualsiasi cosa, leggere le <a href="https://www.freecadweb.org/wiki/index.php?title=FAQ/it" title="FAQ/it">FAQ - domande frequenti</a>, fare una ricerca nel <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/">forum</a> e assicurarsi che lo stesso bug non è ancora stato segnalato, facendo una ricerca nel bug tracker.</li>
|
||
<li> Descrivere il più chiaramente possibile il problema e come può essere riprodotto. Se non possiamo verificare il bug, potremmo non essere in grado di risolvere il problema.</li>
|
||
<li> Includere tutte le informazioni usando il pulsante "Copia negli Appunti" del menu Aiuto -> A proposito di FreeCAD e farlo sia dall'ambiente Parte che dall'ambiente PartDesign in modo che siano inseriti i dati sulla versione OCC o OCE del sistema operativo utilizzato. </li>
|
||
<li> Si prega di inviare una relazione separata per ogni bug.</li>
|
||
<li> Quando si usa un sistema Linux e il bug causa un crash in FreeCAD, si può provare a eseguire un debug backtrace: Da un terminale eseguire <i>gdb freecad</i> (supponendo che il pacchetto gdb è installato), poi, all'interno di gdb, digitare <i>run</i>. FreeCAD viene eseguito e probabilmente causa un crash. A crash avvenuto, digitare <i>bt</i>, per ottenere il backtrace completo. Accludere al rapporto sul bug il risultato del backtrace emesso.</li></ul>
|
||
<h3><span class="mw-headline" id="Richiedere_delle_nuove_funzionalit.C3.A0">Richiedere delle nuove funzionalità</span></h3>
|
||
<p>Se desiderate qualcosa che in FreeCAD che non è ancora implementato, <u>questo non è un bug, ma una richiesta di nuove funzionalità</u>.
|
||
</p>
|
||
<ol><li> <b>IMPORTANTː</b> Before requesting a potential Feature Request <b>please be certain that you are the first one doing so by searching the forums and the bugtracker</b>. If you have concluded that there are no pre-existing tickets/discussions the next step is toː </li>
|
||
<li> Start a forum thread to discuss your feature request with the community via the <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewforum.php?f=8">Open Discussion forum</a>. </li>
|
||
<li> Once the community agrees that this is a valid Feature, you then can open a ticket on the tracker (file it under <i>feature request</i> instead of <i>bug</i>). </li></ol>
|
||
<ul><li> <b>NOTE #1</b> To keep things organized please remember to link the forum thread URL into the ticket and the ticket number (as a link) in to the forum thread. </li>
|
||
<li> <b>NOTE #2</b> Keep in mind there are no guarantees that your wish will be fulfilled. </li></ul>
|
||
<div class="thumb tright"><div class="thumbinner" style="width:302px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:MantisBT-setting-Feature-Request.jpg" class="image"><img alt="" src="300px-MantisBT-setting-Feature-Request.jpg" width="300" height="219" class="thumbimage" srcset="/wiki/images/thumb/b/bb/MantisBT-setting-Feature-Request.jpg/450px-MantisBT-setting-Feature-Request.jpg 1.5x, /wiki/images/thumb/b/bb/MantisBT-setting-Feature-Request.jpg/600px-MantisBT-setting-Feature-Request.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="https://www.freecadweb.org/wiki/index.php?title=File:MantisBT-setting-Feature-Request.jpg" class="internal" title="Enlarge"></a></div>FreeCAD Bugtracker report page - use the dropdown to correctly designate what the ticket is</div></div></div>
|
||
<h3><span class="mw-headline" id="Inviare_patch">Inviare patch</span></h3>
|
||
<p>Se avete creato il programma di correzione a un bug, una estensione o altro che può essere di uso pubblico in FreeCAD, create una patch utilizzando lo strumento Git diff e presentatela utilizzando il medesimo tracker (file di patch).
|
||
</p><p>Addendumː FreeCAD development has switched to the <a rel="nofollow" class="external text" href="https://github.com/FreeCAD/FreeCAD">GitHub</a> development model so the workflow for submitting patches has been greatly enhanced/streamlined by submitting Pull Requests.
|
||
</p>
|
||
<ul><li> Open a forum thread in the Developer subforum to announce and discuss your patch. </li>
|
||
<li> Submit your PR to the <a rel="nofollow" class="external text" href="http://github.com/FreeCAD/FreeCAD">FreeCAD GitHub repo</a>. Be sure to link the forum thread in to the git commit summary. </li>
|
||
<li> Paste the PR link in to the forum thread for the devs/testers to test. </li>
|
||
<li> Be present for the discussion so that your code can potentially be merged more effectively. </li></ul>
|
||
<p><b>NOTEː</b> the FreeCAD community recommends to first discuss any large revision to the source code in advance to save everyone time.
|
||
</p>
|
||
<h3><span class="mw-headline" id="Richiedere_la_fusione">Richiedere la fusione</span></h3>
|
||
<p>Se avete creato un ramo git contenente delle modifiche che desiderate far confluire nel codice di FreeCAD, potete fare la richiesta di avere la recensione e la fusione del vostro ramo, se gli sviluppatori di FreeCAD sono d'accordo. È necessario pubblicare prima il ramo in un repository git pubblico (github, bitbucket, sourceforge ...) e poi fornire l'URL del vostro ramo nella richiesta di unione.
|
||
</p><p>If you have created a git branch containing changes that you would like to see merged into the FreeCAD code, you can ask there to have your branch reviewed and merged if the FreeCAD developers are OK with it. You must first publish your branch to a public git repository (github, gitlab, bitbucket, sourceforge etc...) and then give the URL of your branch in your merge request.
|
||
</p>
|
||
<h2><span class="mw-headline" id="MantisBT_Tips_and_Tricks">MantisBT Tips and Tricks</span></h2>
|
||
<h3><span class="mw-headline" id="MantisBT_Markup">MantisBT Markup</span></h3>
|
||
<p>MantisBT (Mantis Bug Tracker) has it's own unique markup.
|
||
</p>
|
||
<ul><li> <b>@</b>mention - works just like on GitHub where if you prepend '@' to someone's username they will receive an email that they have been 'mentioned' in a ticket thread</li></ul>
|
||
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Mantisbt-mention-example.jpg" class="image"><img alt="Mantisbt-mention-example.jpg" src="600px-Mantisbt-mention-example.jpg" width="600" height="70" srcset="/wiki/images/thumb/b/ba/Mantisbt-mention-example.jpg/900px-Mantisbt-mention-example.jpg 1.5x, /wiki/images/b/ba/Mantisbt-mention-example.jpg 2x" /></a></div></div>
|
||
<ul><li> <b>#</b>1234 - By adding a hash tag in front of a number a shortcut to link to another ticket within MantisBT will present.
|
||
<dl><dd> <b>Note</b>: if you hover over a ticket it will show you the summary + if the ticket is closed, it will be struck-through like <s>#1234</s>.</dd></dl></li></ul>
|
||
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Mantisbt-ticket-shortcut-example.jpg" class="image"><img alt="Mantisbt-ticket-shortcut-example.jpg" src="600px-Mantisbt-ticket-shortcut-example.jpg" width="600" height="112" srcset="/wiki/images/4/47/Mantisbt-ticket-shortcut-example.jpg 1.5x" /></a></div></div>
|
||
<ul><li> <b>~</b>5678 - a shortcut that links to a bug note within a ticket. This can be used to reference someone's response within the thread. Each person that posts will show a unique ~#### number next to their username. If you look at the image in the example, you see that the shortcut is referencing the <i>ticket number:comment number</i> of said ticket</li></ul>
|
||
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Mantisbt-comment-shortcut-example.jpg" class="image"><img alt="Mantisbt-comment-shortcut-example.jpg" src="600px-Mantisbt-comment-shortcut-example.jpg" width="600" height="74" srcset="/wiki/images/thumb/2/23/Mantisbt-comment-shortcut-example.jpg/900px-Mantisbt-comment-shortcut-example.jpg 1.5x, /wiki/images/thumb/2/23/Mantisbt-comment-shortcut-example.jpg/1200px-Mantisbt-comment-shortcut-example.jpg 2x" /></a></div></div>
|
||
<ul><li> <b><del></del></b> - Using these tags will <s>strikeout text</s>. </li></ul>
|
||
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Mantisbt-strikeout-text-example.jpg" class="image"><img alt="Mantisbt-strikeout-text-example.jpg" src="600px-Mantisbt-strikeout-text-example.jpg" width="600" height="30" srcset="/wiki/images/thumb/4/49/Mantisbt-strikeout-text-example.jpg/900px-Mantisbt-strikeout-text-example.jpg 1.5x, /wiki/images/4/49/Mantisbt-strikeout-text-example.jpg 2x" /></a></div></div>
|
||
<ul><li> <b><code></code></b> - To present a line or block of code, use this tag and it will colorize and differentiate it elegantly. </li></ul>
|
||
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Mantisbt-colorized-code-example.jpg" class="image"><img alt="Mantisbt-colorized-code-example.jpg" src="600px-Mantisbt-colorized-code-example.jpg" width="600" height="191" srcset="/wiki/images/thumb/f/f3/Mantisbt-colorized-code-example.jpg/900px-Mantisbt-colorized-code-example.jpg 1.5x, /wiki/images/thumb/f/f3/Mantisbt-colorized-code-example.jpg/1200px-Mantisbt-colorized-code-example.jpg 2x" /></a></div></div>
|
||
<h3><span class="mw-headline" id="MantisBT_BBCode">MantisBT BBCode</span></h3>
|
||
<p>In addition to the above <a href="https://www.freecadweb.org/wiki/index.php?title=Tracker/MantisBT_%CC%A0Markup&action=edit&redlink=1" class="new" title="Tracker/MantisBT ̠Markup (page does not exist)">Tracker/MantisBT ̠Markup</a> one also has the possibility to use BBCode format. For a comprehensive list see the <a rel="nofollow" class="external text" href="https://github.com/mantisbt-plugins/BBCodePlus#supported-bbcode-tags">BBCode plus plugin page</a>. Here is a list of supported BBCode tagsː
|
||
<small><code><br />
|
||
[img][/img] - Images <br />
|
||
[url][/url] - Links <br />
|
||
[email][/email] - Email addresses <br />
|
||
[color=red][/color] - Colored text <br />
|
||
[highlight=yellow][/highlight] - Highlighted text <br />
|
||
[size][/size] - Font size <br />
|
||
[list][/list] - Lists <br />
|
||
[list=1][/list] - Numbered lists (number is starting number) <br />
|
||
[*] - List items <br />
|
||
[b][/b] - Bold <br />
|
||
[u][/u] - underline <br />
|
||
[i][/i] - Italic <br />
|
||
[s][/s] - Strikethrough <br />
|
||
[left][/left] - Left align <br />
|
||
[center][/center] - Center <br />
|
||
[right][/right] - Right align <br />
|
||
[justify][/justify] - Justify <br />
|
||
[hr] - Horizontal rule <br />
|
||
[sub][/sub] - Subscript <br />
|
||
[sup][/sup] - Superscript <br />
|
||
[table][/table] - Table <br />
|
||
[table=1][/table] - Table with border of specified width <br />
|
||
[tr][/tr] - Table row <br />
|
||
[td][/td] - Table column <br />
|
||
[code][/code] - Code block <br />
|
||
[code=sql][/code] - Code block with language definition <br />
|
||
[code start=3][/code] - Code block with line numbers starting at number <br />
|
||
[quote][/quote] - Quote by *someone* (no name) <br />
|
||
[quote=name][/quote] - Quote by *name* <br />
|
||
</code>
|
||
</small>
|
||
</p>
|
||
<h3><span class="mw-headline" id="MantisBT_.3C.3D.3E_GitHub_Markup">MantisBT <=> GitHub Markup</span></h3>
|
||
<p>Below are special MantisBT Source-Integration plugin keywords which will link to the FreeCAD GitHub repo. See <a href="/wiki/Tracker#GitHub_and_MantisBT" title="Tracker">Tracker#GitHub_and_MantisBT</a>.
|
||
</p>
|
||
<ul><li> <b>c:FreeCAD:git commit hash:</b> - <b>c</b> stands for 'commit'. FreeCAD stands for the FreeCAD GitHub repo. 'git commit hash' is the specific git commit hash to reference. Note: the trailing colon is necessary. Exampleː <code>cːFreeCADː709d2f325db0490016807b8fa6f49d1c867b6bd8ː</code> </li>
|
||
<li> <b>d:FreeCAD:git commit hash:</b> - similar to the above, <b>d</b> stands for 'diff' which will provide a Diff view of the commit. Exampleː <code>dːFreeCADː709d2f325db0490016807b8fa6f49d1c867b6bd8ː</code> </li>
|
||
<li> <b>p:FreeCAD:pullrequest:</b> - similar to the above, <b>p</b> stands for Pull Request. Exampleː <code>pːFreeCADː498ː</code> </li></ul>
|
||
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Mantisbt-source-integration-markup.jpg" class="image"><img alt="Mantisbt-source-integration-markup.jpg" src="600px-Mantisbt-source-integration-markup.jpg" width="600" height="75" srcset="/wiki/images/2/20/Mantisbt-source-integration-markup.jpg 1.5x" /></a></div></div>
|
||
<div style="clear:both"></div>
|
||
<p><br />
|
||
</p>
|
||
<h2><span class="mw-headline" id="GitHub_and_MantisBT">GitHub and MantisBT</span></h2>
|
||
<p>The FreeCAD bugtracker has a plug-in called <a rel="nofollow" class="external text" href="https://github.com/mantisbt-plugins/source-integration">Source Integration</a> which essentially ties both the FreeCAD GitHub repo to our MantisBT tracker. It makes it easier to track and associate git commits with their respective MantisBT tickets. <b>The Source Integration plugin scans the git commit messages for specific keywords in order to execute the following actions:</b>
|
||
</p><p><b>Note</b> The below keywords need to be added in the <u>git commit message</u> and not the PR subject
|
||
</p>
|
||
<h3><span class="mw-headline" id="Attaching_a_git_commit_to_a_ticket">Attaching a git commit to a ticket</span></h3>
|
||
<p>The format MantisBT will recognize:
|
||
</p>
|
||
<ul><li> bug #1234</li>
|
||
<li> bugs #1234, #5678</li>
|
||
<li> issue #1234</li>
|
||
<li> issues #1234, #5678</li>
|
||
<li> report #1234</li>
|
||
<li> reports #1234, #5678</li></ul>
|
||
<p><small>For the inquisitive here is the regex MantisBT uses for this operation: <br />
|
||
<code>/(?:bugs?|issues?|reports?)+\s*:?\s+(?:#(?:\d+)[,\.\s]*)+/i</code></small>
|
||
</p>
|
||
<h3><span class="mw-headline" id="Remotely_resolving_a_ticket">Remotely resolving a ticket</span></h3>
|
||
<p>The format MantisBT will recognize:
|
||
</p>
|
||
<ul><li> fix #1234</li>
|
||
<li> fixed #1234</li>
|
||
<li> fixes #1234</li>
|
||
<li> fixed #1234, #5678</li>
|
||
<li> fixes #1234, #5678</li>
|
||
<li> resolve #1234</li>
|
||
<li> resolved #1234</li>
|
||
<li> resolves #1234</li>
|
||
<li> resolved #1234, #5678</li>
|
||
<li> resolves #1234, #5678</li></ul>
|
||
<p><small>For the inquisitive here is the regex MantisBT uses for this operation: <br />
|
||
<code>/(?:fixe?d?s?|resolved?s?)+\s*:?\s+(?:#(?:\d+)[,\.\s]*)+/i</code></small>
|
||
</p>
|
||
<h2><span class="mw-headline" id="Related">Related</span></h2>
|
||
<ul><li> <a href="Bug_Triage.html" title="Bug Triage">Bug Triage</a></li>
|
||
<li> <a href="Source_Code_Management.html" class="mw-redirect" title="Source Code Management">Source Code Management</a></li></ul>
|
||
|
||
<div style="clear:both"></div>
|
||
</div>
|
||
|
||
|
||
|
||
</div>
|
||
|
||
</div><div class="printfooter">
|
||
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Tracker/it&oldid=243355">http://www.freecadweb.org/wiki/index.php?title=Tracker/it&oldid=243355</a>"</div>
|
||
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
||
</div>
|
||
</div>
|
||
<div id="mw-navigation">
|
||
<h2>Navigation menu</h2>
|
||
|
||
</body></html> |