Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 308382 Details for
Bug 450013
Review Request: testopia - bugzilla extended to add test case management
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
For reference, patch showing what I did to bugzilla.spec to get to testopia.spec
bugzilla-to-testopia.patch (text/plain), 5.48 KB, created by
Dave Malcolm
on 2008-06-04 19:16:50 UTC
(
hide
)
Description:
For reference, patch showing what I did to bugzilla.spec to get to testopia.spec
Filename:
MIME Type:
Creator:
Dave Malcolm
Created:
2008-06-04 19:16:50 UTC
Size:
5.48 KB
patch
obsolete
>--- bugzilla.spec 2008-06-04 15:15:37.000000000 -0400 >+++ testopia.spec 2008-06-04 14:52:21.000000000 -0400 >@@ -1,33 +1,60 @@ >+# Testopia (http://www.mozilla.org/projects/testopia/) is an extension of >+# Bugzilla (http://www.bugzilla.org/) that adds test-case management, allowing >+# test plans and result reporting to be integrated into the Bugzilla web UI. >+# >+# It patches the core of Bugzilla, and hence has to be built as part of the >+# core package, rather than a separate srpm. >+# >+# Not all Bugzilla deployments will want Testopia, so for now Testopia is >+# packaged in Fedora as a separate package. The "testopia" package is >+# deliberately as close as possible to the "bugzilla" package for simplicity's >+# sake; install one or the other. See bug 449401 for a discussion of this >+ >+%define testopia_version 2.0-RC1 >+%define cleaned_testopia_version 2.0_RC1 >+%define testopia_patch_version 3.0.x >+ > %define bzinstallprefix %{_datadir} > %define bzdatadir %{_localstatedir}/lib/bugzilla >+%define bzbuilddir %{_builddir}/bugzilla-%{version} > >-Summary: Bug tracking system >-URL: http://www.bugzilla.org/ >-Name: bugzilla >+Summary: Test case management system >+URL: http://www.mozilla.org/projects/testopia/ >+Name: testopia > Version: 3.0.4 > Group: Applications/Publishing >-Release: 1%{?dist} >+Release: 1.tr%{cleaned_testopia_version}%{?dist} > License: MPL > Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz > Source1: bugzilla-httpd-conf > Source2: README.fedora.bugzilla >+Source3: testopia-%{testopia_version}.tar.gz > Patch0: bugzilla-rw-paths.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildArch: noarch > Requires: smtpdaemon, webserver, patchutils, mod_perl, perl-SOAP-Lite, perl-Email-Simple, perl-Email-MIME-Modifier, perl-Template-Toolkit, perl-MIME-tools, perl-Email-MIME-Attachment-Stripper, perl-Email-Send, perl-Email-Reply, perl-Email-MIME, perl-Email-Address, which >+Conflicts: bugzilla > > %package doc > Summary: Bugzilla documentation > Group: Documentation >+Conflicts: bugzilla-doc > > %package contrib > Summary: Bugzilla contributed scripts > Group: Applications/Publishing >+Conflicts: bugzilla-contrib > > %description >-Bugzilla is a popular bug tracking system used by multiple open source >-projects. It requires a database engine installed - either MySQL or >-PostgreSQL. Without one of these database engines, Bugzilla will not work. >+Testopia is a test case management system built as an extension of Bugzilla, >+allowing test plans and result reporting to be integrated into the Bugzilla >+web UI. >+ >+This package is a version of Bugzilla built with the Testopia extensions; if >+you wish to deploy Testopia, install this package rather than "bugzilla". As >+with the regular "bugzilla" package it requires a database engine installed >+- either MySQL or PostgreSQL. Without one of these database engines, Testopia >+will not work. > > %description doc > Documentation distributed with the Bugzilla bug tracking system >@@ -36,9 +63,25 @@ Documentation distributed with the Bugzi > Contributed scripts and functions for Bugzilla > > %prep >-%setup -q -n %{name}-%{version} >+%setup -q -n bugzilla-%{version} > %patch0 -p1 > >+# Unpack testopia tarball >+tar -zxf %{SOURCE3} -C %{bzbuilddir} >+ >+# Fixup permissions for files in the Testopia tarball; grant read access >+# to "all" for all files; and read/execute for all directories: >+# (the --mode argument to tar appears to have no effect when extracting) >+for file in `tar --list -f %{SOURCE3}`; do >+ [ -d $file ] && chmod a+rx $file >+ [ -f $file ] && chmod a+r $file >+done >+ >+# Apply patch from within testopia tarball to bugzilla: >+pushd %{bzbuilddir} >+patch -p0 -i testopia/patch-%{testopia_patch_version} >+popd >+ > # Filter unwanted Requires: > cat << \EOF > %{name}-req > #!/bin/sh >@@ -46,7 +89,7 @@ cat << \EOF > %{name}-req > sed -e '/perl(globals.pl)/d;/perl(BugzillaEmail)/d' > EOF > >-%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req >+%define __perl_requires %{_builddir}/bugzilla-%{version}/%{name}-req > chmod +x %{__perl_requires} > > # Deal with changing /usr/local paths here instead of via patches >@@ -115,7 +158,18 @@ popd > /dev/null > %{bzinstallprefix}/bugzilla/template > %{bzinstallprefix}/bugzilla/cron.daily > %{bzinstallprefix}/bugzilla/cron.whine >-%ghost %{bzinstallprefix}/bugzilla/bugzilla-req >+%{bzinstallprefix}/bugzilla/extensions >+%dir %{bzinstallprefix}/bugzilla/testopia >+%{bzinstallprefix}/bugzilla/testopia.dtd >+%{bzinstallprefix}/bugzilla/testopia/css >+%{bzinstallprefix}/bugzilla/testopia/environment.dtd >+%{bzinstallprefix}/bugzilla/testopia/extjs >+%{bzinstallprefix}/bugzilla/testopia/img >+%{bzinstallprefix}/bugzilla/testopia/js >+%{bzinstallprefix}/bugzilla/testopia/t >+%{bzinstallprefix}/bugzilla/testopia/tools >+%{bzinstallprefix}/bugzilla/testopia/patch-3.0* >+%ghost %{bzinstallprefix}/bugzilla/%{name}-req > %config(noreplace) %{_sysconfdir}/httpd/conf.d/bugzilla.conf > %defattr(-,root,root,-) > %doc README >@@ -129,11 +183,17 @@ popd > /dev/null > > %files doc > %{bzinstallprefix}/bugzilla/docs >+%{bzinstallprefix}/bugzilla/testopia/README >+%{bzinstallprefix}/bugzilla/testopia/doc > > %files contrib > %{bzinstallprefix}/bugzilla/contrib >+%{bzinstallprefix}/bugzilla/testopia/contrib > > %changelog >+* Tue Jun 3 2008 David Malcolm <dmalcolm@redhat.com> - 3.0.4-1.tr2.0_RC1 >+- initial version of testopia package adapted from bugzilla >+ > * Fri May 9 2008 John Berninger <john at ncphotography dot com> - 3.0.4-1 > - Update to upstream 3.0.4 to fix multiple security vulns > - Change perms on /etc/bugzilla for bz 427981
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 450013
: 308382 |
308756