Example #1
0
            empl = sobber.emailemployer (sobemail, p.date)
            empl.AddSOB()

    if not p.merge:
        p.author.addpatch (p)
        for sobemail, sob in p.sobs:
            sob.addsob (p)
        for hacker in p.reviews:
            hacker.addreview (p)
        for hacker in p.testers:
            hacker.addtested (p)
        for hacker in p.reports:
            hacker.addreport (p)
        CSCount += 1
    csvdump.AccumulatePatch (p, Aggregate)
    csvdump.store_patch (p)
print >> sys.stderr, 'Grabbing changesets...done       '

if DumpDB:
    database.DumpDB ()
database.MixVirtuals ()

#
# Say something
#
hlist = database.AllHackers ()
elist = database.AllEmployers ()
ndev = nempl = 0
for h in hlist:
    if len (h.patches) > 0:
        ndev += 1
Example #2
0
            empl = sobber.emailemployer(sobemail, pa.date)
            empl.AddSOB()

    if not pa.merge:
        pa.author.addpatch(pa)
        for sobemail, sob in pa.sobs:
            sob.addsob(pa)
        for hacker in pa.reviews:
            hacker.addreview(pa)
        for hacker in pa.testers:
            hacker.addtested(pa)
        for hacker in pa.reports:
            hacker.addreport(pa)
        CSCount += 1
    csvdump.AccumulatePatch(pa, Aggregate)
    csvdump.store_patch(pa)
print >> sys.stderr, 'Grabbing changesets...done       '

if DumpDB:
    database.DumpDB()
database.MixVirtuals()

# See: database.Employers
DebugUnknowns()

#
# Say something
#
hlist = database.AllHackers()
elist = database.AllEmployers()
# '*****@*****.**' in set(sum(map(lambda el: el.email, hlist), []))