mirror of
https://github.com/arcan1s/reportabug.git
synced 2025-04-24 15:27:18 +00:00
release 1.0.0
This commit is contained in:
parent
8c833a8146
commit
33f6282224
@ -42,7 +42,7 @@ This module requires your access token. Please visit [this page](https://github.
|
|||||||
|
|
||||||
curl -X POST -H "Authorization: token token" -d '{"title":"A new bug","body":"Some error occurs"}' https://api.github.com/repos/owner/repo/issues
|
curl -X POST -H "Authorization: token token" -d '{"title":"A new bug","body":"Some error occurs"}' https://api.github.com/repos/owner/repo/issues
|
||||||
|
|
||||||
This module requires `QtNetwork` module. To enable this module set up your token using `-DOWN_GITHUB_TOKEN=0` cmake flag.
|
This module requires `QtNetwork` module. To enable this module set up your token using `-DOWN_GITHUB_TOKEN=` cmake flag.
|
||||||
|
|
||||||
### Send issue over GitReport ###
|
### Send issue over GitReport ###
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ if (ENABLE_GITREPORT)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||||
|
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/inconfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/inconfig.h)
|
||||||
|
|
||||||
# include_path
|
# include_path
|
||||||
include_directories (${CMAKE_CURRENT_BINARY_DIR}/../
|
include_directories (${CMAKE_CURRENT_BINARY_DIR}/../
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
#ifndef CONFIG_H
|
#ifndef CONFIG_H
|
||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
|
||||||
|
#include <inconfig.h>
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Main configuration
|
* Main configuration
|
||||||
@ -35,10 +37,6 @@
|
|||||||
#define TAG_MILESTONE ""
|
#define TAG_MILESTONE ""
|
||||||
// comma separated
|
// comma separated
|
||||||
#define TAG_LABELS "auto,bug"
|
#define TAG_LABELS "auto,bug"
|
||||||
// modules. Please use -DENABLE_GITHUB= and -DENABLE_GITREPORT= cmake flags
|
|
||||||
// DO NOT EDIT THEM!
|
|
||||||
#cmakedefine ENABLE_GITHUB
|
|
||||||
#cmakedefine ENABLE_GITREPORT
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configuration of creating an issue using GitHub API
|
* Configuration of creating an issue using GitHub API
|
||||||
@ -59,10 +57,6 @@
|
|||||||
* Please keep in mind that passing the token in the clear,
|
* Please keep in mind that passing the token in the clear,
|
||||||
* you may discredit your account.
|
* you may discredit your account.
|
||||||
*/
|
*/
|
||||||
// please use -DOWN_GITHUB_TOKEN= cmake flag to define it
|
|
||||||
// if it is empty, it will be ignored
|
|
||||||
// DO NOT EDIT IT!
|
|
||||||
#cmakedefine OWN_GITHUB_TOKEN "@OWN_GITHUB_TOKEN@"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configuration of creating an issue using GitReports
|
* Configuration of creating an issue using GitReports
|
||||||
|
35
sources/src/inconfig.h.in
Normal file
35
sources/src/inconfig.h.in
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
/***************************************************************************
|
||||||
|
* This file is part of reportabug *
|
||||||
|
* *
|
||||||
|
* This library is free software; you can redistribute it and/or *
|
||||||
|
* modify it under the terms of the GNU Lesser General Public *
|
||||||
|
* License as published by the Free Software Foundation; either *
|
||||||
|
* version 3.0 of the License, or (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
* This library is distributed in the hope that it will be useful, *
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||||
|
* Lesser General Public License for more details. *
|
||||||
|
* *
|
||||||
|
* You should have received a copy of the GNU Lesser General Public *
|
||||||
|
* License along with this library. *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
#ifndef INCONFIG_H
|
||||||
|
#define INCONFIG_H
|
||||||
|
|
||||||
|
|
||||||
|
// DO NOT EDIT THIS FILE
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Main configuration
|
||||||
|
*/
|
||||||
|
// modules. Please use -DENABLE_GITHUB= and -DENABLE_GITREPORT= cmake flags
|
||||||
|
#cmakedefine ENABLE_GITHUB
|
||||||
|
#cmakedefine ENABLE_GITREPORT
|
||||||
|
// please use -DOWN_GITHUB_TOKEN= cmake flag to define it
|
||||||
|
// if it is empty, it will be ignored
|
||||||
|
#cmakedefine OWN_GITHUB_TOKEN "@OWN_GITHUB_TOKEN@"
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* INCONFIG_H */
|
@ -28,7 +28,6 @@
|
|||||||
#include <QKeyEvent>
|
#include <QKeyEvent>
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
class GithubModule;
|
class GithubModule;
|
||||||
class GitreportModule;
|
class GitreportModule;
|
||||||
|
Loading…
Reference in New Issue
Block a user