Subversion Commit Mail-HOWTO
Please See SubversionCommitMail-HOWTO
Ä¿¹Ô ½ºÅ©¸³Æ® ¹Þ±â ¶commit-email.pl.txt.txt (17.22 KB)
ÆÄÀÏÀ» ¹Þ¾Æ¼ È®ÀåÀÚ¸¦ pl·Î °íÄ¡°í, Æ۹̼ÇÀ» ½ÇÇà°¡´ÉÇϵµ·Ï °íÄ£´Ù.
¸ÞÀÏ ±âº» charsetÀº UTF-8·Î µÇ¾îÀÖ°í, EUC-KR·Î °íÄ¡·Á¸é commit-email.plÀ» ¿¾î¼
°íÃÄÁØ´Ù.
´ÙÀ½ÀÇ °£´ÜÇÑ ³»¿ëÀ» post-commitÀ̶ó´Â ÆÄÀÏ À̸§À¸·Î ¸¸µé°í ½ÇÇà Æ۹̼ÇÀ» ÁØ´Ù.
#!/bin/sh
REPOS="$1" REV="$2" PERL="/usr/bin/perl" COMMIT_EMAIL="/svnroot/ÇÁ·ÎÁ§Æ®¸í/hooks/commit-email.pl" SUBJECT="[ÇÁ·ÎÁ§Æ®¸í-commits]" # subject prefix AUTHOR=`/usr/bin/svnlook author -r $REV $REPOS` FROMMAIL="$AUTHOR@users.kldp.net" # Sender LISTS="ÇÁ·ÎÁ§Æ®-¸ÞÀϸµ¸®½ºÆ®À̸§@lists.kldp.net" #Å×½ºÆ®¸¦ Çغ¸½Ã·Á¸é ´ÙÀ½À» ¹Ù²Ù°í ÁÖ¼®À» Ç®¾îº¸¼¼¿ä. #FROMMAIL="foobar@gmail.com" #LISTS="foobar@gmail.com" # ÇöÀç kldp.netÀº ¾Æ·¡¿Í °°Àº ¼³Á¤ÀÌ ¸ÔÈ÷Áö ¾Ê½À´Ï´Ù. # ·ÎÄÌÀÌ Á¦´ë·Î ¼³Ä¡µÇÁö ¾ÊÀº µí. #LANG=ko_KR.UTF-8 #LC_CTYPE=ko_KR.UTF-8 #export LANG LC_CTYPE $PERL $COMMIT_EMAIL "$REPOS" "$REV" -s "$SUBJECT" "$LISTS" --from "$FROMMAIL" Ä¿¹Ô ½ºÅ©¸³Æ® º¹»ç ¶$ scp post-commit À¯ÀúÀ̸§@kldp.net:/svnroot/ÇÁ·ÎÁ§Æ®À̸§/hooks $ scp commit-email.pl À¯ÀúÀ̸§@kldp.net:/svnroot/ÇÁ·ÎÁ§Æ®À̸§/hooks ³¡³µ½À´Ï´Ù. ÀÌÁ¦ Ä¿¹ÔÇÏ°í ¸ÞÀϸµ¸®½ºÆ®¸¦ È®ÀÎÇϼ¼¿ä.
ÁÖÀÇÇÏ½Ç °ÍÀº, º¸³»´Â °èÁ¤ÀÇ À¯Àú@users.kldp.netÀÌ ¸ÞÀϸµ¸®½ºÆ®¿¡ °¡ÀԵǾî ÀÖ¾î¾ß ÇÑ´Ù´Â °ÍÀÔ´Ï´Ù.
|
You are unscrupulously dishonest, false, and deceitful. |