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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download) (as text)
Tue Oct 21 05:17:48 2008 UTC (16 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.3: +5 -1 lines
File MIME type: application/x-sh
++ ChangeLog	21 Oct 2008 05:17:37 -0000
	* cvscommit.sh: Set |--feed-title|, |--feed-related-url|,
	|--feed-license-url|, and |-feed-rights| options to the
	|mkcommitfeed.pl| call.

	* mkcommitfeed.pl: New options |--feed-license-url|,
	|--feed-related-url|, and |--feed-rights| implemented.

2008-10-21  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24