lib/gettor/packages.py
def initRsync(self, mirror="rsync.torproject.org", silent=False):
        """Build rsync command for fetching packages. This basically means
           'exclude everything we don't want'
        """
        # Rsync command 1
        self.rsync = "rsync -a" 
        self.rsync += " "
        self.rsync += "--delete"
        self.rsync += " "
        self.rsync += "--exclude='*current*'"
        self.rsync += " "
        self.rsync += "--exclude='*osx*'"
        self.rsync += " "
        self.rsync += "--exclude='*rpm*'"
        self.rsync += " "
        self.rsync += "--exclude='*privoxy*'"
        self.rsync += " "
        self.rsync += "--exclude='*alpha*'"
        self.rsync += " "
        self.rsync += "--exclude='*torbutton*'"
        self.rsync += " "
        # Exclude tor-im bundles for now. Too large. XXX 
        self.rsync += "--exclude='*torbrowser/tor-im*'"
        self.rsync += " "
        self.rsync += "--exclude='*win32*'"
        self.rsync += " "
        self.rsync += "--exclude='*android*'"
        self.rsync += " "
        self.rsync += "--exclude='*misc*'"
        self.rsync += " "
        if not silent:
            self.rsync += "--progress"
            self.rsync += " "
        self.rsync += "rsync://%s/tor/dist/" % mirror
        self.rsync += " "
        self.rsync += self.distDir + "/"
Build rsync command for fetching packages. This basically means
           'exclude everything we don't want'
        
Build rsync command for fetching packages. This basically means
'exclude everything we don't want'
Build rsync command for fetching packages . This basically means ' exclude everything we don ' t want '
def initRsync(self, mirror="rsync.torproject.org", silent=False):
        self.rsync = "rsync -a" 
        self.rsync += " "
        self.rsync += "--delete"
        self.rsync += " "
        self.rsync += "--exclude='*current*'"
        self.rsync += " "
        self.rsync += "--exclude='*osx*'"
        self.rsync += " "
        self.rsync += "--exclude='*rpm*'"
        self.rsync += " "
        self.rsync += "--exclude='*privoxy*'"
        self.rsync += " "
        self.rsync += "--exclude='*alpha*'"
        self.rsync += " "
        self.rsync += "--exclude='*torbutton*'"
        self.rsync += " "
        self.rsync += "--exclude='*torbrowser/tor-im*'"
        self.rsync += " "
        self.rsync += "--exclude='*win32*'"
        self.rsync += " "
        self.rsync += "--exclude='*android*'"
        self.rsync += " "
        self.rsync += "--exclude='*misc*'"
        self.rsync += " "
        if not silent:
            self.rsync += "--progress"
            self.rsync += " "
        self.rsync += "rsync://%s/tor/dist/" % mirror
        self.rsync += " "
        self.rsync += self.distDir + "/"
def initRsync ( self , mirror = "rsync.torproject.org" , silent = False ) : self . rsync = "rsync -a" self . rsync += " " self . rsync += "--delete" self . rsync += " " self . rsync += "--exclude='*current*'" self . rsync += " " self . rsync += "--exclude='*osx*'" self . rsync += " " self . rsync += "--exclude='*rpm*'" self . rsync += " " self . rsync += "--exclude='*privoxy*'" self . rsync += " " self . rsync += "--exclude='*alpha*'" self . rsync += " " self . rsync += "--exclude='*torbutton*'" self . rsync += " " self . rsync += "--exclude='*torbrowser/tor-im*'" self . rsync += " " self . rsync += "--exclude='*win32*'" self . rsync += " " self . rsync += "--exclude='*android*'" self . rsync += " " self . rsync += "--exclude='*misc*'" self . rsync += " " if not silent : self . rsync += "--progress" self . rsync += " " self . rsync += "rsync://%s/tor/dist/" % mirror self . rsync += " " self . rsync += self . distDir + "/"
Build rsync command for fetching packages.
Build rsync command for fetching packages .
"""Build rsync command for fetching packages. This basically means
           'exclude everything we don't want'
        """ # Rsync command 1 # Exclude tor-im bundles for now. Too large. XXX 
self
mirror
silent