1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-26 20:22:13 +01:00
Marcus Huewe fb44630ad7 Handle "cd prj; osc ci non_existent_pkg" more gracefully
When trying to commit a non-existent package via Project.commit it
is treated as an external package (because a non-existent package
has no "state" inside the project). That is, Project.commitExtPackage
is called, which fails with a FileNotFoundError in case of a
non-existent package (and the traceback is printed to the user).
In order to fix this, treat a non-existent package as broken package.
That is, simply print an info message and do not error out with a
traceback (note: the commit is _not_ aborted).

Fixes: #920 ("osc commit should fail gracefully in case of
nonexistent  filename")
2021-06-04 13:06:00 +02:00
..
2009-12-03 19:19:53 +01:00
2020-08-27 16:56:36 +02:00
2021-05-18 07:57:02 +02:00
2014-08-12 15:01:16 +02:00
2021-05-14 12:57:40 +10:00
2021-05-14 12:57:40 +10:00
2019-08-29 16:11:17 +02:00