Created basic structure to use rmtoo

This commit is contained in:
Christian Wolf 2019-05-21 15:44:05 +02:00
parent 852f110967
commit 16bbb09c8c
22 changed files with 504 additions and 0 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<buildpath>
<buildpathentry kind="src" path="src"/>
<buildpathentry external="true" kind="lib" path="/home/private/slt/joomla"/>
<buildpathentry external="true" kind="lib" path="/srv/slt-dev"/>
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
</buildpath>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="org.eclipse.texlipse.builder.TexlipseBuilder"/>
<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
</launchConfiguration>

View File

@ -5,6 +5,16 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.texlipse.builder.TexlipseBuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
@ -22,6 +32,7 @@
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.texlipse.builder.TexlipseNature</nature>
<nature>org.eclipse.php.core.PHPNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>

2
requirements/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/artifacts/
/.rmtoo_dependencies

63
requirements/Config.yml Normal file
View File

@ -0,0 +1,63 @@
---
global:
modules:
directories:
- .
processing:
analytics:
stop_on_errors: false
requirements:
input:
commit_interval:
begin: FILES
end: FILES
default_language: de_DE
dependency_notation:
- Solved by
directory: requirements
inventors:
- flonatel
- wolf
stakeholders:
- development
- management
- users
topics:
ts_common:
sources:
- - filesystem
- requirements_dirs:
- requirements/model
- requirements
topics_dirs:
- topics
topic_root_node: ReqsDocument
constraints_dirs:
- constraints
testcases_dirs:
- testcases
output:
graph:
- output_filename: artifacts/req-graph1.dot
graph2:
- output_filename: artifacts/req-graph2.dot
html:
- footer: html/footer.html
header: html/header.html
output_directory: artifacts/html
#LatexJinja2:
latex2:
- output_filename: artifacts/reqtopics.tex
#template_path: latex/LatexJinja2
prios:
- output_filename: artifacts/reqsprios.tex
stats_burndown1:
- output_filename: artifacts/stats_burndown.csv
start_date: '2011-05-01'
stats_reqs_cnt:
- output_filename: artifacts/stats_reqs_cnt.csv
stats_sprint_burndown1:
- output_filename: artifacts/stats_sprint_burndown.csv
start_date: '2011-05-01'
version1:
- output_filename: artifacts/reqs-version.txt

69
requirements/Makefile Normal file
View File

@ -0,0 +1,69 @@
.PHONY: all
.PHONY: all_html
all: artifacts/requirements.pdf artifacts/req-graph1.png \
artifacts/req-graph2.png all_html
# Adding new files (especially requirements) can not automatically
# handled. The 'force' target tries to handle this.
.PHONY: force
force:
rm .rmtoo_dependencies
${MAKE} all
#
# This is the way the rmtoo must be called.
# (The RMTOO_CALL variable is set in the setenv.sh script)
# You can override the default Config.py file by setting
# the RMTOO_CONFIG variable from the command line.
# ie:
# make RMTOO_CONFIG=YourConfig.json
#
RMTOO_CALL ?= rmtoo
RMTOO_CONFIG=Config.yml
RMTOO_CONTRIB_DIR ?= /usr/share/rmtoo
CALL_RMTOO=${RMTOO_CALL} -y file://${RMTOO_CONFIG}
#
# Dependency handling
# The file .rmtoo_dependencies is created by rmtoo itself.
#
include .rmtoo_dependencies
all_html: ${OUTPUT_HTML}
# And how to make the dependencies
.rmtoo_dependencies:
${CALL_RMTOO} \
--create-makefile-dependencies=.rmtoo_dependencies
artifacts/req-graph1.png: artifacts/req-graph1.dot
unflatten -l 23 artifacts/req-graph1.dot | \
dot -Tpng -o artifacts/req-graph1.png
artifacts/req-graph2.png: artifacts/req-graph2.dot
dot -Tpng -o artifacts/req-graph2.png artifacts/req-graph2.dot
# Two calls are needed: one for the requirments converting and one for
# backlog creation.
artifacts/requirements.pdf: ${REQS_LATEX2} latex/requirements.tex
# (cd artifacts && \
# gnuplot ${RMTOO_CONTRIB_DIR}/contrib/gnuplot_stats_reqs_cnt.inc && \
# epstopdf stats_reqs_cnt.eps)
# (cd artifacts && \
# gnuplot ${RMTOO_CONTRIB_DIR}/contrib/gnuplot_stats_burndown.inc && \
# epstopdf stats_burndown.eps)
# (cd artifacts && \
# gnuplot ${RMTOO_CONTRIB_DIR}/contrib/gnuplot_stats_sprint_burndown.inc && \
# epstopdf stats_sprint_burndown.eps)
(cd artifacts && pdflatex ../latex/requirements.tex; \
pdflatex ../latex/requirements.tex; \
pdflatex ../latex/requirements.tex)
.PHONY: clean
clean:
rm -fr artifacts/html
rm -f artifacts/* \
add_data.py*
rm -fr debian/rmtoo build

View File

@ -0,0 +1,8 @@
<hr/>
<span class="footer_text"><p>This document is part of the rmtoo
requirements documentation and was generated
by <a href="http://rmtoo.gnu4u.org">rmtoo</a> itself.</p>
<p>rmtoo is copyright 2010 by flonatel. rmtoo is distributed under
GPL V3.</p></span>
</body>
</html>

View File

@ -0,0 +1,167 @@
<!DOCTYPE html>
<html>
<head>
<title>rmtoo</title>
<meta name="generator" content="rmtoo">
<style type="text/css">
<!--
h1, h2, h3 {
font-family:sans;
}
a:link, a:visited, a:active, a:hover {
text-decoration:none;
font-weight:bold;
color:#407cbf;
}
.fltext {
font-family:sans;
}
.footer_text {
font-family:sans;
font-size:small;
}
.requirment_end {
background-image:url(../trenner01.png);
margin:0px;
padding:0px;
height:2px;
}
.dlt_description {
font-family:sans;
font-size:medium;
font-weight:bold;
}
.dlv_description {
font-family:sans;
font-size:medium;
}
.dlt_rationale {
font-family:sans;
font-weight:bold;
}
.dlv_rationale {
font-family:sans;
}
.dlt_note {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_note {
font-family:sans;
font-size:small;
}
.dlt_depends_on {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_depends_on {
font-family:sans;
font-size:small;
}
.dlt_dependent {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_dependent {
font-family:sans;
font-size:small;
}
.dlt_id {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_id {
font-family:sans;
font-size:small;
}
.dlt_priority {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_priority {
font-family:sans;
font-size:small;
}
.dlt_owner {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_owner {
font-family:sans;
font-size:small;
}
.dlt_invented_on {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_invented_on {
font-family:sans;
font-size:small;
}
.dlt_invented_by {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_invented_by {
font-family:sans;
font-size:small;
}
.dlt_status {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_status {
font-family:sans;
font-size:small;
}
.dlt_class {
font-family:sans;
font-size:small;
font-weight:bold;
}
.dlv_class {
font-family:sans;
font-size:small;
}
-->
</style>
</head>
<body>

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

View File

@ -0,0 +1,80 @@
\documentclass{report}
\usepackage[ngerman]{babel}
\usepackage{longtable}
\usepackage{graphicx}
% When latex aborts with
% pdfTeX error (ext4): \pdfendlink ended up in different nesting level than \pd
% fstartlink.
% Comment that line with draft out and inpect the errornous page
\usepackage[pdfauthor={flonatel},%
%draft,%
pdftitle={Requirment for project},%
pdfsubject={Requirment description for project},%
pdfkeywords={placeholder for some keywords},%
pagebackref=true,%
pdftex, bookmarks=true, colorlinks=true]{hyperref}
\usepackage[a4paper]{geometry}
\usepackage[titles]{tocloft}
\usepackage{fancyhdr}
\setlength{\cftsubsecnumwidth}{4em}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[L]{\rightmark}
\fancyfoot[R]{\thepage}
% \fancyfoot[L]{Version \input{../artifacts/reqs-version.txt}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\parindent0em
\begin{document}
\thispagestyle{empty}
\mbox{}
\vfill
{\LARGE\textbf{Requirements for project}}
\vfill
{\Large\textbf{written by You}}
\vfill
09. October 2010
\vfill
% Requirements Version: \input{../artifacts/reqs-version.txt}
\vfill
\newpage
\tableofcontents
\newpage
\chapter{Status}
\input{../artifacts/reqsprios.tex}
\input{../artifacts/reqtopics.tex}
% \chapter{Statistics}
% \section{Burndown diagram for Sprint}
% \includegraphics{../artifacts/stats_sprint_burndown.pdf}
%
% \section{Burndown diagram for Project}
% \includegraphics{../artifacts/stats_burndown.pdf}
%
% \section{Requirements Count Statistics}
% \includegraphics{../artifacts/stats_reqs_cnt.pdf}
\end{document}

12
requirements/req.template Normal file
View File

@ -0,0 +1,12 @@
Name: projectdfg
Type: requirement | design decision
Invented on:
Invented by: wolf
Owner: development | management | users
Description:
Rationale:
Status: not done
#Solved by:
#Priority:
#Effort estimation: 5
#Topic:

View File

@ -0,0 +1,13 @@
Name: Definition Abstractes DB Objekt
Type: design decision
Invented on: 2019-05-21
Invented by: wolf
Owner: development
Description: Jedes Objekt in der Datenbank wird durch ein
Objekt in der Sprache repräsentiert.
Rationale:
Status: not done
Solved by: adbo-id adbo-simple
#Priority:
#Effort estimation: 5
Topic: model

View File

@ -0,0 +1,13 @@
Name: Objekt-ID
Type: design decision
Invented on: 2019-05-21
Invented by: wolf
Owner: development
Description: Jedes Objekt der Datenbank hat einen eindeutigen Schlüssel
genannt \emph{id}.
Rationale:
Status: not done
#Solved by:
#Priority:
#Effort estimation: 5
Topic: model

View File

@ -0,0 +1,13 @@
Name: Einfache Objektstruktur
Type: design decision
Invented on: 2019-05-21
Invented by: wolf
Owner: development
Description: Einfache Attribute eines Objekts werden als Spalten
in der DB-Tabelle abgespeichert.
Rationale:
Status: not done
#Solved by:
#Priority:
#Effort estimation: 5
Topic: model

View File

@ -0,0 +1,13 @@
Name: Aufrufe der Datenbank cachen
Type: design decision
Invented on: 2019-05-21
Invented by: wolf
Owner: development
Description: DB-Aufrufe sollen soweit es möglich ist,
zwischengespeichert werden.
Rationale:
Status: not done
#Solved by:
#Priority:
#Effort estimation: 5
Topic: model

View File

@ -0,0 +1,13 @@
Name: Anbindung der SQL-Datenbank in das Programm
Type: design decision
Invented on: 2019-05-21
Invented by: wolf
Owner: development
Description: Die Daten in der Datenbank müssen durch einfache
Funktionsaufrufe abrufbar sein.
Rationale:
Status: not done
Solved by: abstract-object cache
#Priority:
Effort estimation: 0
Topic: model

View File

@ -0,0 +1,12 @@
Name: projectdfg
Type: master requirement
Invented on: 2010-10-09
Invented by: flonatel
Owner: development
Description: \textsl{project} \textbf{must} exists.
Rationale: The world needs a good, usable and free \textsl{project}.
Status: not done
Solved by: sql-interface
Priority: development:10
Effort estimation: 5
Topic: ReqsDocument

View File

@ -0,0 +1,4 @@
Name: project
Text: This is placeholder for some introductional text.
IncludeRequirements: full
SubTopic: model

View File

@ -0,0 +1,3 @@
Name: Datenbank-Modelle
Text: Abhängigkeiten der Model-Klassen
IncludeRequirements: full