last bit of renaming
This commit is contained in:
parent
9c2564da85
commit
1ceb366f9d
3 changed files with 5 additions and 5 deletions
|
|
@ -2496,7 +2496,7 @@ def repo_info(repo_id, strict=False):
|
|||
('EXTRACT(EPOCH FROM events.time)', 'create_ts'),
|
||||
('repo.tag_id', 'tag_id'),
|
||||
('tag.name', 'tag_name'),
|
||||
('repo.signed', 'signed'),
|
||||
('repo.dist', 'dist'),
|
||||
)
|
||||
q = """SELECT %s FROM repo
|
||||
JOIN tag ON tag_id=tag.id
|
||||
|
|
|
|||
|
|
@ -116,10 +116,10 @@ info commands:
|
|||
|
||||
miscellaneous commands:
|
||||
call Execute an arbitrary XML-RPC call
|
||||
dist-repo Create a yum repo with distribution options
|
||||
import-comps Import group/package information from a comps file
|
||||
moshimoshi Introduce yourself
|
||||
save-failed-tree Create tarball with whole buildtree
|
||||
dist-repo create a yum repo of GPG signed RPMs
|
||||
|
||||
monitor commands:
|
||||
wait-repo Wait for a repo to be regenerated
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class TestDistRepoInit(unittest.TestCase):
|
|||
|
||||
ip = self.inserts[0]
|
||||
self.assertEquals(ip.table, 'repo')
|
||||
data = {'signed': True, 'create_event': 12345, 'tag_id': 42, 'id': 99,
|
||||
data = {'dist': True, 'create_event': 12345, 'tag_id': 42, 'id': 99,
|
||||
'state': koji.REPO_STATES['INIT']}
|
||||
self.assertEquals(ip.data, data)
|
||||
self.assertEquals(ip.rawdata, {})
|
||||
|
|
@ -68,7 +68,7 @@ class TestDistRepoInit(unittest.TestCase):
|
|||
|
||||
ip = self.inserts[0]
|
||||
self.assertEquals(ip.table, 'repo')
|
||||
data = {'signed': True, 'create_event': 12345, 'tag_id': 42, 'id': 99,
|
||||
data = {'dist': True, 'create_event': 12345, 'tag_id': 42, 'id': 99,
|
||||
'state': koji.REPO_STATES['INIT']}
|
||||
self.assertEquals(ip.data, data)
|
||||
self.assertEquals(ip.rawdata, {})
|
||||
|
|
@ -190,7 +190,7 @@ class TestDistRepoMove(unittest.TestCase):
|
|||
exports.distRepoMove(self.rinfo['id'], self.uploadpath,
|
||||
list(self.files), self.arch, self.sigmap)
|
||||
# check result
|
||||
repodir = self.topdir + '/repos-signed/%(tag_name)s/%(id)s' % self.rinfo
|
||||
repodir = self.topdir + '/repos-dist/%(tag_name)s/%(id)s' % self.rinfo
|
||||
for relpath in self.expected:
|
||||
path = os.path.join(repodir, relpath)
|
||||
basename = os.path.basename(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue