Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merged release files

  • Loading branch information...
commit 83dea46bd2b554f453d0f0495b1e8c1f94eacbfb 2 parents 480ed52 + 3086d06
@paradigmatic authored
View
11 CHANGELOG.md
@@ -1,12 +1,15 @@
Changelog
=========
-Next Version
-------------
+Version 0.10.0 - 2012-02-12
+---------------------------
-### New feature
+Configrity v0.10.0 was refactored to allow a modular project layout.
+
+### New features
+
+ - YAML module, allowing to use YAML format for loading/saving configurations (issue #2).
- - The module `configrity-yaml` allows YAML for import/export (issue #2)
Version 0.9.0 - 2011-12-08
--------------------------
View
18 README.md
@@ -41,21 +41,20 @@ it may contain some bugs.
- `include` directive is supported, adding compatibility with Akka and
Configgy configurations files.
- Loading configurations from classpath/resources (v0.9.0)
-
-### Provided by extra modules ###
-
- - YAML format import/export (v0.10.0)
+ - YAML format support (v0.10.0)
### Planned ###
- - Export/Import formats: INI, JSON, XML, apache, etc.
+ - More export/Import formats: INI, JSON, XML, apache, etc.
## Requirements ##
-The only requirement is Scala 2.9.x. It should be easy to provide
+Configrity depends on Scala 2.9.x. It should be easy to provide
compatibility with Scala 2.8 by dropping some minor features. If you
are interested, let me know.
+While core features do not depend on external libraries, some modules may. In that case, the approriate dependencies will be automatically installed by sbt/maven.
+
## Installation ##
### From SBT ###
@@ -64,6 +63,13 @@ The dependency line is:
"org.streum" %% "configrity-core" % "0.10.0"
+Additional modules require addition dependency lines. Check the wiki for more
+information: <https://github.com/paradigmatic/Configrity/wiki/Modules>
+
+### From Maven, Buildr, Ivy, Grape and Grails ###
+
+Follow the [repository instructions](http://search.maven.org/#artifactdetails|org.streum|configrity-core_2.9.1|0.10.0|jar).
+
### From source (master branch) ###
View
7 notes/0.10.0.markdown
@@ -0,0 +1,7 @@
+Changes since version 0.9.0:
+
+ - Configrity adopted a modular code layout. Most features are provided by the `configrity-core` module, which doesn't require any external dependencies. The sbt dependency line is now slightly different: check the [README file](https://github.com/paradigmatic/Configrity/blob/master/README.md).
+
+ - YAML import/export is now provided by the `configrity-yaml` module, based on [snakeyaml](http://code.google.com/p/snakeyaml/). Usage and documentation in the [project wiki](https://github.com/paradigmatic/Configrity/wiki/YAML) (issue #2).
+
+If you wish for extra features, [feel free to ask](https://github.com/paradigmatic/Configrity/issues/).
View
33 org/release.org
@@ -0,0 +1,33 @@
+* Release check-list
+
+** Before publication [100%]
+
+ - [X] Clean >> All tests green.
+ - [X] Check version number in =project/Build.scala=
+ - [X] Update changelog
+ - [X] Update README file
+ - [X] Write the new note for implicitly
+ - [X] Commit changes
+ - [X] Tag release
+
+** Publication [100%]
+
+ - [X] SBT publish
+ - [X] Close the stagging repository on http://oss.sonatype.org
+ - [X] Release the repository
+
+** After publication [25%]
+
+ - [X] Wait at least two hours
+ - [X] Check it appears in MVN central
+ - [ ] Update README maven section
+ - [ ] Push and push --tags
+ - [ ] Generate the scaladoc
+ - [ ] Push the scaladoc
+ - [ ] Update the wiki
+ - [ ] submit the release to implicitly
+ - [ ] close remaining issues
+
+** When everything is OK
+
+ - [ ] Reset this checklist
View
38 project/Build.scala
@@ -13,14 +13,14 @@ object ConfigrityBuild extends Build {
lazy val core = Project(
id = "configrity-core",
base = file("core"),
- settings = standardSettings
+ settings = standardSettings ++ publishSettings
)
lazy val yaml = Project(
id = "configrity-yaml",
base = file("modules/yaml"),
dependencies = Seq(core),
- settings = standardSettings ++ Seq(
+ settings = standardSettings ++ publishSettings ++ Seq(
libraryDependencies += "org.yaml" % "snakeyaml" % "1.9"
)
)
@@ -45,13 +45,25 @@ object ConfigrityBuild extends Build {
scalaSource in Test <<= baseDirectory(_ / "test"),
resourceDirectory in Test <<= baseDirectory { _ / "test-resources" },
unmanagedClasspath in Compile +=
- Attributed.blank(new java.io.File("doesnotexist")),
- publishTo := Some("Scala Tools Nexus" at "http://nexus.scala-tools.org/content/repositories/releases/"),
- credentials += Credentials(Path.userHome / ".ivy2" / ".credentials"),
- pomExtra := licenseSection
+ Attributed.blank(new java.io.File("doesnotexist"))
)
- lazy val licenseSection= {
+ lazy val publishSettings = Seq(
+ publishMavenStyle := true,
+ publishTo <<= version { (v: String) =>
+ val nexus = "https://oss.sonatype.org/"
+ if (v.trim.endsWith("SNAPSHOT"))
+ Some("snapshots" at nexus + "content/repositories/snapshots")
+ else
+ Some("releases" at nexus + "service/local/staging/deploy/maven2")
+ },
+ publishArtifact in Test := false,
+ pomIncludeRepository := { x => false },
+ pomExtra := requiredPOMextra
+ )
+
+ lazy val requiredPOMextra = {
+ <url>https://github.com/paradigmatic/Configrity</url>
<licenses>
<license>
<name>GNU LesserGPLv3</name>
@@ -59,5 +71,17 @@ object ConfigrityBuild extends Build {
<distribution>repo</distribution>
</license>
</licenses>
+ <scm>
+ <url>https://github.com/paradigmatic/Configrity</url>
+ <connection>scm:git:git@github.com:paradigmatic/Configrity.git</connection>
+ </scm>
+ <developers>
+ <developer>
+ <id>jlfalcone</id>
+ <name>Jean-Luc Falcone</name>
+ <url>http://paradigmatic.streum.org/</url>
+ </developer>
+ </developers>
}
+
}
Please sign in to comment.
Something went wrong with that request. Please try again.