2000-09-18 19:18:03 +00:00
|
|
|
USERS
|
|
|
|
-----
|
|
|
|
|
|
|
|
It is helpful to consider the types of users for this system and their
|
|
|
|
special needs.
|
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Project Managers: not very technical will be administering the
|
|
|
|
project and need a GUI to help change various types of project
|
|
|
|
information (tree state, message of the day, etc). They will also
|
|
|
|
need summary pages which will show them the current status of all
|
|
|
|
the projects which they are working on. They may occasionally
|
|
|
|
"drill down" into the detailed status page but this will not be
|
|
|
|
their primary view of the Tinderbox2 system.
|
|
|
|
|
|
|
|
* Build Administrator: A system administrator who will be in charge
|
|
|
|
of setting up the build machines, configuring Tinderbox2 and other
|
|
|
|
build systems (bugzilla, cvs, bonsai, etc). A GUI would not be
|
|
|
|
helpful as local customizations may require small changes to the code.
|
|
|
|
|
|
|
|
Configurations need to be kept (mostly) in files which are separate
|
|
|
|
from the Tinderbox2 source code so that they can be version controlled
|
|
|
|
and will not get stepped on when Tinderbox2 is upgraded.
|
|
|
|
|
|
|
|
* Developers: need to view the "state of development" and add notices
|
|
|
|
to the notice board.
|
2000-09-18 19:18:03 +00:00
|
|
|
|
|
|
|
Improvements needed from Tinderbox1
|
|
|
|
-----------------------------------
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Highly configurable design with multiple Version Control systems
|
|
|
|
possible (bonsai, raw cvs, perforce, continuous, clearcase) and
|
|
|
|
multiple modes of running possible (with no version control system
|
|
|
|
with no builds display).
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Clear programatic interfaces and better separation of functionality
|
|
|
|
into separate modules.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Modules should not have circular dependences. Care should be taken
|
|
|
|
on adding 'use' statement as you should worry very much about which
|
|
|
|
modules depend on which other modules. It is important to consider
|
|
|
|
which modules need to work in isolation and which modules need to
|
|
|
|
share data.
|
2002-05-09 22:40:09 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* It should be possible to add hooks so that users get beeped when the
|
|
|
|
next good build goes through or that trouble tickets are automatically
|
|
|
|
opened when the builds fail.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Greater flexibility in setting status of builds. We may need more
|
|
|
|
graduations of failure then just 'busted' or 'test-failed' to
|
|
|
|
distinguish the types of tests which have failed.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Generated HTML must be readable and help isolate programming errors.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* All programmable configuration parameters should be stored easy change
|
|
|
|
and configure for novice users.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Make better use of the Perl data structures to mirror the way we wish
|
|
|
|
to use the data. This will allow easier maintainability and allow for
|
|
|
|
more expansion of features.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Display should work on many different browsers.
|
2002-05-09 22:40:09 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Popup windows should not be Netscape specific.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Permanent data should be stored via datadumper so that the data and
|
|
|
|
data structures are easy to read and debug. Currently this is a
|
|
|
|
performance bottle neck with a large percentage of cpu time during
|
|
|
|
testing being spent in Data::Dumper::Dump. The Perl module Storable
|
|
|
|
is much faster and there is no need to add additional module
|
|
|
|
requirements at this time, this will be configurable.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
# dprofpp says that:
|
|
|
|
# %64.8 of elapsed real time which is 66.25 seconds
|
|
|
|
# (out of 102.15 Seconds)
|
|
|
|
# was spent in 3 calls to TinderDB::VC::apply_db_updates()
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
# %58.0 of user time which is 11.05 seconds
|
|
|
|
# (out of 19.03 User/102.15 Elapsed Seconds)
|
|
|
|
# was spend in 32878 calls to Data::Dumper::_dump()
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
# System Time was negligible at 2.49 Seconds
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* All errors should be trapped and sent to log files. Strange program
|
|
|
|
states should be explicitly checked for.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Databases should update atomically, no information should be lost due
|
|
|
|
to race conditions.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* All column modules (processmail, build, VC, Notices) should be able to
|
|
|
|
be run individually. Modules should accept well defined text files as
|
|
|
|
input and produce text files as output. This will greatly enhance the
|
|
|
|
ability to test each module in isolation and to quickly port modules
|
|
|
|
to new architectures.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* The source code should be able to run using the standard Perl
|
|
|
|
libraries, as it can be difficult for some users to add libraries
|
|
|
|
which are not included in the perl distribution onto production
|
|
|
|
machines.
|
2000-06-22 04:17:19 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Put CVS keywords into all the source files so that when the software
|
|
|
|
is deployed, there is no doubt what version was checked out and where
|
|
|
|
the files are stored in the local version control system.
|
2000-09-18 19:18:03 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Pay closer attention to security. Use taint Perl to ensure that
|
|
|
|
harmful input does not get used in unexpected ways. Keep the flow of
|
|
|
|
control clear and simple.
|
2001-12-21 19:42:02 +00:00
|
|
|
|
2005-10-08 18:57:16 +00:00
|
|
|
* Allow for use of any text browser which can display tables.
|
|
|
|
Currently this is true for the browser
|
|
|
|
links (http://artax.karlin.mff.cuni.cz/~mikulas/links/) but not the
|
|
|
|
browser lynx.
|
2001-12-21 19:42:02 +00:00
|
|
|
|