mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	Rename fucked_arches to outofsync_arches, to avoid getting in trouble when bringing up new commercially-supported architectures.
This commit is contained in:
		
							parent
							
								
									f320ff7283
								
							
						
					
					
						commit
						161b1613e0
					
				@ -19,7 +19,7 @@ ARCHITECTURES     = amd64 armhf i386 powerpc
 | 
			
		||||
NOBREAKALL_ARCHES = i386
 | 
			
		||||
 | 
			
		||||
# if you're in this list, your packages may not stay in sync with the source
 | 
			
		||||
FUCKED_ARCHES     = 
 | 
			
		||||
OUTOFSYNC_ARCHES  = 
 | 
			
		||||
 | 
			
		||||
# if you're in this list, your uninstallability count may increase
 | 
			
		||||
BREAK_ARCHES      = 
 | 
			
		||||
 | 
			
		||||
@ -408,7 +408,7 @@ class Britney(object):
 | 
			
		||||
        # Sort the architecture list
 | 
			
		||||
        allarches = sorted(self.options.architectures.split())
 | 
			
		||||
        arches = [x for x in allarches if x in self.options.nobreakall_arches.split()]
 | 
			
		||||
        arches += [x for x in allarches if x not in arches and x not in self.options.fucked_arches.split()]
 | 
			
		||||
        arches += [x for x in allarches if x not in arches and x not in self.options.outofsync_arches.split()]
 | 
			
		||||
        arches += [x for x in allarches if x not in arches and x not in self.options.break_arches.split()]
 | 
			
		||||
        arches += [x for x in allarches if x not in arches and x not in self.options.new_arches.split()]
 | 
			
		||||
        arches += [x for x in allarches if x not in arches]
 | 
			
		||||
@ -1502,7 +1502,7 @@ class Britney(object):
 | 
			
		||||
                    base = 'stable'
 | 
			
		||||
                text = "Not yet built on <a href=\"https://launchpad.net/ubuntu/+source/%s/%s\" target=\"_blank\">%s</a> (relative to testing)" % (urllib.quote(src), urllib.quote(source_u[VERSION]), arch)
 | 
			
		||||
 | 
			
		||||
                if arch in self.options.fucked_arches.split():
 | 
			
		||||
                if arch in self.options.outofsync_arches.split():
 | 
			
		||||
                    text = text + " (but %s isn't keeping up, so never mind)" % (arch)
 | 
			
		||||
                else:
 | 
			
		||||
                    update_candidate = False
 | 
			
		||||
@ -1541,7 +1541,7 @@ class Britney(object):
 | 
			
		||||
 | 
			
		||||
            # if there are out-of-date packages, warn about them in the excuse and set update_candidate
 | 
			
		||||
            # to False to block the update; if the architecture where the package is out-of-date is
 | 
			
		||||
            # in the `fucked_arches' list, then do not block the update
 | 
			
		||||
            # in the `outofsync_arches' list, then do not block the update
 | 
			
		||||
            if oodbins:
 | 
			
		||||
                oodtxt = ""
 | 
			
		||||
                for v in oodbins.keys():
 | 
			
		||||
@ -1553,7 +1553,7 @@ class Britney(object):
 | 
			
		||||
                    "%s/%s\" target=\"_blank\">%s</a>: %s" % \
 | 
			
		||||
                    (urllib.quote(src), urllib.quote(source_u[VERSION]), arch, oodtxt)
 | 
			
		||||
 | 
			
		||||
                if arch in self.options.fucked_arches.split():
 | 
			
		||||
                if arch in self.options.outofsync_arches.split():
 | 
			
		||||
                    text = text + " (but %s isn't keeping up, so nevermind)" % (arch)
 | 
			
		||||
                else:
 | 
			
		||||
                    update_candidate = False
 | 
			
		||||
 | 
			
		||||
@ -18,7 +18,7 @@ ARCHITECTURES     = i386 amd64 armel ia64 mips mipsel powerpc s390 sparc kfreebs
 | 
			
		||||
NOBREAKALL_ARCHES = i386 amd64 armel ia64 mips mipsel powerpc s390 sparc kfreebsd-i386 kfreebsd-amd64 armhf s390x
 | 
			
		||||
 | 
			
		||||
# if you're in this list, your packages may not stay in sync with the source
 | 
			
		||||
FUCKED_ARCHES     =
 | 
			
		||||
OUTOFSYNC_ARCHES  =
 | 
			
		||||
 | 
			
		||||
# if you're in this list, your uninstallability count may increase
 | 
			
		||||
BREAK_ARCHES      =
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user