[Sparkle] SparkleCaster Developer Preview

Olivier Gutknecht olivierg at gmail.com
Sat Oct 6 08:43:55 PDT 2007


This command-line discussion makes me think of something...

In my company, we have built a small internal tool we're using to push
new test versions through Sparkle. It is basically a (rails) web-based
application to setup an appcast feed so that when we have a new build,
we just call a small command-line script which adds a new item to the
appcast data and publish it on the intranet.

I don't think it is really similar to SparkleCaster (which is a great
project) and what we have is probably more targeted at small or
internal deployments but if there is interest we can open-source it.

Ol.

On 10/3/07, Josef W. Wankerl <lovedeity at gmail.com> wrote:
> On 03/10/2007, Adam Radestock <raddish at glassmonkey.co.uk> wrote:
> > That's a very interesting idea... to have the application run from a
> > build script as you build the app.
> >
> > How would you like to see it implemented?
> > How would you enter release notes? I suppose that if you used a URL
> > for your release notes, rather than embedding them, you could supply
> > the command line tool with the URL as an argument...
>
> I typically write my release notes as I go along.  You should be able
> to import them from a text or rtf file.  So I think something like
> this to create a new sparkle caster document:
>
> sparklecast --create --product "product name" --productpage
> "www.mypage.com" --description "some description" --output
> "newcast.scast"
>
> ...and then once you have one created you'd add the new version:
>
> sparklecast --add --cast "newcast.scast" --enclosure "pathtoenclosure"
> --version "vers" --releasenotes "text" [or --releasenotesfile
> "path-to-notes-file"] --embed [or maybe --noembed] [optional --date
> "some date"
>
> ...and then you'd make the appcast:
>
> sparklecast --make-appcast --cast "newcast.scast" --output "mycast.xml"
>
> Somehow you'd have a way to remove versions from a sparkle caster
> document too.  Basically you'd mirror all the functionality of the
> main app in a command line tool.  If you follow a good MVC convention
> in the main app, you can re-use the model code in the command line
> tool.  You'd only need a front end to parse the command line and feed
> its argumeents to the model.
> _______________________________________________
> Sparkle mailing list
> Sparkle at lists.andymatuschak.org
> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org
>


More information about the Sparkle mailing list