From 465f7f333a950a62365b197fdf12916608e731e1 Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Sat, 28 Mar 2009 21:24:44 +0000 Subject: [PATCH] Site: Allow automagic generation of sparkle feed We don't do this in the site generation phase because it might mess things up seriously. We don't want that! :) --- Site/Rakefile | 11 ++++++ Site/assets/Downloads/appcast.xml | 59 ------------------------------- Site/templates/sparkle.xml | 29 +++++++++++++++ 3 files changed, 40 insertions(+), 59 deletions(-) delete mode 100644 Site/assets/Downloads/appcast.xml create mode 100644 Site/templates/sparkle.xml diff --git a/Site/Rakefile b/Site/Rakefile index 072d3e9..9d9399a 100644 --- a/Site/Rakefile +++ b/Site/Rakefile @@ -50,6 +50,17 @@ task :generate_usermanual do end end +task :generate_appcast do + require 'lib/release_notes.rb' + require 'rdiscount' + template = ERB.new(File.read("templates/sparkle.xml")) + + filename = ENV["STABLE"] ? "appcast.xml" : "appcast_DEBUG.xml" + File.open("output/Downloads/#{filename}", "w") do |f| + f.puts template.result(binding) + end +end + task :upload do `rsync -a output/ sydney:public_html/gitx/` end \ No newline at end of file diff --git a/Site/assets/Downloads/appcast.xml b/Site/assets/Downloads/appcast.xml deleted file mode 100644 index 66caa12..0000000 --- a/Site/assets/Downloads/appcast.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - GitX - http://github.com/pieter/gitx/wikis - A more native clone of Gitk for OS X - - - - GitX 0.6.1 - Thu, 29 Jan 2009 23:54:01 GMT - - - GitX 0.6.1 -
-

This is a bugfix release. The following bugs have been fixed:

- -
    -
  • The commit view shows new files with linebreaks
  • -
  • The history view works with Git >= 1.5.4 again
  • -
  • Reloading the detailed view in the History no longer causes an empty page
  • -
- -

Version 0.6 has the following new features and enhancements:

- -
    -
  • The diff display now looks much nicer, using boxes to segment files
  • -
  • The toolbar can now me customized
  • -
  • Images that have been changed or added in a commit can now be viewed - inline in GitX
  • -
  • GitX has gained a preference pane which allows you to specify a git path - and disable the Gist and Gravatar integration
  • -
  • The commit interface is now more intuitive. Particularly, you can now - select multiple files and use drag and drop to stage / unstage files
  • -
  • You can now drag and drop files out of the commit view
  • -
  • The files in the commit view have gained a context menu that allows you - to revert changes / open the file / ignore the file
  • -
  • It is now possible to adjust the amount of context lines in the commit view. - Using a smaller context size allows you to do more fine-grained commits
  • -
  • The branch menu is now organized in branches/remotes/tags
  • -
  • The view switch button now uses icons rather than words
  • -
  • The view shortcuts have changed to use command 1/2 for the history/commit - view. The history’s subviews can now be changed using command-option-1/2/3
  • -
  • Listing commits has become much faster
  • -
  • GitX no longer spawns zombie processes
  • -
  • GitX now shows a list of files that have been changed in a commit
  • -
  • GitX now uses libgit2 to store object id’s, reducing it’s memory footprint
  • -
- -

In addition many bugs were fixed, including the correct calculation of a - gravatar MD5 hash.

-
- ]]> -
-
- -
-
diff --git a/Site/templates/sparkle.xml b/Site/templates/sparkle.xml new file mode 100644 index 0000000..fc5fb3a --- /dev/null +++ b/Site/templates/sparkle.xml @@ -0,0 +1,29 @@ + + + + GitX + http://github.com/pieter/gitx/wikis + A more native clone of Gitk for OS X + + + + GitX 0.6.1 + Thu, 29 Jan 2009 23:54:01 GMT + + + + body { + font-size: 70%; + } + h1 { + font-size: 160%; + } + + <%= Markdown.new(ReleaseNotes::last_notes).to_html %> + ]]> + + + + +