Greetings,

As autoqa is currently packaged, all tests, watchers, configs and
cronjobs are included in the main autoqa package.  This works fine
except for a minor annoyance.  Anytime you install 'autoqa', unless you
are actually scheduling jobs, you needed comment or remove the watcher
notification /etc/cron.d/autoqa.  This gets annoying the more I deploy
autoqa.  

I'd like propose moving the watcher scripts and cronjob into a
sub-package (see attached patch for detail).

When most people install 'autoqa', they want the test library and tests.
This won't change that behavior.  The only change will be for anyone
setting up a test server.  I'll need to update the existing wiki
documentation to note installing 'autoqa-watchers' when setting up a
test server [1].

Comments/concerns/ideas?

Thanks,
James

[1] https://fedoraproject.org/wiki/Install_and_configure_AutoQA
diff --git a/autoqa.spec b/autoqa.spec
index c75bcad..f950c09 100644
--- a/autoqa.spec
+++ b/autoqa.spec
@@ -5,7 +5,7 @@
 
 Name: autoqa
 Summary: Automated quality assurance framework
-Version: 0.4.0
+Version: 0.4.1
 Release: 1%{?dist}
 Source0: http://fedorahosted.org/autoqa/releases/%{name}-%{version}.tar.gz
 License: GPLv2+
@@ -21,6 +21,19 @@ tests, the tests, and a series of watcher scripts designed to execute tests
 under certain conditions.
 
 
+%package watchers
+Summary: Autoqa watcher scripts used to detect test events
+Group: Applications/Internet
+Requires: %{name}
+Requires: python-fedora
+
+
+%description watchers
+The %{name}-watchers package provides the watcher/hook scripts used to test autoqa
+test events.  This includes yum repository updates, new koji builds, new bodhi
+requests.
+
+
 %package israwhidebroken
 Summary: A TurboGears front-end for 'is rawhide broken'
 Group: Applications/Internet
@@ -74,7 +87,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc README LICENSE TODO
-%config(noreplace) %{_sysconfdir}/cron.d/autoqa
 %config(noreplace) %{_sysconfdir}/autoqa/autoqa.conf
 %config %{_sysconfdir}/autoqa/repoinfo.conf
 %config(noreplace) %{testdir}/rats_sanity/irb.cfg
@@ -82,11 +94,16 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/autoqa
 %{_bindir}/autoqa
 %{testdir}
-%{hookdir}
 %{_datadir}/autotest/client/bin/site_utils.py*
 %{python_sitelib}/autoqa*
 
 
+%files watchers
+%defattr(-,root,root,-)
+%config(noreplace) %{_sysconfdir}/cron.d/autoqa
+%{hookdir}
+
+
 %files israwhidebroken
 %defattr(-,root,root,-)
 %doc front-ends/israwhidebroken/README.txt
@@ -100,6 +117,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Sep 9 2010 James Laska <[email protected]> - 0.4.1-1
+- Corrected several multihook test issues (kparal)
+- Updated rats_sanity comps.rng URL (wwoods)
+- Moved watchers/hooks and cronjob to autoqa-watchers sub-package (jlaska)
+
 * Tue Aug 30 2010 James Laska <[email protected]> - 0.4.0-1
 - Ticket#123 - Add upgrade-path test (vaschenb)
 - Ticket#195 - Add Helloworld test for hook verification (vaschenb)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
autoqa-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/autoqa-devel

Reply via email to