-
Couldn't load subscription status.
- Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requestpr-welcomeWe doesn't plan to build, but are happy to mergeWe doesn't plan to build, but are happy to merge
Description
It would be useful to turn GitHub releases into a changelog, and vice-versa. Our Changelog.java would be helpful for this. In pseudocode:
import com.diffplug.spotless.changelog.Changelog;
import com.diffplug.spotless.changelog.Changelog.VersionEntry;
// this won't compile, but the main APIs are already present
Changelog empty = new Changelog("## [Unreleased]\n");
Changelog withGitHub = empty.withMutatedVersions(versions -> {
for (GitHubRelease r : GitHubApi.releases()) {
versions.add(VersionEntry.versionDate(r.version(), r.date())
.setChanges(r.releaseNotes()));
}
})
System.out.println(withGitHub.toStringUnix());We'd be happy to merge any PRs which add GitHub integration (in either direction) into spotless-changelog-lib. Once that has been accomplished, we'd be happy to merge any PRs which add GitHub-related functionality into the gradle plugin.
sdavids
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpr-welcomeWe doesn't plan to build, but are happy to mergeWe doesn't plan to build, but are happy to merge