Guillaume Lelarge guillaume at lelarge.info
Fri Jun 11 10:39:07 PDT 2010
Le 28/05/2010 16:30, Guillaume Lelarge a écrit :
> Le 28/05/2010 16:09, Steve Singer a écrit :
>>
>>>
>>> I would be interested in working on this, but I couldn't find the
>>> Makefile Christopher told us about.
>>>
>>>
>>
>> The current makefile is literally
>>
>> ------------------
>> all:
>>         md5sum * > MD5SUMS
>>
>> ---------------
>>
>> and sits inside of the downloads/2.0/source  and downloads/1.2/source
>> directories on the webserver.  It does not appear to be in cvs (but
>> probably should be in the slony1-www project).
>>
> 
> OK, working on it.
> 

Got something, but not really something to be proud of. See attached files.

rssall.sh should be installed in the downloads directory. Makefile and
rss.sh should be in downloads/1.2/source and downloads/2.0/source
directories. If you execute make in one of the source directory, you
should get a versions.rss file in the downloads directory. I also
attached a copy of it.

There are two big issues:

  * beta and rc releases will be published in the versions.rss file,
    and we don't want that (we only want final releases).
  * pubDate is hard to get in the good format. As a matter of fact, I
    have no idea how to get it on the right format.

Moreover, I don't find my solution elegant to say the least :-/

I think a better idea would be to simply echo "Remember to update the
versions.rss file, please." when one executes the makefile. It's the
simplest idea, something that does not ask for a lot of work to build
it, and to actually do it for each release.

Comments?


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rssall.sh
Type: application/x-sh
Size: 283 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-general/attachments/20100611/48dd0375/attachment.sh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
Url: http://lists.slony.info/pipermail/slony1-general/attachments/20100611/48dd0375/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rss.sh
Type: application/x-sh
Size: 717 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-general/attachments/20100611/48dd0375/attachment-0001.sh 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: versions.rss
Type: application/rss+xml
Size: 1145 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-general/attachments/20100611/48dd0375/attachment.rss 


More information about the Slony1-general mailing list