openSUSE / obs-service-tar_scm

An OBS source service: fetches code from any SCM and archives it
GNU General Public License v2.0
31 stars 105 forks source link

Create changes file if none exists #484

Open JanZerebecki opened 4 months ago

JanZerebecki commented 4 months ago

This was noticed in a CI generated package with only a _service file, which now fails because I made rpm error when it finds no changes file in Factory.

Fixes: https://bugzilla.suse.com/show_bug.cgi?id=1220540

JanZerebecki commented 4 months ago

Tested manually to work for both cases of existing an non-existing changes file. CI failure unrelated.

adrianschroeter commented 4 months ago

erm, you always create a changes file now even not wanted?

That won't solve failures where you don't have a changes file on purpose, but build against factory (without any _service). IMHO you need to solve this on the other side.

JanZerebecki commented 4 months ago

@adrianschroeter This only creates the changes file if it is requested via the option for it.