/[suikacvs]/markup/html/whatpm/cvscommit.sh
Suika

Contents of /markup/html/whatpm/cvscommit.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download) (as text)
Thu Nov 6 06:59:12 2008 UTC (16 years ago) by wakaba
Branch: MAIN
Changes since 1.4: +2 -2 lines
File MIME type: application/x-sh
++ ChangeLog	6 Nov 2008 06:58:59 -0000
2008-11-06  Wakaba  <wakaba@suika.fam.cx>

	* cvscommit.sh: Commit the updated Atom feed at the time of commit
	of the other files.

1 wakaba 1.1 #!/bin/sh
2     find -name ChangeLog | xargs cvs diff | grep "^\+" | sed -e "s/^\+//; s/^\+\+ .\//++ whatpm\//" > .cvslog.tmp
3 wakaba 1.3 ## TODO: Don't use -I here
4     perl \
5     -I/home/wakaba/work/manakai2/lib/ \
6     mkcommitfeed.pl --file-name whatpm-commit.en.atom.u8 \
7 wakaba 1.2 --feed-url http://suika.fam.cx/www/markup/html/whatpm/whatpm-commit \
8 wakaba 1.4 --feed-title "Whatpm ChangeLog diffs" \
9 wakaba 1.2 --feed-lang en \
10 wakaba 1.4 --feed-related-url "http://suika.fam.cx/www/markup/html/whatpm/readme" \
11     --feed-license-url "http://suika.fam.cx/www/markup/html/whatpm/readme#license" \
12     --feed-rights "This feed is free software; you can redistribute it and/or modify it under the same terms as Perl itself." \
13 wakaba 1.2 < .cvslog.tmp
14 wakaba 1.5 cvs commit -F .cvslog.tmp $1 $2 $3 $4 $5 $6 $7 $8 $9
15 wakaba 1.1 rm .cvslog.tmp
16    
17 wakaba 1.5 ## $Date: 2008/10/21 05:17:48 $
18 wakaba 1.1 ## License: Public Domain

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24