[Bug 465159] New: Review Request: tcexam - A Web-based Computer-Based Assessment (CBA) software
bugzilla at redhat.com
bugzilla at redhat.com
Wed Oct 1 20:46:13 UTC 2008
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Review Request: tcexam - A Web-based Computer-Based Assessment (CBA) software
https://bugzilla.redhat.com/show_bug.cgi?id=465159
Summary: Review Request: tcexam - A Web-based Computer-Based
Assessment (CBA) software
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: medium
Component: Package Review
AssignedTo: nobody at fedoraproject.org
ReportedBy: oron at actcom.co.il
QAContact: extras-qa at fedoraproject.org
CC: notting at redhat.com, fedora-package-review at redhat.com
Estimated Hours: 0.0
Classification: Fedora
Spec URL: http://oron.fedorapeople.org/tcexam/tcexam.spec
SRPM URL: http://oron.fedorapeople.org/tcexam/tcexam-5.4.006-1.fc8.src.rpm
Description:
TCExam is a free Web-based and Open-Source Computer-Based Assessment
(CBA) software application hosted on the SourceForge.net repository.
TCExam is divided in two main sections: Public and Administration.
Since the only packaging policy for web-applications refer to their
location (/usr/share/app-name and not /var/www/app-name), I had to
make several decisions -- So the current package is used by me to
validate/correct these assumptions as well.
Packaging overview:
1. Created selinux sub-package.
2. The application needs an instantiated database (either MySQL or
Postgresql):
a. Each database type is a sub-package, containing the init data.
b. Since RPM installs are not interactive, I added a script that can
create/init/drop the database (currently only MySQL implemented fully).
c. This script is installed in sbindir (better suggestion?)
d. The init data is in /usr/share/tcexam/setup (didn't have better place).
3. The php application have some scripts that embed configuration variables:
a. For now, they are located as upstream put them (not in /etc).
b. They are mod 0440 because some of them contain sensitive info
(e.g: the database password).
c. Therefore, they are owned by apache (so the web-app can access them)
The apache user is created by httpd which is one of the depndencies
of our package anyway.
4. The upstream package host its logs under the application directory:
a. I fixed them to /var/log/tcexam/tce.log
b. Added a logrotate config.
5. Likewise, I moved cached files to /var/cache/tcexam.
6. There wasn't any suitable Group. I used Applications/Web (shouldn't we
have a group for these apps?)
7. The application is bundled with tcpdf.org which is itself a FOSS project
(by the same upstream author). This should probably be refactored as
a separate package (later).
8. For tcpdf, there are some bundled fonts (dejavu and freefont). While they
look free. I'll have to check with upstream how can we use existing
system fonts (maybe by linking).
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Fedora-package-review
mailing list