summaryrefslogtreecommitdiff
path: root/FCSoftwareRequirements.mdwn
authorJamey Sharp <jamey@minilop.net>2007-08-07 06:01:22 (GMT)
committer Jamey Sharp <jamey@minilop.net>2007-08-07 06:03:40 (GMT)
commitdeca43f784ea545a5da0c4a830eb3f2df5fb05e8 (patch) (side-by-side diff)
tree3b06012dd128af97d07a4e588d4406e5e6d320cb /FCSoftwareRequirements.mdwn
parent34be31bc7d36098d06cf7036a25443eb91e2551e (diff)
downloadwiki-deca43f784ea545a5da0c4a830eb3f2df5fb05e8.zip
wiki-deca43f784ea545a5da0c4a830eb3f2df5fb05e8.tar.gz
Make files ref'd by only one page be attachments to that page.
Some files I moved manually, but most were caught by running: ../uniq-attachments psas uniq-attachments: #!/bin/bash set -e test $# -gt 0 || set -- * find * -name '*.mdwn' -o -name '*.html' -o -name '*.htm' | xargs grep -Fwof <(find $@ ! -name '*.mdwn' ! -name '*.html' ! -name '*.htm' -type f) | sed 's/:/ /' | awk 'BEGIN{OFS="\t"}{if(NF < 2) {$2=$1; $1=last} else {last=$1} print}' | sort -u | sort -k2 | uniq -uf1 | grep -v '^psas/' | # don't screw with pages in the old psas/ hierarchy grep -v '^\(.*\)\.[^.]* \1/[^/]*$' | awk '{if($1 != last) {if(last != "") print last srcs; last=$1; srcs=""} srcs=srcs " " $2}END{if(last != "") print last srcs}' | while read target sources do dir=`echo $target | sed 's!\.[^.]*$!!'` mkdir -p $dir git-mv $sources $dir perl -pi -e 'BEGIN { my $f = shift; $::p = "\\b(?:" . join("|", map {"\Q$_\E"} @ARGV) . ")\\b"; for(@ARGV) { (my $t = $_) =~ s!.*/!'$dir'/!; $::m{$_} = $t; } @ARGV = ($f); } s/$::p/$::m{$&}/ego' $target $sources done
Diffstat (limited to 'FCSoftwareRequirements.mdwn') (more/less context) (ignore whitespace changes)
-rw-r--r--FCSoftwareRequirements.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/FCSoftwareRequirements.mdwn b/FCSoftwareRequirements.mdwn
index 44956fc..7c8e4be 100644
--- a/FCSoftwareRequirements.mdwn
+++ b/FCSoftwareRequirements.mdwn
@@ -65,7 +65,7 @@ The following terms are used in this document:
### References
1. PSAS Website. <http://psas.pdx.edu> Lots of history and background material available here, as well as current status, project planning and scheduling, and meeting notes.
-2. LV2 Avionics whitepaper (old, but pages 25-28 of the PDF file include problem statement, constraints and requirements that are still valid). [[http://psas.pdx.edu/psas/Resources/TechPapers/lv2_avionics_design.pdf|/psas/Resources/TechPapers/lv2_avionics_design.pdf]]
+2. LV2 Avionics whitepaper (old, but pages 25-28 of the PDF file include problem statement, constraints and requirements that are still valid). [[http://psas.pdx.edu/ProjectLV2/lv2_avionics_design.pdf|/ProjectLV2/lv2_avionics_design.pdf]]
3. Description of previous software at [[FlightComputerSoftware]] page.
4. State descriptions for previous software at [[FlightComputerStateFlowSep2003]] page.
5. Requirements related documents for AV2a flight computer software: [[SoftwareRequirements]], [[SoftwareRequirementsJune2003]], [[SystemRequirements]], [[SystemRequirementsFor04May2003]], [[SoftwareFunctionalSpecJune2003]]