Root > Integral parts > Options > Report sending page > GitLab

GitLab

Previous pageReturn to chapter overviewNext page   

This is setup options for GitLab send method (wsmGitLab). They are located at Sending tab.

 

 

GitLab send method options

 

Important Note: we recommend to consider using external bug tracker (such as Jira) to avoid limitations of GitLab.

 

 

1. "URL" (.SendGitLabURL) option specifies target URL for your GitLab installation. Do not add here "http://" or ":80" parts here. Specify only domain name (or IP) and path. Example: gitlab.com/

 

 

2. "Port" (.SendGitLabPort) option specifies HTTP port on web server. It's 80 by default. Other common value is 8080. For SSL/TLS it's usually 443. Port will be set automatically to 80/443 by default.

 

 

3. "SSL / TLS" (.SendGitLabSSL) option enabled secure mode (HTTPS protocol). Port will be set automatically to 80/443 by default. Don't forget to adjust port number, if you are using an alternative port number.

 

 

4. "Token" (.SendGitLabPassword) option specifies your account on GitLab server. This account will be used to submit bug reports. You can create a new API Key in your GitLab project profile.

 

Warning: your real account's data will be stored inside application. Even if it's encrypted - it's still stored inside .exe, so it can be stolen. See also: GitLab setup, Security Considerations.

 

 

5. "Proxy" (.SendGitLabProxyHost, .SendGitLabProxyPort, .SendGitLabProxyLogin, .SendGitLabProxyPassword) options specify proxy details. You can leave them blank to use system-provided settings. Or you can fill these values to set custom proxy.

 

 

6. "Connect" button will try to connect to your GitLab server using the specified URL/port/credentials. If you made a mistake in your configuration - an error message will be displayed. In case of success - field below will be populated from configuration of your bug tracker.

 

 

 

7. "Project" (.SendGitLabProject) options specifies project name to store bug reports. It's mandatory. Project name is case-insensitive.

 

 

8. "Opened statuses" (.SendGitLabOpenedStatuses) option specifies which statuses indicate that issue is NEW. The list can contain one of more values. Separate individual values with semicolon (";"). This option is case insensitive.

 

See also: issues workflow.

 

 

9. "Closed statuses" (.SendGitLabClosedStatuses) option specifies which statuses indicate that issue is CLOSED. The list can contain one of more values. Separate individual values with semicolon (";"). This option is case insensitive.

 

See also: issues workflow.

 

 

10. "Add environment to labels" (.SendGitLabUseEnvironment) option instructs EurekaLog to use add store PC and OS information in labels for the issue. Disable this option to disable this behavior. Please note that EurekaLog will still fill a minimal amount of information to labels (such as BugID).

 

 

11. "Post bugs only for released builds" (.SendGitLabUseVersion) option instructs EurekaLog to check released versions ("tags") before posting a new issue. Disable this option to always post bugs regardless of version of your application.

 

Notes:

You must enter valid versions into GitLab's configuration. You also need to store version information in your executables;
While tag's name can be arbitrary string, we recommend to use 4-number format like "v1.0.0.0 something", otherwise EurekaLog would not be able to understand what version this tag is for;
A project version will be used during sending. The version is extracted from version information of your project's executable;
Exception's module version is not used for sending (unless exception's module matches project's module);
We recommend to enable this option for production.

 

 

12. "Search match up to N numbers" (.SendGitLabMinVersion) option specifies how version search is performed.

 

Because bug tracker may create versions in an arbitrary format (like "Version 1" or "7.3 hotfix 2"), and application uses 4 numbers format (like "7.3.2.0") - EurekaLog has to perform heuristic search:

First, EurekaLog looks up exact match (e.g. "7.3.2.0" = "7.3.2.0"; or "7.3.2.0" = "v7.3.2.0");
Second, EurekaLog tries to find version with same numbers (e.g. "7.3.2.0" = "7.3.02.000");
Third, EurekaLog performs partial search (e.g. "7.3.2.0" = "7.3.2", or "7.3.2.0" = "7.3", or "7.3.2.0" = "7.3 Beta"). The search is always performed from longer matches to shorter. E.g. when searching "7.3.2.0": "7.3.2" has higher priority than "7.3".

 

This option indicate when EurekaLog need to stop when searching version:

A value of 4 means "all four numbers must match". This is a strict search.
Value of 3 means that search would fail if there is no match with at least 3 number (e.g. "7.3.2");
Value of 2 means that search would fail if there is no match with at least 2 number (e.g. "7.3");
Value of 1 means that search would fail if there is no match with at least 1 number (e.g. "7").

 

We recommend to use value of 4 for this option, because it greatly reduces possible ambiguity. However, it will mean that you have to enter each build (even very minor one) of your application in your bug tracker's configuration.

 

Value of 1 means using very wide criteria. We do not recommend to use it. If you are still going to use it - be sure not to enter too much sub-versions in your bug tracker, especially with added text.

 

Values of 2 and 3 are a good compromise.

 

 

13. "Upload bug report files for duplicates until bug is closed" (.SendGitLabUploadFilesForDups) option allows you to collect all bug reports. If this option is unchecked (default): only first bug report is uploaded and stored. All other bug reports for the same problem (identified by BugID) will be discarded. Only "Weight" field will be increased (if it is available). If this option is checked: bug reports for the same problem will be uploaded to issue.

 

Notes:

if you check this option be sure to name bug report files in unique way to avoid file names duplicates. Also, be sure to have a lot of hard disk space to store all bug reports.
bug reports will not be uploaded, once the issue is closed or resolved.
you can also stop collecting files by changing status to "In progress".

 

See also: issues workflow.

 

 

14. "Append bug report text to additional information" (.SendGitLabAppendText) option allows you to insert bug report's text into "Description" field. It's convenient, if you need to peek bug report without downloading bug report file. You can turn this option off, if you don't need this behavior.

 

Note: checking this option will not disable bug report file upload. File will still be attached.

 

 

15. "Append only call stack instead of full report" (.SendGitLabUseCallStackAsBugReport) option alters previous option. Disabled: full bug report text will be added (e.g. general section, call stack, modules, processes, CPU/assembler, etc.); Enabled: only call stack will be added (you will still be able to view full bug report by downloading file attach).

 

 

16. "Append bug opening link to "Success" message" (.SendGitLabAllowLinks) option will add a link to view bug report on GitLab to message dialog after successful send. So end user (client) will be able to view status of the report on your bug tracker (login is required).

 

This option has no effect if successful message dialog is disabled. Turn this option on for public bug trackers. Turn this option off for private bug trackers.

 

 

"Append bug opening link to "Success" message" option is enabled

 

 

"Append bug opening link to "Success" message" option is disabled

 

Note: active hyper-link will work on Windows Vista or later. It will be displayed as plain text on Windows XP and earlier.

 

 

See also:

GitLab send method for general description of this send method



Send feedback... Build date: 2024-12-11
Last edited: 2023-03-07
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/send_options_gitlab.php