Skip to content

Commit cad86d4

Browse files
committed
guess: return RH osdist for eng- dist-git branches
Red Hat's rel-eng team uses "eng-rhel-6" and "eng-rhel-7" branches in dist-git. Return a product that begins with "RH" so that the "rdopkg new-version" command will automatically upload new source tarballs to the lookaside cache when operating here. Change-Id: I65ae0183acd4633aba4e44aa4038ee81b6154197
1 parent f76bbd6 commit cad86d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rdopkg/guess.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ def osdist(branch=None):
262262
return 'RHCEPH'
263263
if branch.startswith('rhscon-'):
264264
return 'RHSCON'
265+
if branch.startswith('eng-'):
266+
return 'RHENG'
265267
# XXX Detect 'Fedora' here? From r'f\d+' branches possibly.
266268
return 'RDO'
267269

0 commit comments

Comments
 (0)