New NPackage binaries

I've shaved two yaks this weekend:

  • Ported the NPackage install command to F#. There shouldn't be any visible change in the application: rather, F# lets me write more succinct code for handling HTTP and package dependencies. (Specifically, I was able to replace a lot of my boilerplace C# code with a computation workflow that takes care of deciding which files need to be downloaded again and which ones can be left alone.)

  • Set up an instance of TeamCity to take the source code from GitHub and build binaries for me. This isn't a version 1.0 release yet, but you're welcome to download the binaries and help me test them.

Download the most recent NPackage binaries

PS last week I promised I'd implement package dependencies. I haven't done that yet.

PPS here's another .NET packaging system to look out for: Sebastien Lambla's OpenWrap

Browse the NPackage source on GitHub

I implemented the local package database idea that I mentioned last weekend. Now the NPackage client downloads a packages.js file that describes every version of every package; now you don't have to specify full package file URLs with version numbers. I've also switched to JSON syntax for the package files, instead of using my hand-made Yaml-ish parser.

I want to do at least two more things before putting togther an NPackage version 1.0 release:

  • Packages should be able to depend on other packages. These dependencies should consist of a package name and, optionally, the range of version numbers that are acceptable. NPackage will pick the latest version of each package that satisfies all the version number constraints.
  • Developers should be able to set up a local package repository that takes prececdence over the web site

Hopefully I'll at least have dependencies working by next weekend.

Recent Comments

  • Terry: the author sounds like somebody who tried Haskell and OCaml, got bored, and gave up. I agree...

  • he's not wrong... http://www.benrady.com/2010/06/a-bit-of-heresy-functional-languages-are-overrated....

  • http://www.xkcd.com/754/...

  • Daniel, I'm looking to build something much more lightweight than Artifactory. I want the barrier f...

  • Hey Tim, Just came across this product called Artifactory (http://www.jfrog.org/). I haven't looked ...

    Daniel Fortunov
    This week on NPackage
Close