Commit Graph

65 Commits

Author SHA1 Message Date
Mark Paluch
31af39895b Consider all pre-releases for minor/major dependency upgrades.
Closes #181
2021-03-31 09:59:39 +02:00
Mark Paluch
92fab5d54f Fix tests.
See #167.
2021-02-17 14:40:19 +01:00
Mark Paluch
1d4584f1a0 Use configured IssueTracker for changelog ticket lookup.
Also, use plain ticket Id's for lookup and reorder methods.

See #168.
2021-02-17 14:20:47 +01:00
Mark Paluch
a93649f1e3 Use current version if the queried repository does not contain the current version.
Closes #171.
2021-02-16 15:12:01 +01:00
Mark Paluch
524d3b53ac Attach documentation for Spring Data Commons for Spring Data project.
Closes #167
2021-01-13 10:22:58 +01:00
Mark Paluch
6f5688a7bc Update issue tracker settings for projects after Jira to GitHub migration.
Closes #166
2021-01-12 14:05:25 +01:00
Mark Paluch
80f511f333 Allow ticket assignment on ticket creation.
See #159
2021-01-12 13:51:43 +01:00
Mark Paluch
59acd5e240 #159 - Remove Spring Framework/Reactor from dependency upgrade process.
Also, consider groupId when resolving dependencies to avoid artifactId clashes.
2020-12-07 11:03:21 +01:00
Mark Paluch
b70cbd2414 #159 - Polishing.
Encapsulate dependency versions in DependencyVersions value object. Use ModuleIteration instead of TrainIteration+Project.
2020-11-23 10:00:51 +01:00
Mark Paluch
d0bc11d1c2 #162 - Attach label/component to IssueTracker.createTicket(…). 2020-11-23 08:50:26 +01:00
Mark Paluch
055146e96c #159 - Dependency upgrade automation.
Add commands to check for dependency upgrades and to perform an upgrade for Spring Data Build.
2020-11-13 16:26:55 +01:00
Mark Paluch
4bca0793db #99 - Create changelog from ticket references used in Git commits. 2020-11-12 15:29:18 +01:00
Mark Paluch
c0b10e547d #99 - Extract ticket references from Git commits. 2020-11-12 15:29:12 +01:00
Mark Paluch
5ae09ba291 #157 - Enable calver to TrainIteration resolution. 2020-10-29 11:10:06 +01:00
Mark Paluch
3ad17c3e83 #155 - Fix calver version bump after conclude. 2020-10-29 10:42:31 +01:00
Mark Paluch
6ddafa3a12 #151 - Adapt project metadata update to new Sagan API. 2020-10-27 11:30:50 +01:00
Christoph Strobl
4f91059766 #152 - Fix IoProperties.javaHome setter.
We now correctly set the javaHome variable instead of the workDir if the io.javaHome property is set.
Include the property in the template file and add the maven.parallelize=true flag as well.

Closes: #152
2020-10-15 09:47:32 +02:00
Mark Paluch
2c55e91562 #147 - Add means to create a ticket for each project.
We now have a command to create a ticket per module iteration using the summary as argument.

tracker create tickets <module iteration> -text "summary"
2020-06-10 15:43:57 +02:00
Mark Paluch
e7699fd273 #144 - Add support for Spring Data BOM. 2020-05-18 15:29:30 +02:00
Mark Paluch
a79ca69608 #144 - Adapt to new versioning scheme.
Remove Calver type as the version scheme can be already represented using the Version type. Adopt ticket/milestone creation, Sagan versioning and Git tags to new scheme.
2020-05-12 15:01:09 +02:00
Mark Paluch
61b8e499f8 #145 - Polishing.
Rewrite ticket references in tests from (at)see #nnn to (at)Test // #nnn.
2020-04-30 15:07:46 +02:00
Mark Paluch
ec6a5600cd #145 - Migrate unit tests to JUnit 5 and AssertJ. 2020-04-30 15:02:35 +02:00
Mark Paluch
7c65952eec #144 - Add Calver type. 2020-04-30 11:01:35 +02:00
Mark Paluch
49adb1da2d #310 - Polishing.
Add linebreak to commit message only if detail is present.
2020-04-29 17:11:14 +02:00
Jens Schauder
b3923fcbfa #139 - Updated expected release in integration test. 2020-03-11 08:34:00 +01:00
Mark Paluch
b408c06550 #137 - Update license headers to 2020. 2020-02-26 14:12:57 +01:00
Mark Paluch
d2bbaf77a4 #134 - Add fixture values for tests.
We now specify test properties for Jira and GitHub integrations to prevent a fallback to values from application-local.properties.
2019-12-04 10:52:41 +01:00
Mark Paluch
989e6dd150 #133 - Upgrade to Spring Boot 2.2. 2019-11-20 14:13:42 +01:00
Oliver Drotbohm
ea9c4f2130 #113 - Deployment promotion is now skipped for public artifacts.
As we publish public artifacts (i.e. GA and service releases) directly to Maven Central, there's no need for the promotion step and it currently produces error output (fortunately not breaking the build). With this commit in place, this is now changed to simply skip that step and print informative output.
2019-04-02 12:38:47 +02:00
Mark Paluch
1d729ac5f4 #107 - Polishing.
Remove failing integration test that requires external state from Jira/GitHub.
2019-03-25 09:36:26 +01:00
Spring Operator
60bf43794d #107 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 150 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Original Pull Request: #111
2019-03-22 18:33:00 +01:00
Mark Paluch
ea6625cfee #100 - Ignore Milestone.open property.
We now no longer render the open property of a GitHub Milestone as JSON.

Previously, the open property was rejected by the GitHub API validator.
2019-02-13 12:13:51 +01:00
Mark Paluch
e4bf393e80 #96 - Polishing.
Fix ReleaseCommandsIntegrationTests. Guard TrainIterationConverter against invalid input.
2018-12-12 14:53:10 +01:00
Mark Paluch
2360aa3612 #94 - Extend IssueTracker.closeIteration(…) to resolve release tickets.
closeIteration() now resolves release tickets within its release version to simplify post-release tasks.
2018-12-12 14:50:25 +01:00
Mark Paluch
36b5bbfd8a #92 - Adapt parent pom update to after Spring Doc Resources inclusion.
Include artifactId of spring-data-build-resources in update XPath to update the appropriate dependency.
2018-12-10 14:53:00 +01:00
Mark Paluch
aeea4eacae #91 - Polishing.
Guard tests requiring connectivity to GitHub with assumptions.
2018-12-10 14:10:59 +01:00
Mark Paluch
cd1f1c038e #91 - Disable unsafe integration tests. 2018-12-10 14:06:05 +01:00
Oliver Gierke
ed0bbe3efd #61 - Make sure Project.getDependencies() includes transitive dependencies. 2017-07-27 18:21:25 +02:00
Oliver Gierke
93cd2b73ea #63 - Additional guards against snapshots in release train BOM.
We now inspect the BOM pom.xml for references to -SNAPSHOT in declared dependencies. This is to work around the limitation of the Maven Enforcer plugin which only verifies actual project dependencies, not ones declared in a <dependencyManagement /> block.

#63 - Additional guards against snapshots in release train BOM.

We now inspect the BOM pom.xml for references to -SNAPSHOT in declared dependencies. This is to work around the limitation of the Maven Enforcer plugin which only verifies actual project dependencies, not ones declared in a <dependencyManagement /> block.
2017-07-27 18:21:23 +02:00
Oliver Gierke
dbd69ec502 #7 - Added support to update project information on spring.io.
This commit introduces a command "sagan update …" to take a comma-separated list of release train names that are supported. The implementation will find the latest releases by inspecting the Git tags and the creating the necessary project metadata information. The code will then wipe the existing metadata and PUT the current information to the server.
2017-07-26 17:25:00 +02:00
Oliver Gierke
ab64b68245 #61 - Re-added spring-cql as additional artifact for the Cassandra module.
API polishing in Project and ArtifactCoordinates.
2017-07-26 07:58:15 +02:00
Mark Paluch
3735d0aaf4 #56 - Add support to archive (retire) release versions.
Added support for Jira. There's no such concept for GitHub.
2017-06-07 15:06:47 +02:00
Mark Paluch
14167e4eeb #55 - Add support to assign Github release issues.
Support self-assignment of Github release issues. Added Apache httpclient to support HTTP PATCH as Java's HttpUrlConnection does not accept PATCH as HTTP method.
2017-06-07 14:25:48 +02:00
Mark Paluch
fb187e407c #54 - Polishing.
Extend test assertion to accept released flag of Jira release versions.
2017-06-07 13:58:43 +02:00
Mark Paluch
7e4265a594 #54 - Switch to verb-based issue update of Jira tickets.
Use PUT using update verbs instead of PUT'ing the whole Jira issue value object to prevent accidental update of unwanted but set fields.
2017-06-07 13:57:02 +02:00
Mark Paluch
658bdd2836 #53 - Skip Jira ticket assignment if ticket is already assigned.
Jira tickets are no longer self-assigned if they are assigned already.
2017-05-09 14:55:31 +02:00
Oliver Gierke
8504c605f7 #49 - Upgraded to Spring Boot 2.0 snapshots. 2017-05-04 15:38:55 +02:00
Oliver Gierke
0e4f194e81 #44 - Added infrastructure to prevent passwords from being printed to the console.
Introduced value objects to properly abstract command line arguments and introduced an interface Masked that allows masking a String value when printed to the console.
2017-04-03 17:02:38 +02:00
Oliver Gierke
05ae394fad #33 - Projects can now have an explicit full name.
Project has a withFullName(…) to be able to define it manually. Projects makes use of that to explicitly define the name for Apache backed ones.

Introduced a skipTests property to make explicit, which projects should not have their test run during a build.

Introduced overloads to allow the optional lookup of a Project by name.
2016-11-24 15:28:53 +01:00
Oliver Gierke
ac1273856c #32 - Allow enforcing to build milestone releases on a branch.
Train has now a method withAlwaysUseBranch(…) to define that milestone releases are supposed to be build from a branch, too.

Introduced Kay release train using that new flag and setting up a customized Iteration chain including a second milestone.
2016-11-24 15:28:03 +01:00