-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Steal everything possible from Gurtle
- Loading branch information
Showing
103 changed files
with
3,698 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
# TurtleHub | ||
TortoiseGit issue tracker plugin for projects hosted on GitHub | ||
[TortoiseGit](https://tortoisegit.org/) issue tracker plugin for projects hosted on GitHub. | ||
|
||
Actual not working. | ||
*This is still in the early development stages, but should still be useful.* | ||
|
||
Release versions can be downloaded on the [Release](https://github.com/dail8859/TurtleHub/releases) page. | ||
|
||
**Note:** This project is not affiliated with or endorsed by Github, Inc. | ||
|
||
## Usage | ||
Obviously, [TortoiseGit](https://tortoisegit.org/) must be installed. Once TurtleHub is installed, right-click and go to `TortoiseGit > Settings > Issue Tracker Integration` and click `Add...`. TurtleHub should show up under the `Providers` dropdown menu. The `Working Tree Path` should be set to the directory of a local git repository. Click `Options` and add the username/repository of the repository located on Github. | ||
|
||
## Development | ||
The code has been developed using Visual Studio 2013. Running the `build.cmd` batch file will build the code and also create the installers in the `bin` directory. | ||
|
||
## License | ||
This code is released under the [GNU General Public License version 2](http://www.gnu.org/licenses/gpl-2.0.txt). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
@echo off | ||
|
||
REM This file is part of TurtleHub. | ||
REM | ||
REM Copyright (C)2015 Justin Dailey <dail8859@yahoo.com> | ||
REM | ||
REM TurtleHub is free software; you can redistribute it and/or | ||
REM modify it under the terms of the GNU General Public License | ||
REM as published by the Free Software Foundation; either | ||
REM version 2 of the License, or (at your option) any later version. | ||
REM | ||
REM This program is distributed in the hope that it will be useful, | ||
REM but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
REM GNU General Public License for more details. | ||
REM | ||
REM You should have received a copy of the GNU General Public License | ||
REM along with this program; if not, write to the Free Software | ||
REM Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
|
||
pushd "%~dp0" | ||
SetLocal EnableDelayedExpansion | ||
|
||
:: load the version numbers into variables | ||
for /F "delims=, tokens=1,2,3" %%i in (src\version.txt) do ( | ||
set majorversion=%%i | ||
set minorversion=%%j | ||
set microversion=%%k | ||
REM set wcversion=%%l | ||
) | ||
:: write the AssemblyInfoVersion.cs file with the version info | ||
:: echo using System.Reflection; > src\Gurtle\Properties\AssemblyInfoVersion.cs | ||
:: echo [assembly: AssemblyVersion("%majorversion%.%minorversion%.%microversion%.%wcversion%")] >> src\Gurtle\Properties\AssemblyInfoVersion.cs | ||
:: echo [assembly: AssemblyFileVersion("%majorversion%.%minorversion%.%microversion%.%wcversion%")] >> src\Gurtle\Properties\AssemblyInfoVersion.cs | ||
|
||
:: write the VersionNumberInclude.wxi file | ||
echo ^<?xml version="1.0" encoding="utf-8"?^> > src\setup\VersionNumberInclude.wxi | ||
echo ^<Include Id="VersionNumberInclude"^> >> src\setup\VersionNumberInclude.wxi | ||
echo ^<?define MajorVersion="%majorversion%" ?^> >> src\setup\VersionNumberInclude.wxi | ||
echo ^<?define MinorVersion="%minorversion%" ?^> >> src\setup\VersionNumberInclude.wxi | ||
echo ^<?define MicroVersion="%microversion%" ?^> >> src\setup\VersionNumberInclude.wxi | ||
REM echo ^<?define BuildVersion="%wcversion%" ?^> >> src\setup\VersionNumberInclude.wxi | ||
echo ^</Include^> >> src\setup\VersionNumberInclude.wxi | ||
|
||
for %%i in (Debug Release) do ( | ||
"%SystemRoot%\Microsoft.NET\Framework\v3.5\msbuild" /p:Configuration=%%i /p:Platform=x86 src\TurtleHub.sln | ||
"%SystemRoot%\Microsoft.NET\Framework\v3.5\msbuild" /p:Configuration=%%i /p:Platform=x64 src\TurtleHub.sln | ||
) | ||
|
||
:: build the installer | ||
del bin\*.msi | ||
pushd src\Setup | ||
for %%a in (x86 x64) do ( | ||
echo Building setup for %%a platform | ||
set Platform=%%a | ||
..\..\tools\WiX\candle -nologo -out ..\..\bin\Setup-%%a.wixobj Setup.wxs | ||
..\..\tools\WiX\light -nologo -sice:ICE08 -sice:ICE09 -sice:ICE32 -sice:ICE61 -out ..\..\bin\TurtleHub-%majorversion%.%minorversion%.%microversion%-%%a.msi ..\..\bin\Setup-%%a.wixobj -ext WixUIExtension -cultures:en-us | ||
REM ..\..\tools\WiX\candle -nologo -out ..\..\bin\MergeModule-%%a.wixobj MergeModule.wxs | ||
REM ..\..\tools\WiX\light -nologo -sice:ICE08 -sice:ICE09 -sice:ICE32 -sice:ICE61 -out ..\..\bin\TurtleHub-%majorversion%.%minorversion%.%microversion%-%%a.msm ..\..\bin\MergeModule-%%a.wixobj | ||
) | ||
popd | ||
del bin\*.wixobj | ||
del bin\*.wixpdb | ||
|
||
:end | ||
|
||
popd |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
""" | ||
Export svg files to images needed for TurtleHub. | ||
""" | ||
|
||
import subprocess as sp | ||
|
||
exe_path = "C:\Program Files\Inkscape\inkscape.exe" | ||
fname = "turtle_hub-%d.png" | ||
sizes = [16, 32, 64, 128] | ||
|
||
|
||
def generate_logos(): | ||
cmd = exe_path + " --export-png " + fname + " -w %d turtlehub_logo.svg" | ||
for w in sizes: | ||
print "Exporting logo size %dx%d..." % (w, w) | ||
sp.call(cmd % (w, w)) | ||
|
||
def generate_ico(): | ||
print "Generating icon..." | ||
cmd = "png2ico.exe TurtleHub.ico " + " ".join(fname % (w) for w in sizes) | ||
sp.call(cmd) | ||
|
||
def generate_banner(): | ||
print "Exporting banner..." | ||
cmd = exe_path + " --export-png ../src/Setup/Banner.png -w 493 turtlehub_banner.svg" | ||
sp.call(cmd) | ||
|
||
def generate_dialog(): | ||
print "Exporting dialog..." | ||
cmd = exe_path + " --export-png ../src/Setup/Dialog.png -w 493 turtlehub_dialog.svg" | ||
sp.call(cmd) | ||
|
||
if __name__ == "__main__": | ||
generate_logos() | ||
generate_ico() | ||
generate_banner() | ||
generate_dialog() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.