/* * aegis - project change supervisor * Copyright (C) 1997, 1998 Peter Miller; * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. * * MANIFEST: menu of change information */ columns({width = 1000;}); print("Content-Type: text/html"); print(""); auto pn, p, cn, c; pn = project_name(); p = project[pn].state.branch; cn = change_number(); c = p.change[cn]; auto script_name; script_name = getenv("SCRIPT_NAME"); if (script_name == "") script_name = "http://localhost/cgi-bin/aegis.cgi"; print(""); print("Project " ## quote_html(pn) ## ", Change " ## cn); print("

"); print("Project ``" ## quote_html(pn) ## "'', Change " ## cn); print("

"); print("

Brief Description

"); auto part; for (part in wrap_html(quote_html(c.brief_description), 80)) print(part); print("

Description

"); for (part in wrap_html(quote_html(c.description), 80)) print(part); print("

Information Available

"); print("
"); auto href; auto ok; try { ok = count(keys(c.branch)); } catch(ok) { ok = 0; } if (ok) { href = script_name ## "?file@proj_menu+project@" ## quote_url(pn) ## "." ## cn; print("
"); print("Branch"); print("
"); print("This change is a branch of the ``" ## quote_html(pn) ## "'' project."); print("This item takes you to a project menu for the"); print("``" ## quote_html(pn) ## "." ## cn ## " branch."); } if (c.state >= being_developed) { href = script_name ## "?file@chan_files+project@" ## quote_url(pn) ## "+change@" ## cn; print("
"); print("Files"); print("
"); print("This item will provide you with a listing of files which are"); print("being created, modified or deleted by this change."); } if (c.state >= being_developed && c.state <= being_integrated) { href = script_name ## "?file@file_activ+project@" ## quote_url(pn) ## "+change@" ## cn; print("
"); print("File Activity"); print("
"); print("This item will provide you with a listing of files which are"); print("being modified in this change and also in other changes."); print("The list includes who is working on the changes, and a brief"); print("description of each change."); print("
"); href = script_name ## "?file@file_cflct"; href ##= "+project@" ## quote_url(pn); href ##= "+change@" ## cn; print("File Conflict"); print("
"); print("This item will provide you with a list of changes which are"); print("actively modifying files in common with this change if more"); print("than one change is modifying the file at the same time."); } if (c.state >= being_developed) { href = script_name ## "?file@file_hstry+project@" ## quote_url(pn) ## "+change@" ## cn; print("
"); print("File History"); print("
"); print("This item will provide you with a listing of all completed"); print("changes which affected the files in this change. This report"); print("can take a long time to generate."); } href = script_name ## "?file@chan_hstry+project@" ## quote_url(pn) ## "+change@" ## cn; print("
"); print("History"); print("
"); print("This item will provide you with a listing of the state transitions"); print("of this change, when they were performed, and who performed them."); print("

"); print("This page was generated " ## now() ## "."); print("");