release 1.0.0

This commit is contained in:
arcan1s 2014-07-31 08:44:12 +04:00
parent 8c833a8146
commit 33f6282224
5 changed files with 39 additions and 10 deletions

View File

@ -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
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 ###

View File

@ -12,6 +12,7 @@ if (ENABLE_GITREPORT)
endif ()
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_directories (${CMAKE_CURRENT_BINARY_DIR}/../

View File

@ -18,6 +18,8 @@
#ifndef CONFIG_H
#define CONFIG_H
#include <inconfig.h>
/*
* Main configuration
@ -35,10 +37,6 @@
#define TAG_MILESTONE ""
// comma separated
#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
@ -59,10 +57,6 @@
* Please keep in mind that passing the token in the clear,
* 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

35
sources/src/inconfig.h.in Normal file
View 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 */

View File

@ -28,7 +28,6 @@
#include <QKeyEvent>
#include <QMainWindow>
#include "config.h"
class GithubModule;
class GitreportModule;