Tracker/de: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Created page with "# '''WICHTIGː''' Bevor ein potentielle Funktionsanfrage gestellt wird, '''stelle bitte sicher, dass du der erstebist, der dies tut, indem du die Foren und den Fehlerverfolger...")
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
[[File:Mantis_logo_262x90.png|right|link=https://freecadweb.org/tracker/MantisBT is the bugtracker framework FreeCAD uses]]
{{Docnav/de
The address of our bug tracker is:
|[[Licence/de|Lizenz]]
|[[Bug Triage/de|Fehlersichtung]]
}}

{{TOCright}}
[[File:Mantis_logo_262x90.png|center|link=https://freecadweb.org/tracker/MantisBT ist das von FreeCAD verwendete Fehlerverfolger Rahmenstruktur]]

Der [https://www.freecadweb.org/tracker FreeCAD FehlerVerfolger] ist der Ort umː Fehler zu melden, Funktionsanfragen zu übermitteln, Änderungssätze einzureichen oder deine Verzweigung zusammenführen zu können, wenn du etwas unter Verwendung von Git entwickelt hast. Der Verfolger ist in 'Arbeitsbereiche' unterteilt, also sei bitte präzise und reiche deine Anfrage in dem entsprechenden Unterabschnitt ein. Im Zweifelsfall belasse sie im Abschnitt "FreeCAD".


https://www.freecadweb.org/tracker


== Empfohlener Arbeitsablauf ==
There you can report bugs, submit feature requests, patches, or request to merge your branch if you developed something using git. The tracker is divided into modules, so please be specific and file your request in the appropriate subsection. In case of doubt, leave it in the "FreeCAD" section.
[[File:Bugreport-workflow.png|center]]


Wie im obigen Flussdiagramm dargestellt, durchsuche bitte vor dem Erstellen von Tickets immer zuerst die Foren und den Fehlerverfolger, um herauszufinden, ob dein Problem ein bekanntes Problem ist. Dies erspart Entwicklern und Freiwilligen eine Menge Zeit/Arbeit, die diese Zeit damit verbringen könnte, FreeCAD noch fantastischer zu machen.
Please before creating tickets, always first discuss bugs in the [http://forum.freecadweb.org/viewforum.php?f=3 Help forum] and feature requests in the [http://forum.freecadweb.org/viewforum.php?f=8 Open discussion forum].


== Reporting bugs ==
== Fehler melden ==


Wenn du glaubst, einen Fehler gefunden zu haben, kannst du ihn gerne melden, solange du unsere Schritt-für-Schritt-Richtlinien befolgt hast.
If you think you might have found a bug, you are welcome to report it there so long as you have first discussed the matter in the appropriate forum. But before reporting a bug, please check the following items:


* Make sure you're using the most up to date version of FreeCAD. '''NOTEː''' your bug may be fixed in the Development (unstable) version. The average user runs the stable version of FC.
* Make sure your bug is really a bug, that is, something that should be working and that is not working. If you are not sure, don't hesitate to explain your problem on the [http://forum.freecadweb.org/ forum] and ask what to do.
* Before submitting anything, read the [[FAQ|frequently asked questions]], do a search on the [http://forum.freecadweb.org/ forum], and make sure the same bug hasn't been reported before, by doing a search on the bug tracker.
* Make sure your bug is really a bug, that is, something that should be working but isn't. '''Make sure the same bug hasn't been reported before by first searching the bugtracker and forum'''.
** Rememberː if you aren't sure, please don't hesitate to explain your problem/bug in the [http://forum.freecadweb.org/viewforum.php?f=3 Help forum] and ask what to do.
** '''Note'''ː before posting to the forum please read the [https://forum.freecadweb.org/viewtopic.php?f=3&t=2264 Forum Guidelines].
* Describe as clearly as possible the problem, and how it can be reproduced. If we can not verify the bug, we might not be able to fix it.
* Describe as clearly as possible the problem, and how it can be reproduced. If we can not verify the bug, we might not be able to fix it.
** This means '''reporting in a clear, well-formatted, step-by-step fashion''' so even an amateur user could reproduce.
* Include all the information from the "Copy to Clipboard" button in the Help (menu) -> About FreeCAD dialogue and do so from either the Part or PartDesign workbench so that your data will include your OCC or OCE version.
** Recommendedː '''Screenshots''' of the bug are also very helpful to include. Windows users: please do not attach screen captures in Word or PDF format. Use the Windows Snipping tool to save your capture as a PNG image.
** Recommendedː Even better, an '''Animated gif or Screencast''' would also increase the likelihood of reproducing the issue.
* '''Add an example FreeCAD file''' (.FCStd file) so devs/testers can quickly reproduce the bug.
** Please don't zip your *.FCStd file, it is already zipped.
** File attachments are limited in size. If your *.FCStd file is too big to attach, you can use an online storage service (many are free like Google Drive, Microsoft OneDrive, Dropbox).
* Include all the information from the "Copy to Clipboard" button in the '''Help (menu) -> About FreeCAD''' dialogue. Make sure your data includes your OCC or OCE version.
* Please file one separate report for each bug.
* Please file one separate report for each bug.
* If you are on a linux system and your bug causes a crash in FreeCAD, you can try running a debug backtrace: From a terminal run ''gdb freecad'' (assuming package gdb is installed), then, inside gdb, type ''run'' . FreeCAD will then run. After the crash happens, type ''bt'' , to get the full backtrace. Include that backtrace in your bug report.
* If your bug causes a crash in FreeCAD and you're on a system that supports it you can try running a '''debug backtrace''' and attach said trace to the ticket. This can save devs a lot of time pinpointing the source of the crash. See [[Debugging|Debugging]] for more details.


== Requesting features ==
== Anfordern von Funktionen ==


Wenn du möchtest, dass etwas in FreeCAD erscheint, das noch nicht implementiert ist, <u>es handelt sich nicht um einen Fehler, sondern um eine Funktionsanfrage</u>.
If you want something to appear in FreeCAD that is not implemented yet, <u>it is not a bug but a feature request</u>. You can also submit it on the same tracker (file it under ''feature request'' instead of bug), but keep in mind there are no guarantees that your wish will be fulfilled.
[[File:MantisBT-setting-Feature-Request.jpg|thumb|FreeCAD Bugtracker report page - use the dropdown to correctly designate what the ticket is]]


# '''WICHTIGː''' Bevor ein potentielle Funktionsanfrage gestellt wird, '''stelle bitte sicher, dass du der erstebist, der dies tut, indem du die Foren und den Fehlerverfolger durchsuchst'''. Wenn du zu dem Schluss gekommen bist, dass es keine bereits existierenden Tickets / Diskussionen gibt, ist der nächste Schrittː
== Submitting patches ==
# Starte einen Forumsbeitrag, um deinen Funktionsanfrage mit der Gemeinschaft über das [http://forum.freecadweb.org/viewforum.php?f=8 Diskussionsforum öffnen] zu diskutieren.
# Sobald die Gemeinschaft damit einverstanden ist, dass es sich um ein gültige Funktion handelt, kannst du ein Ticket auf dem Fehlerverfolger öffnen (legen es unter ''Funktionsanfrage'' statt ''Fehler'' ab).
* '''ANMERKUNG #1''' Um die Dinge in Ordnung zu halten, denke bitte daran, die URL des Forumsbeitrag in das Ticket und die Ticketnummer (als Verknüpfung) in den Forumbeitrag zu verknüpfen.
* Beachte bitte, dass es keine Garantien gibt, dass dein Wunsch erfüllt wird.
[[File:MantisBT-setting-Feature-Request.jpg|thumb|FreeCAD Fehlerverfolger-Berichtsseite - verwende die Auswahlliste, um korrekt zu bestimmen, was das Ticket ist]]


== Einreichen von Änderungssätzen ==
In case you have programmed a bug fix, an extension or something else that can be of public use in FreeCAD, create a patch using the Git diff tool and submit it on the same tracker (file it as patch).


Falls du eine Fehlerbehebung, eine Erweiterung oder etwas anderes programmiert hast, das in FreeCAD von öffentlichem Nutzen sein kann, erstelle einen Änderungssatz mit dem Git diff Werkzeug und sende ihn auf demselben Fehlerverfolger (Datei als ''Patch'' ablegen).
== Requesting merge ==


Addendumː FreeCAD development has switched to the [https://github.com/FreeCAD/FreeCAD GitHub] development model so the workflow for submitting patches has been greatly enhanced/streamlined by submitting Pull Requests.
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,bitbucket, sourceforge...) and then give the URL of your branch in your merge request.
* Open a forum thread in the Developer subforum to announce and discuss your patch.
* Submit your PR to the [http://github.com/FreeCAD/FreeCAD FreeCAD GitHub repo]. Be sure to link the forum thread in to the git commit summary.
* Paste the PR link in to the forum thread for the devs/testers to test.
* Be present for the discussion so that your code can potentially be merged more effectively.
'''NOTEː''' the FreeCAD community recommends to first discuss any large revision to the source code in advance to save everyone time.


== Zusammenführen anfragen ==
== MantisBT Tips and Tricks ==

MantisBT (Mantis Bug Tracker) has it's own unique markup. Here is a list of useful ones:
(Dieselben Richtlinien wie [https://www.freecadweb.org/wiki/Tracker#Submitting_patches Einreichen von Änderungssätzen])

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.

== MantisBT Tips und Tricks ==

=== MantisBT Markup ===
MantisBT (Mantis Bug Tracker) has it's own unique markup.
* '''@'''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
* '''@'''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
[[File:mantisbt-mention-example.jpg|center|600px]]
[[File:mantisbt-mention-example.jpg|center|600px]]
Line 39: Line 72:
*: '''Note''': 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>.
*: '''Note''': 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>.
[[File:mantisbt-ticket-shortcut-example.jpg|center|600px]]
[[File:mantisbt-ticket-shortcut-example.jpg|center|600px]]
* '''~'''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 ''ticket number:comment number'' of said ticket
* '''~'''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 ''ticket number:comment number'' of said ticket
[[File:mantisbt-comment-shortcut-example.jpg|center|600px]]
[[File:mantisbt-comment-shortcut-example.jpg|center|600px]]
* '''<nowiki><del></del></nowiki>''' - Using these tags will <s>strikeout text</s>.
* '''<nowiki><del></del></nowiki>''' - Using these tags will <s>strikeout text</s>.
Line 45: Line 78:
* '''<nowiki><code></code></nowiki>''' - To present a line or block of code, use this tag and it will colorize and differentiate it elegantly.
* '''<nowiki><code></code></nowiki>''' - To present a line or block of code, use this tag and it will colorize and differentiate it elegantly.
[[File:mantisbt-colorized-code-example.jpg|center|600px]]
[[File:mantisbt-colorized-code-example.jpg|center|600px]]

=== MantisBT BBCode ===
In addition to the above [[Tracker#MantisBT_Markup|MantisBT Markup]] one also has the possibility to use BBCode format. For a comprehensive list see the [https://github.com/mantisbt-plugins/BBCodePlus#supported-bbcode-tags BBCode plus plugin page]. 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>

=== MantisBT <=> GitHub Markup ===
=== MantisBT <=> GitHub Markup ===
Below are special MantisBT Source-Integration plugin keywords which will link to the FreeCAD GitHub repo. See [[Tracker#GitHub_and_MantisBT]].
Below are special MantisBT Source-Integration plugin keywords which will link to the FreeCAD GitHub repo. See [[Tracker#GitHub_and_MantisBT]].
Line 53: Line 122:
{{clear}}
{{clear}}


== GitHub and MantisBT ==
== GitHub und MantisBT ==
The FreeCAD bugtracker has a plug-in called [https://github.com/mantisbt-plugins/source-integration Source Integration] 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. '''The Source Integration plugin scans the git commit messages for specific keywords in order to execute the following actions:'''
Der FreeCAD Fehlerverfolger verfügt über ein ZUsatzprogramm namens [https://github.com/mantisbt-plugins/source-integration Quellintegration], das im Wesentlichen sowohl das FreeCAD GitHub Repo als auch unseren MantisBT Fehlerverolger verbindet. Es macht es einfacher, Git Verpflichtungen zu verfolgen und mit ihren jeweiligen MantisBT Tickets zu verknüpfen. '''Das Quellintegrationszusatzprogramm durchsucht die Git Verpflichtungsnachrichten nach bestimmten Schlüsselwörtern, um die folgenden Aktionen auszuführen:'''


'''Note''' The below keywords need to be added in the <u>git commit message</u> and not the PR subject
'''Hinweis''' Die folgenden Schlüsselwörter müssen in der <u>git commit message</u> und nicht im PR Thema hinzugefügt werden


=== Attaching a git commit to a ticket ===
=== Remotely referencing a ticket ===
Using this pattern will automagically associate a git commit to a ticket ('''Note:''' this will not close the ticket.)
The format MantisBT will recognize:
The format MantisBT will recognize:
* bug #1234
* bug #1234
Line 66: Line 136:
* report #1234
* report #1234
* reports #1234, #5678
* reports #1234, #5678
<small>For the inquisitive here is the regex MantisBT uses for this operation: <br>
<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>
<code>/(?:bugs?|issues?|reports?)+\s*:?\s+(?:#(?:\d+)[,\.\s]*)+/i</code></small>


Line 81: Line 151:
* resolved #1234, #5678
* resolved #1234, #5678
* resolves #1234, #5678
* resolves #1234, #5678
<small>For the inquisitive here is the regex MantisBT uses for this operation: <br>
<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>
<code>/(?:fixe?d?s?|resolved?s?)+\s*:?\s+(?:#(?:\d+)[,\.\s]*)+/i</code></small>


== Verwandtes ==
{{docnav/de|Licence/de|CompileOnWindows/de}}
* [[Bug Triage/de|Fehlersichtung]]
* [[Source Code Management/de|Quellcodeverwaltung]]


{{Docnav/de
[[Category:Developer Documentation/de]]
|[[Licence/de|Lizenz]]
|[[Bug Triage/de|Fehlersichtung]]
}}


{{clear}}
{{clear}}

<languages/>
{{Userdocnavi{{#translation:}}}}

[[Category:Developer Documentation{{#translation:}}]]

[[Category:Administration{{#translation:}}]]

Revision as of 12:05, 15 August 2020

link=https://freecadweb.org/tracker/MantisBT ist das von FreeCAD verwendete Fehlerverfolger Rahmenstruktur
link=https://freecadweb.org/tracker/MantisBT ist das von FreeCAD verwendete Fehlerverfolger Rahmenstruktur

Der FreeCAD FehlerVerfolger ist der Ort umː Fehler zu melden, Funktionsanfragen zu übermitteln, Änderungssätze einzureichen oder deine Verzweigung zusammenführen zu können, wenn du etwas unter Verwendung von Git entwickelt hast. Der Verfolger ist in 'Arbeitsbereiche' unterteilt, also sei bitte präzise und reiche deine Anfrage in dem entsprechenden Unterabschnitt ein. Im Zweifelsfall belasse sie im Abschnitt "FreeCAD".


Empfohlener Arbeitsablauf

Wie im obigen Flussdiagramm dargestellt, durchsuche bitte vor dem Erstellen von Tickets immer zuerst die Foren und den Fehlerverfolger, um herauszufinden, ob dein Problem ein bekanntes Problem ist. Dies erspart Entwicklern und Freiwilligen eine Menge Zeit/Arbeit, die diese Zeit damit verbringen könnte, FreeCAD noch fantastischer zu machen.

Fehler melden

Wenn du glaubst, einen Fehler gefunden zu haben, kannst du ihn gerne melden, solange du unsere Schritt-für-Schritt-Richtlinien befolgt hast.

  • Make sure you're using the most up to date version of FreeCAD. NOTEː your bug may be fixed in the Development (unstable) version. The average user runs the stable version of FC.
  • Make sure your bug is really a bug, that is, something that should be working but isn't. Make sure the same bug hasn't been reported before by first searching the bugtracker and forum.
    • Rememberː if you aren't sure, please don't hesitate to explain your problem/bug in the Help forum and ask what to do.
    • Noteː before posting to the forum please read the Forum Guidelines.
  • Describe as clearly as possible the problem, and how it can be reproduced. If we can not verify the bug, we might not be able to fix it.
    • This means reporting in a clear, well-formatted, step-by-step fashion so even an amateur user could reproduce.
    • Recommendedː Screenshots of the bug are also very helpful to include. Windows users: please do not attach screen captures in Word or PDF format. Use the Windows Snipping tool to save your capture as a PNG image.
    • Recommendedː Even better, an Animated gif or Screencast would also increase the likelihood of reproducing the issue.
  • Add an example FreeCAD file (.FCStd file) so devs/testers can quickly reproduce the bug.
    • Please don't zip your *.FCStd file, it is already zipped.
    • File attachments are limited in size. If your *.FCStd file is too big to attach, you can use an online storage service (many are free like Google Drive, Microsoft OneDrive, Dropbox).
  • Include all the information from the "Copy to Clipboard" button in the Help (menu) -> About FreeCAD dialogue. Make sure your data includes your OCC or OCE version.
  • Please file one separate report for each bug.
  • If your bug causes a crash in FreeCAD and you're on a system that supports it you can try running a debug backtrace and attach said trace to the ticket. This can save devs a lot of time pinpointing the source of the crash. See Debugging for more details.

Anfordern von Funktionen

Wenn du möchtest, dass etwas in FreeCAD erscheint, das noch nicht implementiert ist, es handelt sich nicht um einen Fehler, sondern um eine Funktionsanfrage.

  1. WICHTIGː Bevor ein potentielle Funktionsanfrage gestellt wird, stelle bitte sicher, dass du der erstebist, der dies tut, indem du die Foren und den Fehlerverfolger durchsuchst. Wenn du zu dem Schluss gekommen bist, dass es keine bereits existierenden Tickets / Diskussionen gibt, ist der nächste Schrittː
  2. Starte einen Forumsbeitrag, um deinen Funktionsanfrage mit der Gemeinschaft über das Diskussionsforum öffnen zu diskutieren.
  3. Sobald die Gemeinschaft damit einverstanden ist, dass es sich um ein gültige Funktion handelt, kannst du ein Ticket auf dem Fehlerverfolger öffnen (legen es unter Funktionsanfrage statt Fehler ab).
  • ANMERKUNG #1 Um die Dinge in Ordnung zu halten, denke bitte daran, die URL des Forumsbeitrag in das Ticket und die Ticketnummer (als Verknüpfung) in den Forumbeitrag zu verknüpfen.
  • Beachte bitte, dass es keine Garantien gibt, dass dein Wunsch erfüllt wird.
FreeCAD Fehlerverfolger-Berichtsseite - verwende die Auswahlliste, um korrekt zu bestimmen, was das Ticket ist

Einreichen von Änderungssätzen

Falls du eine Fehlerbehebung, eine Erweiterung oder etwas anderes programmiert hast, das in FreeCAD von öffentlichem Nutzen sein kann, erstelle einen Änderungssatz mit dem Git diff Werkzeug und sende ihn auf demselben Fehlerverfolger (Datei als Patch ablegen).

Addendumː FreeCAD development has switched to the GitHub development model so the workflow for submitting patches has been greatly enhanced/streamlined by submitting Pull Requests.

  • Open a forum thread in the Developer subforum to announce and discuss your patch.
  • Submit your PR to the FreeCAD GitHub repo. Be sure to link the forum thread in to the git commit summary.
  • Paste the PR link in to the forum thread for the devs/testers to test.
  • Be present for the discussion so that your code can potentially be merged more effectively.

NOTEː the FreeCAD community recommends to first discuss any large revision to the source code in advance to save everyone time.

Zusammenführen anfragen

(Dieselben Richtlinien wie Einreichen von Änderungssätzen)

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.

MantisBT Tips und Tricks

MantisBT Markup

MantisBT (Mantis Bug Tracker) has it's own unique markup.

  • @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
  • #1234 - By adding a hash tag in front of a number a shortcut to link to another ticket within MantisBT will present.
    Note: if you hover over a ticket it will show you the summary + if the ticket is closed, it will be struck-through like #1234.
  • ~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 ticket number:comment number of said ticket
  • <del></del> - Using these tags will strikeout text.
  • <code></code> - To present a line or block of code, use this tag and it will colorize and differentiate it elegantly.

MantisBT BBCode

In addition to the above MantisBT Markup one also has the possibility to use BBCode format. For a comprehensive list see the BBCode plus plugin page. Here is a list of supported BBCode tagsː
[img][/img] - Images
[url][/url] - Links
[email][/email] - Email addresses
[color=red][/color] - Colored text
[highlight=yellow][/highlight] - Highlighted text
[size][/size] - Font size
[list][/list] - Lists
[list=1][/list] - Numbered lists (number is starting number)
[*] - List items
[b][/b] - Bold
[u][/u] - underline
[i][/i] - Italic
[s][/s] - Strikethrough
[left][/left] - Left align
[center][/center] - Center
[right][/right] - Right align
[justify][/justify] - Justify
[hr] - Horizontal rule
[sub][/sub] - Subscript
[sup][/sup] - Superscript
[table][/table] - Table
[table=1][/table] - Table with border of specified width
[tr][/tr] - Table row
[td][/td] - Table column
[code][/code] - Code block
[code=sql][/code] - Code block with language definition
[code start=3][/code] - Code block with line numbers starting at number
[quote][/quote] - Quote by *someone* (no name)
[quote=name][/quote] - Quote by *name*

MantisBT <=> GitHub Markup

Below are special MantisBT Source-Integration plugin keywords which will link to the FreeCAD GitHub repo. See Tracker#GitHub_and_MantisBT.

  • c:FreeCAD:git commit hash: - c 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ː cːFreeCADː709d2f325db0490016807b8fa6f49d1c867b6bd8ː
  • d:FreeCAD:git commit hash: - similar to the above, d stands for 'diff' which will provide a Diff view of the commit. Exampleː dːFreeCADː709d2f325db0490016807b8fa6f49d1c867b6bd8ː
  • p:FreeCAD:pullrequest: - similar to the above, p stands for Pull Request. Exampleː pːFreeCADː498ː

GitHub und MantisBT

Der FreeCAD Fehlerverfolger verfügt über ein ZUsatzprogramm namens Quellintegration, das im Wesentlichen sowohl das FreeCAD GitHub Repo als auch unseren MantisBT Fehlerverolger verbindet. Es macht es einfacher, Git Verpflichtungen zu verfolgen und mit ihren jeweiligen MantisBT Tickets zu verknüpfen. Das Quellintegrationszusatzprogramm durchsucht die Git Verpflichtungsnachrichten nach bestimmten Schlüsselwörtern, um die folgenden Aktionen auszuführen:

Hinweis Die folgenden Schlüsselwörter müssen in der git commit message und nicht im PR Thema hinzugefügt werden

Remotely referencing a ticket

Using this pattern will automagically associate a git commit to a ticket (Note: this will not close the ticket.) The format MantisBT will recognize:

  • bug #1234
  • bugs #1234, #5678
  • issue #1234
  • issues #1234, #5678
  • report #1234
  • reports #1234, #5678

For the inquisitive here is the regex MantisBT uses for this operation:
/(?:bugs?|issues?|reports?)+\s*:?\s+(?:#(?:\d+)[,\.\s]*)+/i

Remotely resolving a ticket

The format MantisBT will recognize:

  • fix #1234
  • fixed #1234
  • fixes #1234
  • fixed #1234, #5678
  • fixes #1234, #5678
  • resolve #1234
  • resolved #1234
  • resolves #1234
  • resolved #1234, #5678
  • resolves #1234, #5678

For the inquisitive here is the regex MantisBT uses for this operation:
/(?:fixe?d?s?|resolved?s?)+\s*:?\s+(?:#(?:\d+)[,\.\s]*)+/i

Verwandtes