ãã°ããã¶ãã«ubuntu ppaã¸ããã±ã¼ã¸ãä¸ããã¨ãã®æé
Ubuntu Preciseã¸ã®ã¢ããã°ã¬ã¼ããããã®ã§ãèªåã®ppaã®pythonã©ã¤ãã©ãªã®ããã±ã¼ã¸ãæ´æ°ãããlaunchpadã¸ã®gpgéµã®ç»é²ããè¡ããã¨ã«ãªãããã®ã¡ã¢ã
ããã±ã¼ã¸ã®Preciseã¸ã®å¯¾å¿
debian/controlã®Dependsã§preciseã®ããã±ã¼ã¸ã«å¯¾å¿ããããã±ã¼ã¸åã«å¤ãããpreciseã§ã¯Pythonã®ãã¼ã¸ã§ã³ã¯pythonã2.7ã§python3ã3.2ã§ã2.6ãpython2.6ã¨ãã¦ç¬ç«ãã¦ã¤ã³ã¹ãã¼ã«å¯è½ã§ãã(3.1ã¯æ¶ãã)ã
ããªãã¡"debuild -uc -us"ã§ãã«ãã§ããããã«ãã¦ããã
gpgéµçæ
gpg --gen-key
æå¹æéã¯1yã§ã¢ã«ã´ãªãºã ãéµé·ã¯ããã©ã«ãã§è¯ãããååã¨ã¡ã¼ã«ã¢ãã¬ã¹ã¯debian/changelogã®ååã¨ã¡ã¼ã«ã¢ãã¬ã¹ã«åãããªãã¦ã¯ãããªããéµçæããµã¼ãã§è¡ãå ´årng-toolsããã±ã¼ã¸ãå ¥ãã¦ããã¨ãããpassphraseã¯å¿ é ã
gpgéµç»é²
ã¾ãéµéä¿¡
gpg --send-keys --keyserver keyserver.ubuntu.com 580B5697
æå¾ã®å¼æ°ã¯çæããéµã®IDã"gpg --list-keys"ã³ãã³ãã§éµä¸è¦§ãè¦ããããã®éãã¹ãã®ãã¡uidãä»ãã¦ããpubã®éµIDãéãã
次ã«launchpadä¸ã§éµãç»é²ããããã©ã¦ã¶ã§"OpenPGP Keys"ã®ã¢ã¤ã³ã³ãã¯ãªãã¯ããä¸é¨ã®"Import and OpenPGP Key"ã®ãã©ã¼ã ã«fingerprintãå ¥ãã"Import Key"ãã¿ã³ãæ¼ãã(éµéä¿¡ããlaunchpadãå©ç¨å¯è½ã«ãªãã¾ã§å°ãæéããããã®ã§ã失æãããæ°åå¾ ã£ã¦ããè¡ã)
fingerprintã®åºãæ¹ã¯ã以ä¸ã®ããã«ã³ãã³ãã§éµIDãæå®ãã¦è¡ãã
gpg --fingerprint 580B5697
ããã§åºãæç´ã®4x10æåãã¹ãã¼ã¹å ¥ãã®ã¾ã¾ãã©ã¼ã ã¸ã³ããããã
ããã¨ã¡ã¼ã«ãéããã¦ããããã®ã¡ã¼ã«ã®ãã¡
-----BEGIN PGP MESSAGE----- Version: GnuPG v1.4.10 (GNU/Linux) ... -----END PGP MESSAGE-----
ã®é¨åãããã¹ããã¡ã¤ã«ã¨ãã¦ä¿åããããã¨ãã°encrypt.txtã¨ãããã¡ã¤ã«åã«ããã
ãã®ãã¡ã¤ã«ãgpgã§å¾©å·ããã
gpg encrypt.txt
復å·ãããã¡ã¤ã«å ã®ä¸çªä¸ã®è¡ã®URLã¸ã¢ã¯ã»ã¹ããcontinueããã°OpenPGP Keysã«ç»é²ãããã
ãã®éµã§Code of Conductãµã¤ã³
launchpadä¸ã§å¤ãCoCãdeactivateããã°ãCoCç½²åã®ã¤ã³ã¿ãã§ã¼ã¹ãåºãã
UbuntuCodeofConduct-1.1.txtããã¦ã³ãã¼ãããç½²åããã
gpg --clearsign UnbuntuCodeofConduct-1.1.txt
UnbuntuCodeofConduct-1.1.txt.ascãçæãããã®ã§ããã®ãã¡ã¤ã«ãéãå å®¹å ¨é¨ãlaunchpadã®ãã©ã¼ã ã¸ã³ãããéãã°å®äºã
ppaã¸ã¢ãããã¼ã
dch -v 1.0.5.5-0nmu1ppa1 debuild -S -sa cd .. dput ppa:bellbind/python-simplexquery_1.0.5.5-0nmu1ppa1_source.changes
ä¸ããé ã«ãdchã§ppaç¨ãã¼ã¸ã§ã³ä»ãããdebuild -S -saã§ç½²åä»ãã®changesãã¤ãããdputåºã¢ãããã¼ãããããã¨ã¯launchpadã§ãã«ããçµããã®ãå¾ ã¤ã