owncloud / administration

Some Administration tools for ownCloud
54 stars 42 forks source link

obs: DEBTRANSFORM-RELEASE everywhere #48

Open jnweiger opened 9 years ago

jnweiger commented 9 years ago

All our packages should take care of auto incrementing their build release number for DEB builds the same way as they do for RPM builds.

Currenlty we use /usr/lib/obs/service/source_validator to issue an error when a commit does not change the version-buildrelease combination. (Dangerous for debian packages, as they cause repository checksum errors then -- no timestamps used there).

A *.dsc file containing

# https://github.com/openSUSE/obs-build/pull/147
DEBTRANSFORM-RELEASE: 1

auto-increments the build release number in classic rpm . style.

Many packages already have that, but not all.

jnweiger commented 9 years ago

@Kawohl Please help checking where it is missing. See also https://github.com/openSUSE/obs-service-source_validator/issues/22

jnweiger commented 9 years ago

The DEBTRANSFORM-RELEASE feature keeps counting, when the version number is incremented. It should reset itself to 1.1 when the version number changes.

jnweiger commented 9 years ago

This caused https://github.com/owncloud/enterprise/issues/791 Our s2 buildservice misses a commit to support the DEBTRANSFORM-RELEASE feature. https://github.com/joergsteffens/obs-build/commit/53e20ebf890c7c140e7846a3ce82078d0ea79fef