summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-08-10 01:00:48 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-08-10 01:00:48 +0000
commit352d10f53b46e76df6fa7e6b5b6afe624d8120d1 (patch)
tree04696287cb60e97bde346ebd1fdabb5a6e40791d /projects/gentoolkit-nichoj/trunk/changelog.rb
parentFix for evolution-sharp with new evolution (diff)
downloadnichoj-352d10f53b46e76df6fa7e6b5b6afe624d8120d1.tar.gz
nichoj-352d10f53b46e76df6fa7e6b5b6afe624d8120d1.tar.bz2
nichoj-352d10f53b46e76df6fa7e6b5b6afe624d8120d1.zip
Adding gentoolkit-nichoj
svn path=/; revision=51
Diffstat (limited to 'projects/gentoolkit-nichoj/trunk/changelog.rb')
-rwxr-xr-xprojects/gentoolkit-nichoj/trunk/changelog.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/projects/gentoolkit-nichoj/trunk/changelog.rb b/projects/gentoolkit-nichoj/trunk/changelog.rb
new file mode 100755
index 0000000..4eeb5d3
--- /dev/null
+++ b/projects/gentoolkit-nichoj/trunk/changelog.rb
@@ -0,0 +1,26 @@
+#!/usr/bin/ruby -w
+module ChangeLog
+ def ChangeLog.getLastEntry()
+ f = File.new('ChangeLog')
+ entry=''
+
+ while line = f.gets
+ # TODO parametize this
+ if(line.match(/nichoj@gentoo.org/))
+
+ while ! line.match(/:$/)
+ line = f.gets
+ end
+
+ while (line = f.gets) && line.strip != ''
+ entry += line.strip + ' '
+ end
+
+ break
+ end
+ end
+
+ f.close
+ return entry.rstrip
+ end
+end