Skip to content

Commit 1147fb8

Browse files
committed
Merge branch 'release/0.6.7'
2 parents 8e5f6d4 + 3e6b302 commit 1147fb8

File tree

66 files changed

+1316
-225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1316
-225
lines changed

.gitignore

+102-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,104 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
3+
### Gradle template
4+
.gradle
5+
/build/
6+
7+
# Ignore Gradle GUI config
8+
gradle-app.setting
9+
10+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
11+
!gradle-wrapper.jar
12+
13+
# Cache of project
14+
.gradletasknamecache
15+
16+
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
17+
# gradle/wrapper/gradle-wrapper.properties
18+
19+
### Java template
20+
# Compiled class file
121
*.class
2-
/.project
3-
.idea
4-
*.zip
22+
23+
# Log file
24+
*.log
25+
26+
# BlueJ files
27+
*.ctxt
28+
29+
# Mobile Tools for Java (J2ME)
30+
.mtj.tmp/
31+
32+
# Package Files #
533
*.jar
6-
out
7-
*.iml
34+
*.war
35+
*.nar
36+
*.ear
37+
*.zip
38+
*.tar.gz
39+
*.rar
40+
41+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
42+
hs_err_pid*
43+
44+
### JetBrains template
45+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
46+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
47+
48+
# User-specific stuff
49+
.idea/**/workspace.xml
50+
.idea/**/tasks.xml
51+
.idea/**/dictionaries
52+
.idea/**/shelf
53+
.idea/**/hotswap_agent.xml
54+
.idea/**/misc.xml
55+
.idea/**/checkstyle-idea.xml
56+
57+
# Sensitive or high-churn files
58+
.idea/**/dataSources/
59+
.idea/**/dataSources.ids
60+
.idea/**/dataSources.local.xml
61+
.idea/**/sqlDataSources.xml
62+
.idea/**/dynamic.xml
63+
.idea/**/uiDesigner.xml
64+
.idea/**/dbnavigator.xml
65+
66+
.idea/**/gradle.xml
67+
.idea/**/libraries
68+
.idea/**/modules.xml
69+
**/*.iml
70+
.idea/libraries/**/*.xml
71+
72+
# CMake
73+
cmake-build-debug/
74+
cmake-build-release/
75+
76+
# Mongo Explorer plugin
77+
.idea/**/mongoSettings.xml
78+
79+
# File-based project format
80+
*.iws
81+
82+
# IntelliJ
83+
out/
84+
85+
# mpeltonen/sbt-idea plugin
86+
.idea_modules/
87+
88+
# JIRA plugin
89+
atlassian-ide-plugin.xml
90+
91+
# Cursive Clojure plugin
92+
.idea/replstate.xml
93+
94+
# Crashlytics plugin (for Android Studio and IntelliJ)
95+
com_crashlytics_export_strings.xml
96+
crashlytics.properties
97+
crashlytics-build.properties
98+
fabric.properties
99+
100+
# Editor-based Rest Client
101+
.idea/httpRequests
102+
103+
# GitEye project file
104+
/.project

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

META-INF/plugin.xml

-48
This file was deleted.

build.gradle

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
plugins {
2+
id 'java'
3+
id 'org.jetbrains.intellij' version '0.3.12'
4+
}
5+
6+
group 'gitflow4idea'
7+
version '0.6.7'
8+
9+
sourceCompatibility = 1.6
10+
11+
repositories {
12+
mavenCentral()
13+
}
14+
15+
dependencies {
16+
testCompile group: 'junit', name: 'junit', version: '4.12'
17+
}
18+
19+
intellij {
20+
version '2018.3'
21+
plugins 'git4idea', 'tasks'
22+
}
23+
24+
patchPluginXml {
25+
pluginId "Gitflow"
26+
pluginDescription 'Git Flow Integration'
27+
version '0.6.7'
28+
sinceBuild '182.0'
29+
untilBuild '183.*'
30+
changeNotes """
31+
<H2>Changelog for 0.6.7</H2>
32+
<ul>
33+
<li>Support for Idea build 183 #210 (@opherv)</li>
34+
<li>Feature: Bugfix support #122 (@straurob)</li>
35+
<li>Feature: pushOnFinish to feature options (@bmwsedee)</li>
36+
<li>Bugfix UI freeze on custom gitflow init #198 (@bmwsedee)</li>
37+
<li>Implementation: plugin is now built with gradle (@straurob)</li>
38+
</ul>
39+
40+
<p>Note - if you see 'no gitflow' in the status bar you will need to re-init using <code>git flow init -f</code></p>
41+
"""
42+
}

docs/img/import_options.png

55.3 KB
Loading

docs/img/import_project.png

23.6 KB
Loading

docs/img/run_configuration.png

45.8 KB
Loading

docs/project_setup.md

+44-15
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,56 @@
1-
# Project setup help
1+
# Setup Guide
2+
This document shall assist you in setting up the development project in IntelliJ IDEA. There are two ways of setting up the project:
3+
1. Gradle Setup
4+
2. "Classic" Setup
5+
6+
## Gradle Setup
7+
8+
### Prerequisites
9+
- The environment variable `JAVA_HOME` is set to a valid Java environment.
10+
- The *Gradle* plugin is enable in IntelliJ IDEA.
11+
12+
### Setup Steps
13+
1. Fork the original repository and checkout the fork.
14+
2. Import the project into IntelliJ IDEA.
15+
3. Choose *"Import from external model" > Gradle*.
16+
4. Set the following options in the import dialog:
17+
- *Use Auto Import*
18+
- *Create directories for empty content roots automatically*
19+
- *Use default gradle wrapper (recommended)*
20+
21+
![Import project dialog](./img/import_project.png?raw=true "Import Project Dialog")
22+
![Import options dialog](./img/import_options.png?raw=true "Import Options Dialog")
23+
24+
### Run Configuration
25+
Add a new run configuration of type *Gradle* with the following settings:
26+
- Set the current project as *Gradle project*
27+
- In *Tasks* enter `runIde`.
28+
29+
This should give you a basic run configuration which will start a new IntelliJ instance with the plugin deployed.
230

3-
This is a quick overview how to setup the project for development.
31+
![Run configuration dialog](./img/run_configuration.png?raw=true "Run Configuration")
432

5-
## 1. Make sure the plugin development plugin is enabled
33+
## "Classic" Setup
34+
35+
### 1. Make sure the plugin development plugin is enabled
636

737
Start IDEA, go to *Settings -> Plugins* and make sure that `Plugin DevKit` is installed and enabled.
838
If it's not, install it now.
939

10-
## 2. Clone the project from GitHub
40+
### 2. Clone the project from GitHub
1141

1242
Typically you check out your fork of the project on GitHub here.
1343

14-
## 3. Import the project into IDEA
44+
### 3. Import the project into IDEA
1545

1646
Select the *Import Project* option (e.g. by pressing shift twice and entering "import project")
1747
and navigate to the cloned repository directory when prompted.
1848

19-
### Model
49+
#### Model
2050

2151
Chose "From existing sources" when prompted for a model.
2252

23-
### SDK Setup
53+
#### SDK Setup
2454

2555
If you dont have a plugin SDK yet, click `+` to add an SDK and select *IntelliJ Platform Plugin SDK*
2656

@@ -29,11 +59,11 @@ If you dont have a plugin SDK yet, click `+` to add an SDK and select *IntelliJ
2959

3060
Select your plugin SDK as the one to use.
3161

32-
### Other
62+
#### Other
3363

3464
The remaining options can be left at default
3565

36-
## 4. Change the project type
66+
### 4. Change the project type
3767

3868
Open the projects iml file (it should be named `gitflow4idea.iml` by default) and replace its contents with this:
3969

@@ -53,24 +83,23 @@ Open the projects iml file (it should be named `gitflow4idea.iml` by default) an
5383

5484
Then close and reopen the project to apply the changes.
5585

56-
## 5. Add git4idea dependency
86+
### 5. Add git4idea dependency
5787

5888
1. Open the module settings and navigate to *Modules -> gitflow4idea (or your project name here)* and select the *Dependencies* tab.
5989
2. Click add -> "JARs or directories" and add `git4idea.jar`.
6090
This can be found in your IDEA installation directory under `plugins/git4idea/lib`.
6191
3. Change the scope of the added JAR to **provided**.
6292

63-
## 6. Create a run configuration
93+
### 6. Create a run configuration
6494

6595
Go to Run/Debug configurations and create a new configuration of the type `Plugin`. Under "Use classpath of module" select the project (`gitflow4idea` by default).
6696
Click run. A new IDEA instance should start with the plugin running.
6797

6898
And that's it. You can now make changes to the source and run them.
6999

70-
## Notes & hints
100+
### Notes & hints
71101

72-
### Language level
102+
#### Language level
73103

74104
This project is written to target Java 6, so make sure to set the project language level appropriately
75-
to avoid accidentally using newer features. You can do so in the module settings under "modules -> gitflow4idea -> sources -> Language level".
76-
105+
to avoid accidentally using newer features. You can do so in the module settings under "modules -> gitflow4idea -> sources -> Language level".
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)