522 Commits

Author SHA1 Message Date
Oliver Gierke
e9e366ef59 Tweaked dependencies to reflect changes in project. 2016-03-18 10:31:24 +01:00
Oliver Gierke
0984cd3c0c #13 - Explicit reset of the just checked out branch in git prepare. 2016-02-22 19:59:43 +01:00
Oliver Gierke
81d2d690e3 #2 - Switched to StandardCharsets.US_ASCII.
As suggested by @thomasdarimont.
2016-02-15 19:00:14 +01:00
Oliver Gierke
7181e33e3f #2 - Polishing
Moved more logic into value objects to ease testability. Branches now know whether they're an issue branch for a given tracker. TicketBranches now implements Streamable and allows obtaining a new instance with only resolved tickets in it an inspect whether a it contains a ticket for a given Branch.

Cleaned up GitOperations and GitCommands to make use of the new functionality. "git issuebranches" command was tweaked to default resolvable to true in case the option is set.

Renamed GitHubConnector to correct case. Fixed imports in GitHubIssueTracker.

Formatting.
2016-02-15 18:54:17 +01:00
Mark Paluch
a94f109ae7 #2 - Provide command to list all issue branches alongside their state in the issue tracker 2016-02-15 18:53:09 +01:00
Oliver Gierke
6f62556ed3 #11 - Added command to backport changelog entries.
We now support a git backport changelog $trainIteration --target $targetTrain,$targetTrain to backport the changelog commit for the given source iteration into the given release trains. If the source iteration is not corresponding to the master branch (i.e. for service iterations), the master branch is becoming an additional target for the port.
2016-02-15 18:53:06 +01:00
Oliver Gierke
85321e6625 #10 - Make sure maintenance branches are only created for GA releases. 2016-02-12 15:28:40 +01:00
Oliver Gierke
ee50568003 #9 Added command to leniently remove local tags for a release train. 2016-02-12 15:25:08 +01:00
Oliver Gierke
a5daf60f8c #8 - The execution of the versions plugin now cleans up after itself.
Tweaked the expansion of the Maven plugins to only map the plugin so that e.g. versions:set gets expanded to the fully qualified version of the versions plugin as registered in application.properties.

Tweaked the expansion to inspect all arguments given but ignore properties not containing a colon or staring with a dash.
2016-02-12 14:50:04 +01:00
Oliver Gierke
56604caf13 Upgrade to Spring Shell 1.2.0 M1. 2016-02-10 17:29:28 +01:00
Oliver Gierke
8ca695e304 Tweaked project model to let Redis depend on Commons.
In preparation of the dependency of Redis to Spring Data Commons we now list that dependency.
2016-02-10 17:29:02 +01:00
Oliver Gierke
57ea732e2c Verify Artifactory authentication before release build.
We now explicitly access an Artifactory resource to verify authentication so that it's less likely the deployment and promotion will fail later on. Added "artifactory verify" as command to be executed from the shell.
2016-02-10 16:22:39 +01:00
Oliver Gierke
7e99f3dfd1 Changed default workspace setup to contain repository.
This makes sure we use a separate Maven repository to locally deploy artifacts into.
2016-02-10 16:18:31 +01:00
Oliver Gierke
1598229d27 Added command to purge Spring Data artifacts from the local repository. 2016-02-10 16:17:07 +01:00
Oliver Gierke
0642f8a3dc Enable CI profile during releases to make sure we build JavaDoc. 2016-02-10 16:15:48 +01:00
Oliver Gierke
5d330e2573 Tweaked ordering of modules within trains and train iterations.
We're now using the global sorting of the projects defined by the topological graph analysis run at startup to implement Comparable and exposing this comparability on more upper levels like modules.
2016-02-10 14:26:25 +01:00
Oliver Gierke
37372d0f3c Added command to wipe the workspace. 2016-02-10 14:20:47 +01:00
Oliver Gierke
84d68f7125 Extracted lazy exception lookup to make sure the normal Java compiler doesn't choke. 2016-02-10 14:19:45 +01:00
Oliver Gierke
2fa024527f Removed obsolete pick up of system properties.
GitHub password is obtained from application-local.properties.
2016-02-10 14:18:20 +01:00
Oliver Gierke
f7476dd64c A way too big commit.
Switched to Apache Maven Invoker for running Maven on the projects.

Added JGraphT to correctly sort dependencies in topological order.

Upgraded to Spring Boot 1.3.2, Lombok 1.16.6, jGit 4.2.0. Upgraded to Spring Plugin 1.3 to benefit from lazy exception creation using lambdas. Added Lombok configuration to throw IllegalArgumentException on null checks.
2016-02-10 12:01:06 +01:00
Oliver Gierke
6b2fea839a Significant Java 8 updates and Spring Boot integration.
Moved to Spring Boot 1.3 and leverage the new configuration properties mechanism (see GitProperties and IoProperties). Improved ArtifactVersion to be a better value object.

Introduced usage of Java 8's CompletableFuture to execute most of the Git operations in parallel. Started to use Lambdas where possible.

Git configuration is now supposed to be done using a application-local.properties (Git ignored) file containing the relevant properties (see readme). The test configuration now uses a separate workspace location and a Sample release train to make sure the integration tests run without interfering a local workspace.

Added train declaration for Hopper. Integrated BootShim (see [0], [1]) to run the shell on top of Spring Boot.

[0] https://github.com/jeffellin/springshellwithboot
[1] https://github.com/spring-projects/spring-shell/issues/34
2015-11-21 12:32:57 +01:00
Oliver Gierke
d2beb0bd7a Moved release tool into dedicated sub-folder. 2015-07-07 08:30:23 +02:00