Hello,

we have just released copr-dist-git-0.33 and copr-frontend-1.116. These packages are taking another step towards having a seamless integration with SCM systems.

Mainly Tito method was renamed to SCM-1 source and MockSCM method was renamed to SCM-2 source.

Backend for these two sources is already the same on copr-dist-git (ScmProvider), only frontend forms are currently a bit different.

Note that we don't use Tito (nor mock-scm already for some time) so tito.props is now just a silently ignored file.

What we did is that we defined two kinds of repositories: upstream and downstream.

Downstream repo: is empty (except .spec, README, tito.props, hidden files, currently) or contains at least one source or patch mentioned in the specfile

Upstream repo:
is not a downstream repo, meaning it contains something significant not mentioned in .spec as source or patch

This definition allows us to auto-differentiate between the two kinds of the repositories and do the right thing - either pack the repository content as tarball with name specified in Source0 (upstream repo) or just collect patches + sources there are already present (downstream repo).

There also might be just a spec file in the repository (or its subdirectory) with the sources being downloaded from network completely during rpm-build process.

This might sound complicated at first but really isn't. The idea is that the system should do the right thing for you automatically.

We are very happy about these changes and further possibilities this brings along and we hope you will be too.

COPR team