implicit.ly

Scala software, hot off the presses

posterous-sbt 0.3.2

This release is compatible with sbt 0.11.0.

Change your dependency declaration from libraryDependencies to this:

addSbtPlugin("net.databinder" %% "posterous-sbt" % "0.3.2")

Also, add an application of the plugin settings to ~/.sbt/user.sbt or wherever you have set your Posterous username and password. You must apply these settings before setting your password and username, otherwise they will be overriden by the defaults (None).

seq(posterousSettings :_*)

(email in Posterous) := Some("you@example.com")

(password in Posterous) := Some("urpassword")

posterous-sbt is a plug-in for Simple Build Tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.9.1   net.databinder   posterous-sbt  

posterous-sbt 0.3.0

Scoped settings and tasks

All posterous-sbt settings and tasks are now scoped into a configuration named "posterous". This will require you to change the way your email and password are defined (yes, again). More on that below.

Because the settings and tasked are scoped, we no longer need to prefix them to avoid collisions. So publish-notes is now just publish in the posterous scope. This is how you invoke it sbt's interactive mode:

> posterous:publish

Same goes for the old preview-notes, it's now this:

> posterous:preview

Optional email and password settings

The settings type for your email and password has changed from a String to an Option[String]. This allows the plugin to define a default value of None.

This way you can launch sbt and use it normally even an unconfigured instance of posterous-sbt is loaded. Previously, you would see a confusing error on launch. Now, you will see an error only when you try to run the posterous:publish or posterous:check options.

Settings adjustment

You need to adjust the way your user settings are configured with this release. Since all projects and users should have upgraded from sbt 0.10.0 to 0.10.1 by now, it is recommended that you remove your file ~/.sbt/plugins/user.scala if present, and instead configure using a file ~/.sbt/user.sbt:

import posterous.Publish._

(email in Posterous) := Some("you@example.com")

(password in Posterous) := Some("yourpassword")

To upgrade your global plugin

After updating your user settings as described above, update your libraryDependencies in ~/.sbt./plugins/build.sbt:

libraryDependencies <+= (sbtVersion) { sv =>
  "net.databinder" %% "posterous-sbt" % ("0.3.0_sbt" + sv)
}

Project-specific settings

Information on project-specific configuration of the plugin has been added to the readme.

posterous-sbt is a plug-in for Simple Build Tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.8.1   net.databinder   posterous-sbt  

posterous-sbt 0.2.2

Published sbt version-specific binary artifacts for less gnashing of teeth. Compatible with sbt 0.10.0 and 0.10.1. See the revised installation instructions.

posterous-sbt is a plug-in for Simple Build Tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.8.1   net.databinder   posterous-sbt  

posterous-sbt 0.2.1

  • Updated for sbt 0.10.1
  • Disables aggregate cascading for publish-notes task

posterous-sbt is a plug-in for Simple Build Tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.8.1   net.databinder   posterous-sbt  

posterous-sbt 0.2.0

Updated for sbt 0.10.0

As an sbt 0.10 plugin, posterous-sbt can now be installed globally for your user account; there is no need to add it to individual projects.

To install posterous-sbt 0.2.0, you'll need to setup sbt 0.10. You can then add posterous-sbt as a global plugin dependency in a file such as ~/.sbt/plugins/build.sbt :

libraryDependencies += "net.databinder" %% "posterous-sbt" % "0.2.0"

The plugin requires your Posterous username and password, as before, but now it retrieves these from sbt settings. While you could specify these for each project, it's best to make your own "plugin" that specifies the settings globally. So in a file such as ~/.sbt/plugins/user.scala :

import sbt._
import posterous.Publish._

object User extends Plugin {
  override def settings = Seq(
    posterousEmail := "you@example.com",
    posterousPassword := "yourpassword"
  )
}

With that, you can run the familiar preview-notes and publish-notes actions for any sbt 0.10 project.

In Progress

The ability to publish versions other than the current, and to publish manifests for all versions, has not yet been migrated.

posterous-sbt is a plug-in for Simple Build Tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.8.1   net.databinder   posterous-sbt  

posterous-sbt 0.1.7

Updated Dispatch and knockoff dependency versions. knockoff 0.8.0-16 does not require any extra Maven repositories, so sbt-posterous will not have to anymore either. Yay!

posterous-sbt is a plug-in for Simple Build Tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.7.7   dispatch   knockoff   net.databinder   posterous-sbt   sbt  

posterous-sbt 0.1.6

  • Duplicate checking contributed by softprops, to prevent the all too easy double-announcement.
  • check-publish-notes action checks that all conditions for publishing are satisfied, e.g. not a duplicate
  • Move utility functions outside of trait, into object to avoid collisions

posterous-sbt is a plug-in for Simple Build Tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.7.7   dispatch   knockoff   net.databinder   posterous-sbt   sbt  

posterous-sbt 0.1.5

Enhancements:

  • Tag preview contributed by softprops
  • changelog action contributed by bmc

Dependency updates:

posterous-sbt is a plug-in for Simple Build Tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.7.7   dispatch   knockoff   net.databinder   posterous-sbt   sbt  

posterous-sbt 0.1.4

Depends on the Knockoff 0.6.1-9 artifact for compatibility with Java 1.5 VMs.

posterous-sbt is a plug-in for Simple Build Tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.7.7   dispatch   knockoff   net.databinder   posterous-sbt   sbt  

posterous-sbt 0.1.3

  • Wrap "about" boilerplate in a div of class "about"
  • Include basic stylesheet in preview html to render about in italics

posterous-sbt is a plug-in for simple-build-tool that automates publishing release notes to any Posterous site.

Filed under  //   Scala 2.7.7   dispatch   knockoff   net.databinder   posterous-sbt   sbt   sbt-plugin