/[gentoo]/src/packages/daily.py
Gentoo

Diff of /src/packages/daily.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
71db = ebuilddb.db_connect() 71db = ebuilddb.db_connect()
72c = db.cursor() 72c = db.cursor()
73 73
74extra = '' 74extra = ''
75if arch: 75if arch:
76 stable_extra = ('ebuild.arch REGEXP "^%s| %s" ' 76 stable_extra = ('FIND_IN_SET("%s", ebuild.arch) > 0 AND '
77 ' AND ebuild.prevarch NOT REGEXP"^%s| %s"' 77 'FIND_IN_SET("%s", ebuild.prevarch) = 0 ' % (arch, arch))
78 % (arch,arch,arch,arch)) 78 testing_extra = ('FIND_IN_SET("~%s", ebuild.arch) > 0 AND '
79 testing_extra = ('ebuild.arch REGEXP "^~%s| ~%s" ' 79 'FIND_IN_SET("%s", ebuild.prevarch) = 0 ' % (arch, arch))
80 ' AND ebuild.prevarch NOT REGEXP "^~%s| ~%s"'
81 % (arch,arch,arch,arch))
82 if branch == 'stable': 80 if branch == 'stable':
83 extra = ' AND (%s) ' % stable_extra 81 extra = ' AND (%s) ' % stable_extra
84 elif branch == 'testing': 82 elif branch == 'testing':
85 extra = ' AND (%s) ' % testing_extra 83 extra = ' AND (%s) ' % testing_extra
86 else: 84 else:

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20