1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

ci warning 'File "..." is listed in package meta but does not exist.'

was confusing, it is the wrong way around. fixed.

Also allowing 'd' as an alias to 'r', in case the user thinks of
'delete', rather than 'remove'. This is also consistent with Rudi's validator
scripts.
This commit is contained in:
Test User 2011-04-08 14:25:56 +02:00
parent b8c3a23b90
commit 9c2593b515

View File

@ -5913,11 +5913,11 @@ def check_filelist_before_commit(pacs):
p.todo.sort()
for f in [f for f in p.todo if not os.path.isdir(f)]:
if not f.startswith('_service:') and not f.startswith('_service_') and p.status(f) in ('?', '!'):
print 'File "%s" is listed in package meta but does not exist.' % f
print 'File "%s" found, but not listed in package meta.' % f
resp = raw_input('(s)kip/(r)emove/(e)dit file lists/(c)ommit/(A)bort? ')
if resp in ('s', 'S'):
continue
elif resp in ('r', 'R'):
elif resp in ('r', 'R', 'd', 'D'):
p.process_filelist(['r ? %s' % f])
elif resp in ('e', 'E'):
try: