Hi Adrian, great stuff, but: Am Mittwoch, 25. Mai 2011, 20:14:17 schrieb Adrian Schröter:
How to test this ? ==================
First of all you need the new services and a new osc installed. Please add the proper openSUSE:Tools project repo and install
zypper in obs-service-download_files obs-service-format_spec_file obs-service-source_validator
In addition to that please install "osc" from openSUSE:Tools:Unstable project. If you do not like to add the repo, just run
osc getbinaries openSUSE:Tools:Unstable osc $YOUR_REPO $YOUR_ARCH
and install the osc package manually.
To activate this for your entire devel project (it would work also per package) do
# osc co $YOUR_DEVEL_PROJECT _project # cd $YOUR_DEVEL_PROJECT/_project # cat > _service <
<services> <service name="format_spec_file" mode="trylocal"/> <service name="download_files" mode="trylocal"/> <service name="source_validator" mode="trylocal"/> </services> EOF rlang@linux-ecfn:~/build/server:php:applications/_project> cat _service rlang@linux-ecfn:~/build/server:php:applications/_project> osc ar A _service rlang@linux-ecfn:~/build/server:php:applications/_project> osc ci -m "activate factory default source services" *.spec is no file at /usr/lib/obs/service/format_spec_file.files/prepare_spec
This didn't work for me.
lang@linux-ecfn:~/build/server:php:applications> osc co _project
A _project
At revision None.
rlang@linux-ecfn:~/build/server:php:applications> cd _project/
rlang@linux-ecfn:~/build/server:php:applications/_project> cat > _service
<