Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

Integrates sbt-org-policies Plugin #59

Merged
merged 11 commits into from
Apr 27, 2017

Conversation

juanpedromoreno
Copy link
Member

@juanpedromoreno juanpedromoreno commented Apr 27, 2017

Fixes #54,
Fixes #37
Fixes #46

This PR releases a new version under com.47deg group id and provides:

File Headers

Activates by default headers for all files. It'll keep up to date the headers of all files based on org license, project start year, project name and project organisation.

Policy files

On every merge in master, the plugin will keep up to date some policy files like AUTHORS.md, README.md (badges, license notice, etc.), CONTRIBUTING.md, LICENSE, ...

In the same way, the file located at modules/readme/src/main/tut/README.md will be compiled by tut and copied automatically to the root folder, and also will be commited automatically. Hence, nobody should care about the README file in the root folder.

Releases

On every merge in master, if the version in the version.sbt is an snapshot version, the plugin will publish the snapshot as usual. If you want to release a new version, just change the version.sbt with a final version (removing the -SNAPSHOT suffix) and the plugin will:

  • Publish the final version to Maven central, sonatype, etc.
  • Update the CHANGELOG.md file with all the PRs that are part of the release (from now on, the PR title is important to give information).
  • Create the github tag/release with the same information as in the CHANGELOG file.
  • Set the next snapshot version.
  • Update the microsite: The plugin will publish the microsite with the updated docs. Also, it'll update all case-classy versions across all the doc (markdown) files.

Please @raulraja @andyscott have a look. Thanks.

@codecov-io
Copy link

codecov-io commented Apr 27, 2017

Codecov Report

Merging #59 into master will decrease coverage by 16.35%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #59       +/-   ##
==========================================
- Coverage   82.15%   65.8%   -16.36%     
==========================================
  Files          17      16        -1     
  Lines         426     424        -2     
  Branches       13       9        -4     
==========================================
- Hits          350     279       -71     
- Misses         76     145       +69
Impacted Files Coverage Δ
...c/main/scala/classy/generic/derive/MkDecoder.scala 52.08% <ø> (-37.51%) ⬇️
...dules/core/src/main/scala/classy/wheel/types.scala 66.66% <ø> (-6.67%) ⬇️
modules/core/src/main/scala/classy/Read.scala 57.14% <ø> (-21.43%) ⬇️
...s/generic/src/main/scala/classy/generic/auto.scala 100% <ø> (ø) ⬆️
...eneric/src/main/scala/classy/generic/package.scala 0% <ø> (-100%) ⬇️
modules/core/src/main/scala/classy/stringMap.scala 0% <ø> (-55.56%) ⬇️
...n/scala/classy/generic/derive/StringSplitter.scala 100% <ø> (ø) ⬆️
...ala/classy/DefaultReinterpretStringInstances.scala 100% <ø> (ø) ⬆️
modules/core/src/main/scala/classy/decoders.scala 43.1% <ø> (-3.45%) ⬇️
...ore/src/main/scala/classy/DecodeErrorPrinter.scala 0% <ø> (-76.75%) ⬇️
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 833e146...42eb31c. Read the comment docs.

@juanpedromoreno juanpedromoreno force-pushed the feature/sbt-org-policies-integration branch from b989bde to 0983efb Compare April 27, 2017 13:13
@andyscott
Copy link
Collaborator

LGTM

@andyscott andyscott merged commit ca16ea6 into master Apr 27, 2017
@andyscott andyscott deleted the feature/sbt-org-policies-integration branch April 27, 2017 16:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate sbt-org-policies Add Typelevel CoC link to README Migrate group id com.47deg
4 participants