reportabug
Qt application which allows users to create an issue for GitHub projects
 All Classes Namespaces Files Functions Variables Macros
config.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This file is part of reportabug *
3  * *
4  * This library is free software; you can redistribute it and/or *
5  * modify it under the terms of the GNU Lesser General Public *
6  * License as published by the Free Software Foundation; either *
7  * version 3.0 of the License, or (at your option) any later version. *
8  * *
9  * This library is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
12  * Lesser General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU Lesser General Public *
15  * License along with this library. *
16  ***************************************************************************/
17 
18 #ifndef CONFIG_H
19 #define CONFIG_H
20 
21 #include <inconfig.h>
22 
23 
24 /*
25  * Main configuration
26  */
27 // the owner of the source repository
28 #define OWNER "arcan1s"
29 // project name
30 #define PROJECT "reportabug"
31 // tags defaults
32 #define TAG_TITLE "A new bug"
33 #define TAG_BODY "Some error occurs"
34 // the following tags will work only if user has push access
35 // if they will be empty, they will be ignored
36 #define TAG_ASSIGNEE "$OWNER"
37 #define TAG_MILESTONE ""
38 // comma separated
39 #define TAG_LABELS "auto,bug"
40 
41 /*
42  * Configuration of creating an issue using GitHub API
43  */
44 // combobox text
45 #define GITHUB_COMBOBOX "I want to report a bug using my GitHub account"
46 // issues url; in the most cases do not touch it
47 // available tags are $PROJECT, $OWNER
48 #define ISSUES_URL "https://api.github.com/repos/$OWNER/$PROJECT/issues"
49 
50 /*
51  * Configuration of creating an issue using GitHub API and own token
52  *
53  * This module will be used instead of GitReport module.
54  * To create a token please visit https://github.com/settings/applications
55  * and generate new one. Needed scopes are public_repo
56  * (or repo if you will use it for a private repository).
57  * Please keep in mind that passing the token in the clear,
58  * you may discredit your account.
59  */
60 
61 /*
62  * Configuration of creating an issue using GitReports
63  *
64  * Please, visit https://gitreports.com/
65  * and set up it for your repository.
66  */
67 // combobox text
68 #define GITREPORT_COMBOBOX "GitHub? I don't understand what do you want from me!"
69 // public link; in the most cases do not touch it
70 // available tags are $PROJECT, $OWNER
71 #define PUBLIC_URL "https://gitreports.com/issue/$OWNER/$PROJECT"
72 // captcha url; in the most cases do not touch it
73 #define CAPTCHA_URL "https://gitreports.com/simple_captcha?code="
74 
75 
76 #endif /* CONFIG_H */