47degrees / case-classy

configuration with less hassle
http://47deg.github.io/case-classy/
Apache License 2.0
68 stars 8 forks source link

Integrates sbt-org-policies Plugin #59

Closed juanpedromoreno closed 7 years ago

juanpedromoreno commented 7 years ago

Fixes https://github.com/47deg/case-classy/issues/54, Fixes https://github.com/47deg/case-classy/issues/37 Fixes https://github.com/47deg/case-classy/issues/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:

Please @raulraja @andyscott have a look. Thanks.

codecov-io commented 7 years ago

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%) :arrow_down:
...dules/core/src/main/scala/classy/wheel/types.scala 66.66% <ø> (-6.67%) :arrow_down:
modules/core/src/main/scala/classy/Read.scala 57.14% <ø> (-21.43%) :arrow_down:
...s/generic/src/main/scala/classy/generic/auto.scala 100% <ø> (ø) :arrow_up:
...eneric/src/main/scala/classy/generic/package.scala 0% <ø> (-100%) :arrow_down:
modules/core/src/main/scala/classy/stringMap.scala 0% <ø> (-55.56%) :arrow_down:
...n/scala/classy/generic/derive/StringSplitter.scala 100% <ø> (ø) :arrow_up:
...ala/classy/DefaultReinterpretStringInstances.scala 100% <ø> (ø) :arrow_up:
modules/core/src/main/scala/classy/decoders.scala 43.1% <ø> (-3.45%) :arrow_down:
...ore/src/main/scala/classy/DecodeErrorPrinter.scala 0% <ø> (-76.75%) :arrow_down:
... 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.

andyscott commented 7 years ago

LGTM