Re: r18476 - htdocs/trunk/news - Fix unstable version warning

2009-12-10 Thread Christian Stimming

Zitat von Geert Janssens janssens-ge...@telenet.be:

  A new template would be great.  Even better would be working out a good
  process for updating the changed item section.  For this, I looked at
  the revision log from http://svn.gnucash.org/trac/log/gnucash/trunk,
  but it cuts off the comments.


You can check Show full log messages and click update. This gives you a view
with full log messages, but the layout is slightly changed as well.  
Maybe this helps ?


If not, I think I should be able to whip up a script that extracts the right
information and massage it into the proper format.


We also have such a script - the makefile rules for the ChangeLog file  
in the top-level directory do exactly this: It downloads the svn log  
data from the hard-coded revision and formats it into some text file  
by the use of an xslt style sheet.


Regards,

Christian

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r18476 - htdocs/trunk/news - Fix unstable version warning

2009-12-10 Thread Geert Janssens
On Thursday 10 December 2009, Christian Stimming wrote:
 Zitat von Geert Janssens janssens-ge...@telenet.be:
A new template would be great.  Even better would be working out a
good process for updating the changed item section.  For this, I
looked at the revision log from
http://svn.gnucash.org/trac/log/gnucash/trunk, but it cuts off the
comments.
 
  You can check Show full log messages and click update. This gives you a
  view with full log messages, but the layout is slightly changed as well.
  Maybe this helps ?
 
  If not, I think I should be able to whip up a script that extracts the
  right information and massage it into the proper format.

 We also have such a script - the makefile rules for the ChangeLog file
 in the top-level directory do exactly this: It downloads the svn log
 data from the hard-coded revision and formats it into some text file
 by the use of an xslt style sheet.

 Regards,

 Christian

I didn't know that. I have looked at the Changelog script. It is unfortunately 
of not much help for generating the news files. It outputs plain text, in a 
particular Changelog format.

I played a bit with xslt myself and came up with a script that takes 2 
parameters: $oldversion and $newversion. (eg 2.3.7 and 2.3.8). It will get all 
the commits that went into release $newversion since release $oldversion and 
outputs a simple html table with this info. This can then be copy/pasted into 
the newsfile for $newversion.

I have also considered automatically generating the news file, but I don't 
think that is really possible. There are parts of a news message that are 
setup by hand (like the major changes section).

I haven't commited this script anywhere just yet. I'm just playing with ideas. 
I will attach the example output. It currently contains revision number, 
committer and logmessage. Would that be reasonable information to put in a 
newsmessage on the website, or do you prefer to keep it as a bulleted list as 
it is now ?

Of course, if we go for a table format, I will add additional CSS to have a 
cleaner layout.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r18476 - htdocs/trunk/news - Fix unstable version warning

2009-12-09 Thread Geert Janssens
Phil,

I see you have pushed a new news item. You already found there is now a 
warning block in it. I had made some additional changes to the news pages, 
like adding links to the proper download locations and some general tidying to 
the titles.
I see now that I didn't communicate these changes properly. Sorry about that.

The result is that these changes are not picked up in your new news item.

I propose to take the news item for 2.3.7 as a template for future 
(development) news pages.

It would be nice if the 2.3.8 item had the other layout and content updates I 
did to the previous items. I can do that if you like, or you can do it 
yourself.

I think apart for the version numbers, the only varying part of the news item 
is the Changes between 2.3.x and 2.3.y include section. Specifically for the 
version number, it's easiest to do a search and replace. There are some in the 
links at the bottom of the news item as well.

Geert

On Wednesday 9 December 2009, Phil Longstaff wrote:
 Author: plongstaff
 Date: 2009-12-09 13:09:25 -0500 (Wed, 09 Dec 2009)
 New Revision: 18476
 Trac: http://svn.gnucash.org/trac/changeset/18476

 Modified:
htdocs/trunk/news/091208-2.3.8.news
 Log:
 Fix unstable version warning


 ___
 gnucash-patches mailing list
 gnucash-patc...@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-patches


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r18476 - htdocs/trunk/news - Fix unstable version warning

2009-12-09 Thread Geert Janssens
Also, when you update a release (stable or development), the new version 
number should be inserted in externals/global_params.php.

This ensures that the front page and downloads page continue to list the 
latest versions. For an unstable release, only the downloads page is affected 
by this, for a stable release, both pages are affected.

Geert

On Wednesday 9 December 2009, Phil Longstaff wrote:
 Author: plongstaff
 Date: 2009-12-09 13:09:25 -0500 (Wed, 09 Dec 2009)
 New Revision: 18476
 Trac: http://svn.gnucash.org/trac/changeset/18476

 Modified:
htdocs/trunk/news/091208-2.3.8.news
 Log:
 Fix unstable version warning


 ___
 gnucash-patches mailing list
 gnucash-patc...@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-patches


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r18476 - htdocs/trunk/news - Fix unstable version warning

2009-12-09 Thread Phil Longstaff
I didn't 'svn update' until after I'd copied 2.3.7 to 2.3.8 as a template, so I 
didn't know about the new stuff.  It wasn't until I had first committed the 
2.3.8 news item and then went to see how it looked on gnucash.org that I 
noticed some of the new stuff.  I copied the warning block, but nothing else.

A new template would be great.  Even better would be working out a good process 
for updating the changed item section.  For this, I looked at the revision log 
from http://svn.gnucash.org/trac/log/gnucash/trunk, but it cuts off the 
comments.

Phil





From: Geert Janssens janssens-ge...@telenet.be
To: gnucash-devel@gnucash.org
Sent: Wed, December 9, 2009 1:35:42 PM
Subject: Re: r18476 - htdocs/trunk/news - Fix unstable version warning

Phil,

I see you have pushed a new news item. You already found there is now a 
warning block in it. I had made some additional changes to the news pages, 
like adding links to the proper download locations and some general tidying to 
the titles.
I see now that I didn't communicate these changes properly. Sorry about that.

The result is that these changes are not picked up in your new news item.

I propose to take the news item for 2.3.7 as a template for future 
(development) news pages.

It would be nice if the 2.3.8 item had the other layout and content updates I 
did to the previous items. I can do that if you like, or you can do it 
yourself.

I think apart for the version numbers, the only varying part of the news item 
is the Changes between 2.3.x and 2.3.y include section. Specifically for the 
version number, it's easiest to do a search and replace. There are some in the 
links at the bottom of the news item as well.

Geert

On Wednesday 9 December 2009, Phil Longstaff wrote:
 Author: plongstaff
 Date: 2009-12-09 13:09:25 -0500 (Wed, 09 Dec 2009)
 New Revision: 18476
 Trac: http://svn.gnucash.org/trac/changeset/18476

 Modified:
htdocs/trunk/news/091208-2.3.8.news
 Log:
 Fix unstable version warning


 ___
 gnucash-patches mailing list
 gnucash-patc...@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-patches


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r18476 - htdocs/trunk/news - Fix unstable version warning

2009-12-09 Thread Geert Janssens
On Wednesday 9 December 2009, Phil Longstaff wrote:
 I didn't 'svn update' until after I'd copied 2.3.7 to 2.3.8 as a template,
 so I didn't know about the new stuff.  It wasn't until I had first
 committed the 2.3.8 news item and then went to see how it looked on
 gnucash.org that I noticed some of the new stuff.  I copied the warning
 block, but nothing else.

 A new template would be great.  Even better would be working out a good
 process for updating the changed item section.  For this, I looked at the
 revision log from http://svn.gnucash.org/trac/log/gnucash/trunk, but it
 cuts off the comments.

What do you mean with it cuts off the comments ?

Geert

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r18476 - htdocs/trunk/news - Fix unstable version warning

2009-12-09 Thread Geert Janssens
On Wednesday 9 December 2009, Phil Longstaff wrote:
 On Wed, 2009-12-09 at 23:34 +0100, Geert Janssens wrote:
  On Wednesday 9 December 2009, Phil Longstaff wrote:
   I didn't 'svn update' until after I'd copied 2.3.7 to 2.3.8 as a
   template, so I didn't know about the new stuff.  It wasn't until I had
   first committed the 2.3.8 news item and then went to see how it looked
   on gnucash.org that I noticed some of the new stuff.  I copied the
   warning block, but nothing else.
  
   A new template would be great.  Even better would be working out a good
   process for updating the changed item section.  For this, I looked at
   the revision log from http://svn.gnucash.org/trac/log/gnucash/trunk,
   but it cuts off the comments.
 
  What do you mean with it cuts off the comments ?

 Here's the log message from the most recent commit: Small UI string
 corrections related to the recent tax enhancements. Patch …

 The ... is what I mean.

Ok, now I see. It didn't cross my mind you were looking to a website in your 
browser. I was looking at svn log at the command line, which also uses a URL 
:)

You can check Show full log messages and click update. This gives you a view 
with full log messages, but the layout is slightly changed as well. Maybe this 
helps ?

If not, I think I should be able to whip up a script that extracts the right 
information and massage it into the proper format.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r18476 - htdocs/trunk/news - Fix unstable version warning

2009-12-09 Thread Phil Longstaff
On Wed, 2009-12-09 at 23:34 +0100, Geert Janssens wrote:
 On Wednesday 9 December 2009, Phil Longstaff wrote:
  I didn't 'svn update' until after I'd copied 2.3.7 to 2.3.8 as a template,
  so I didn't know about the new stuff.  It wasn't until I had first
  committed the 2.3.8 news item and then went to see how it looked on
  gnucash.org that I noticed some of the new stuff.  I copied the warning
  block, but nothing else.
 
  A new template would be great.  Even better would be working out a good
  process for updating the changed item section.  For this, I looked at the
  revision log from http://svn.gnucash.org/trac/log/gnucash/trunk, but it
  cuts off the comments.
 
 What do you mean with it cuts off the comments ?

Here's the log message from the most recent commit: Small UI string
corrections related to the recent tax enhancements. Patch …

The ... is what I mean.

Phil

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel