原创 buildbot service architecture

1\ ##### ## twiste Service ## setServiceParent  will call addService ##### twisted_10_2/twisted/application/service.py

原创 X Windows 發送指定窗口相關Event

通過學習網頁 http://www.ibm.com/developerworks/cn/linux/l-cn-qt/index.html,整理爲“發送指定窗口相關Event”。 1、接收程序qtx11filter.c,使用QT編譯: #in

原创 depot_tools gclient

http://www.chromium.org/developers/how-tos/depottools gclient:  Meta-checkout tool managing both subversion and git chec

原创 Chrome Buildbot Environment variable

在buildbot裏面有很多路徑等是通過環境變量來生效,很可能環境變量沒有加到python中去,這肯定就有問題了 build-infrastructure/slave/run_slave.py 有一個函數remove_all_var

原创 chrome gyp

gyp相關網站:   http://code.google.com/p/gyp/w/list http://code.google.com/p/gyp/wiki/GypUserDocumentation http://code.google

原创 python generator

>>> lst_num = [1,2,3] >>> iter = (i for i in lst_num) >>> print iter.next <method-wrapper 'next' of generator object at 

原创 Twisted Http Auth

from twisted.web import http import base64  class MyRequestHandler(http.Request):     pages={         '/':'<h1>Hi,</h1>H

原创 chromium buildbot tree

site_config/ site_config/config_default.py :  master pc ip and port site_config/config.py: Archive config such as 'arch

原创 Buildbot 相關網站

BuildBot是一個自動構建工具。每當代碼有改變,服務器要求不同平臺上的客戶端立即進行代碼構建和測試,收集並報告不同平臺的構建和測試結果。 BuildBot用python寫的,該python程序只依賴python環境和Twisted(一個

原创 python Property

property([fget[, fset[, fdel[, doc]]]]) class C(object):     def __init__(self):         self._x = None      def getx(

原创 buildbot steps

chromium的buildbot項目中正常情況,一般分爲UpdateScript、Update、Compile、Archive、run tests這幾個step,當然也可以根據需要關閉、訂製、改寫step。通常都是在master端訂製sl

原创 python 正則表達式

  import re  s = r'Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") \ = "zlib", "..\third_party\zlib\zlib.vcxproj"

原创 Samba

參考http://wiki.ubuntu.org.cn/Samba Samba是Ubuntu和Windows進行網絡共享的工具。 Ubuntu 安裝Samba 以及設置步驟: 1、 安裝Samba: sudo apt-get i