caramelize 0.1.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +21 -53
  3. data/.travis.yml +5 -0
  4. data/CODE_OF_CONDUCT.md +76 -0
  5. data/Gemfile +3 -3
  6. data/LICENSE.md +1 -1
  7. data/README.md +48 -46
  8. data/Rakefile +8 -7
  9. data/bin/caramelize +73 -10
  10. data/caramelize.gemspec +28 -24
  11. data/lib/caramelize.rb +14 -0
  12. data/lib/caramelize/caramel.rb +48 -44
  13. data/lib/caramelize/content_transferer.rb +126 -69
  14. data/lib/caramelize/database_connector.rb +3 -6
  15. data/lib/caramelize/filter_processor.rb +27 -0
  16. data/lib/caramelize/filters/remove_table_tab_line_endings.rb +15 -0
  17. data/lib/caramelize/filters/swap_wiki_links.rb +26 -0
  18. data/lib/caramelize/filters/wikka_to_markdown.rb +67 -0
  19. data/lib/caramelize/health_check.rb +85 -0
  20. data/lib/caramelize/input_wiki/redmine_wiki.rb +120 -0
  21. data/lib/caramelize/input_wiki/wiki.rb +59 -0
  22. data/lib/caramelize/input_wiki/wikkawiki.rb +69 -0
  23. data/lib/caramelize/output_wiki/gollum.rb +80 -0
  24. data/lib/caramelize/page.rb +38 -14
  25. data/lib/caramelize/services/page_builder.rb +20 -0
  26. data/lib/caramelize/version.rb +1 -1
  27. data/spec/fixtures/markup/swap-links-input.textile +57 -0
  28. data/spec/fixtures/markup/swap-links-output.textile +57 -0
  29. data/spec/fixtures/markup/table-tab-line-endings-input.textile +145 -0
  30. data/spec/fixtures/markup/table-tab-line-endings-output.textile +145 -0
  31. data/spec/lib/caramelize/content_transferer_spec.rb +9 -0
  32. data/spec/lib/caramelize/filter_processor_spec.rb +34 -0
  33. data/spec/lib/caramelize/filters/remove_table_tab_line_endings_spec.rb +49 -0
  34. data/spec/lib/caramelize/filters/swap_wiki_links_spec.rb +49 -0
  35. data/spec/lib/caramelize/filters/wikka_to_markdown_spec.rb +198 -0
  36. data/spec/lib/caramelize/input_wiki/wiki_spec.rb +57 -0
  37. data/spec/lib/caramelize/output_wiki/gollum_spec.rb +113 -0
  38. data/spec/lib/caramelize/page_spec.rb +67 -0
  39. data/spec/lib/caramelize/services/page_builder.rb +29 -0
  40. data/spec/spec_helper.rb +8 -0
  41. metadata +165 -54
  42. data/lib/caramelize/author.rb +0 -8
  43. data/lib/caramelize/cli.rb +0 -80
  44. data/lib/caramelize/cli/create_command.rb +0 -52
  45. data/lib/caramelize/cli/run_command.rb +0 -33
  46. data/lib/caramelize/ext.rb +0 -17
  47. data/lib/caramelize/gollum_output.rb +0 -56
  48. data/lib/caramelize/wiki/redmine_wiki.rb +0 -60
  49. data/lib/caramelize/wiki/trac_converter.rb +0 -82
  50. data/lib/caramelize/wiki/wiki.rb +0 -41
  51. data/lib/caramelize/wiki/wikka_converter.rb +0 -38
  52. data/lib/caramelize/wiki/wikkawiki.rb +0 -55
  53. data/test/helper.rb +0 -18
  54. data/test/test_caramelize.rb +0 -7
@@ -0,0 +1,80 @@
1
+ require 'gollum-lib'
2
+
3
+ module Caramelize
4
+ module OutputWiki
5
+ class Gollum
6
+
7
+ attr_reader :wiki_path
8
+
9
+ SUPPORTED_TARGET_MARKUP =
10
+ %i[markdown textile rdoc creole media_wiki org pod re_structured_text ascii_doc].freeze
11
+
12
+ # Initialize a new gollum-wiki-repository at the given path.
13
+ def initialize(new_wiki_path)
14
+ # TODO use sanitized name as wiki-repository-title
15
+ @wiki_path = new_wiki_path
16
+ initialize_repository
17
+ end
18
+
19
+ # Commit the given page into the gollum-wiki-repository.
20
+ # Make sure the target markup is correct before calling this method.
21
+ def commit_revision(page, markup)
22
+ gollum_page = gollum.page(page.path)
23
+
24
+ if gollum_page
25
+ gollum.update_page(gollum_page, gollum_page.name, gollum_page.format, page.body, build_commit(page))
26
+ else
27
+ gollum.write_page(page.path, markup, page.body, build_commit(page))
28
+ end
29
+ end
30
+
31
+ def rename_page(page_title, rename)
32
+ gollum_page = gollum.page(page_title)
33
+ gollum.rename_page(gollum_page, rename, { message: 'Rename home page' })
34
+ end
35
+
36
+ # Commit all revisions of the given history into this gollum-wiki-repository.
37
+ def commit_history(revisions, options = {}, &block)
38
+ revisions.each_with_index do |page, index|
39
+ # call debug output from outside
40
+ block.call(page, index) if block_given?
41
+ commit_revision(page, options.fetch(:markup, :markdown))
42
+ end
43
+ end
44
+
45
+ def commit_namespace_overview(namespaces)
46
+ commit_revision(build_namespace_overview(namespaces), :markdown)
47
+ end
48
+
49
+ def supported_markup
50
+ SUPPORTED_TARGET_MARKUP
51
+ end
52
+
53
+ def build_commit(page)
54
+ {
55
+ message: page.commit_message,
56
+ name: page.author.name,
57
+ email: page.author.email,
58
+ time: page.time
59
+ }
60
+ end
61
+
62
+ private
63
+
64
+ def build_namespace_overview(namespaces)
65
+ ::Caramelize::Services::PageBuilder.build_namespace_overview(namespaces)
66
+ end
67
+
68
+ def gollum
69
+ @gollum ||= ::Gollum::Wiki.new(wiki_path, {repo_is_bare: true})
70
+ end
71
+
72
+ def initialize_repository
73
+ return if File.exists?(wiki_path)
74
+ Dir.mkdir(wiki_path)
75
+ #::Gollum::Git::Repo.new(wiki_path, { is_bare: true })
76
+ ::Gollum::Git::Repo.init(wiki_path)
77
+ end
78
+ end
79
+ end
80
+ end
@@ -1,30 +1,54 @@
1
1
  module Caramelize
2
2
  class Page
3
-
4
- attr_accessor :title, :body, :id, :markup, :latest, :time, :message, :author, :author_name
5
-
6
- def initialize page={}
3
+
4
+ attr_accessor :title, :body, :id, :markup, :latest, :time, :message,
5
+ :author, :author_name
6
+
7
+ def initialize(page = {})
7
8
  @id = page[:id]
8
- @title = page[:title]
9
- @body = page[:body]
9
+ @title = page.fetch(:title, '')
10
+ @body = page.fetch(:body, '')
10
11
  @syntax = page[:markup]
11
- @latest = page[:latest]
12
- @time = page[:time]
13
- @message = page[:message]
12
+ @latest = page[:latest] || false
13
+ @time = page.fetch(:time, Time.now)
14
+ @message = page.fetch(:message, '')
14
15
  @author = page[:author]
15
- @author_name = page[:author_name]
16
+ @author_name = page[:author_name]
16
17
  end
17
-
18
+
19
+ def author_email
20
+ author.email
21
+ end
22
+
23
+ def author_name
24
+ author.name
25
+ end
26
+
27
+ def author
28
+ @author ||= OpenStruct.new(name: @author_name || "Caramelize",
29
+ email: "mail@example.com")
30
+ end
31
+
18
32
  def latest?
19
33
  @latest
20
34
  end
21
-
35
+
36
+ def path
37
+ return @title unless @title.index('/')
38
+ @title.split('/').first + '/' + @title.split('/').last.downcase
39
+ end
40
+
22
41
  def set_latest
23
42
  @latest = true
24
43
  end
25
-
44
+
26
45
  def to_s
27
46
  @title
28
47
  end
48
+
49
+ def commit_message
50
+ return "Edit in page #{title}" if message.empty?
51
+ message
52
+ end
29
53
  end
30
- end
54
+ end
@@ -0,0 +1,20 @@
1
+ module Caramelize
2
+ module Services
3
+ class PageBuilder
4
+ def self.build_namespace_overview(namespaces)
5
+ body = "## Overview of namespaces\n\n"
6
+
7
+ namespaces.each do |namespace|
8
+ # TODO change wiki as configurable default home
9
+ # TODO support other markup syntaxes
10
+ body << "* [[#{namespace[:name]}|#{namespace[:identifier]}/wiki]] \n"
11
+ end
12
+
13
+ Page.new(title: "Home",
14
+ body: body,
15
+ message: 'Create Namespace Overview',
16
+ latest: true)
17
+ end
18
+ end
19
+ end
20
+ end
@@ -1,3 +1,3 @@
1
1
  module Caramelize
2
- VERSION = "0.1.2"
2
+ VERSION = '1.1.0'
3
3
  end
@@ -0,0 +1,57 @@
1
+ h1. Wiki
2
+
3
+ h2. The 1994 Formula One Season
4
+
5
+ *[[statistics|Driver & Team Statistics]]*
6
+ *[[race-by-race|Race by Race]]*
7
+ *[[technical-regulations|Technical Regulations]]*
8
+ *[[technical-rules|Technical Rule Changes]]*
9
+ *[[HD-rear-wings|HD Rear Wing Configurations]]*
10
+ *[[helmets|Helmet variants]]*
11
+
12
+ h2. Development
13
+
14
+ *[[Review Process F1 1994]]*
15
+ *[[Credits]]*
16
+
17
+ h2. Season data
18
+
19
+ h3. Drivers
20
+
21
+ Early season package
22
+ Driver list from Brazil: "Discussion here":http://forum.ctdp.net/viewtopic.php?f=214&t=62989
23
+
24
+ |_.Nr|_.Driver |_.Team|
25
+ |0|Damon Hill |/2.[[Williams|Williams-Renault]]|
26
+ |2|Ayrton Senna |
27
+ |3|Ukyo Katayama |/2.[[Tyrrell|Tyrrell-Yamaha]]|
28
+ |4|Mark Blundell |
29
+ |5|Michael Schumacher|/2.[[Benetton|Benetton-Ford]]|
30
+ |6|Jos Verstappen |
31
+ |7|Mika Häkkinen |/2.[[McLaren|McLaren-Peugeot]]|
32
+ |8|Martin Brundle |
33
+ |9|Christian Fittipaldi|/2.[[Footwork|Footwork-Ford]]|
34
+ |10|Gianni Morbidelli|
35
+ |11|Pedro Lamy |/2.[[Lotus|Lotus-Mugen-Honda]]|
36
+ |12|Johnny Herbert |
37
+ |14|Rubens Barrichello|/2.[[Jordan|Jordan-Hart]]|
38
+ |15|Eddie Irvine |
39
+ |19|Olivier Beretta |/2.[[Larrousse|Larrousse-Ford]]|
40
+ |20|Érik Comas |
41
+ |23|Pierluigi Martini|/2.[[Minardi|Minardi-Ford]]|
42
+ |24|Michele Alboreto |
43
+ |25|Éric Bernard |/2.[[Ligier|Ligier-Renault]]|
44
+ |26|Olivier Panis |
45
+ |27|Jean Alesi |/2.[[Ferrari|Ferrari]]|
46
+ |28|Gerhard Berger |
47
+ |29|Karl Wendlinger |/2.[[Sauber|Sauber-Mercedes]]|
48
+ |30|Heinz-Harald Frentzen|
49
+ |31|David Brabham |/2.[[Simtek|Simtek-Ford]]|
50
+ |32|Roland Ratzenberger|
51
+ |33|Paul Belmondo |/2.[[Pacific|Pacific-Ilmor]]|
52
+ |34|Bertrand Gachot |
53
+
54
+
55
+ [[Getting new people]]
56
+
57
+ [[Contact form]]
@@ -0,0 +1,57 @@
1
+ h1. Wiki
2
+
3
+ h2. The 1994 Formula One Season
4
+
5
+ *[[Driver & Team Statistics|statistics]]*
6
+ *[[Race by Race|race-by-race]]*
7
+ *[[Technical Regulations|technical-regulations]]*
8
+ *[[Technical Rule Changes|technical-rules]]*
9
+ *[[HD Rear Wing Configurations|hd-rear-wings]]*
10
+ *[[Helmet variants|helmets]]*
11
+
12
+ h2. Development
13
+
14
+ *[[Review Process F1 1994|review_process_f1_1994]]*
15
+ *[[Credits|credits]]*
16
+
17
+ h2. Season data
18
+
19
+ h3. Drivers
20
+
21
+ Early season package
22
+ Driver list from Brazil: "Discussion here":http://forum.ctdp.net/viewtopic.php?f=214&t=62989
23
+
24
+ |_.Nr|_.Driver |_.Team|
25
+ |0|Damon Hill |/2.[[Williams-Renault|williams]]|
26
+ |2|Ayrton Senna |
27
+ |3|Ukyo Katayama |/2.[[Tyrrell-Yamaha|tyrrell]]|
28
+ |4|Mark Blundell |
29
+ |5|Michael Schumacher|/2.[[Benetton-Ford|benetton]]|
30
+ |6|Jos Verstappen |
31
+ |7|Mika Häkkinen |/2.[[McLaren-Peugeot|mclaren]]|
32
+ |8|Martin Brundle |
33
+ |9|Christian Fittipaldi|/2.[[Footwork-Ford|footwork]]|
34
+ |10|Gianni Morbidelli|
35
+ |11|Pedro Lamy |/2.[[Lotus-Mugen-Honda|lotus]]|
36
+ |12|Johnny Herbert |
37
+ |14|Rubens Barrichello|/2.[[Jordan-Hart|jordan]]|
38
+ |15|Eddie Irvine |
39
+ |19|Olivier Beretta |/2.[[Larrousse-Ford|larrousse]]|
40
+ |20|Érik Comas |
41
+ |23|Pierluigi Martini|/2.[[Minardi-Ford|minardi]]|
42
+ |24|Michele Alboreto |
43
+ |25|Éric Bernard |/2.[[Ligier-Renault|ligier]]|
44
+ |26|Olivier Panis |
45
+ |27|Jean Alesi |/2.[[Ferrari|ferrari]]|
46
+ |28|Gerhard Berger |
47
+ |29|Karl Wendlinger |/2.[[Sauber-Mercedes|sauber]]|
48
+ |30|Heinz-Harald Frentzen|
49
+ |31|David Brabham |/2.[[Simtek-Ford|simtek]]|
50
+ |32|Roland Ratzenberger|
51
+ |33|Paul Belmondo |/2.[[Pacific-Ilmor|pacific]]|
52
+ |34|Bertrand Gachot |
53
+
54
+
55
+ [[Getting new people|getting_new_people]]
56
+
57
+ [[Contact form|contact_form]]
@@ -0,0 +1,145 @@
1
+ h1. Williams-Renault 1994
2
+
3
+ "Williams FW16 Launch Press Conference on YouTube":http://www.youtube.com/watch?v=qJF5TYS9uX0
4
+ "Williams FW16 Testing (Senna, Estoril) on YouTube":http://www.youtube.com/watch?v=smRQ2YnAfv0
5
+
6
+ h2. Livery Changes
7
+
8
+ | |_.Mainsponsor |_.Mirrors|
9
+ |*Brazil* |/5.Rothmans|/2.white/elf|
10
+ |Pacific|
11
+ |San Marino |/14.blue/elf|
12
+ |Monaco |
13
+ |Spain |
14
+ |*Canada* |Rothmans Ltd|
15
+ |*France* |Barcode|
16
+ |*Great Britain*|/2.Racing|
17
+ |Germany |
18
+ |Hungary |/7.Rothmans|
19
+ |Belgium |
20
+ |Italy |
21
+ |Portugal |
22
+ |Europe |
23
+ |Japan |
24
+ |Australia |
25
+
26
+ h2. Selected Technical Upgrades
27
+
28
+ The upgrades we are going to do on the mod:
29
+ * **A-Spec**
30
+ ** Frontwing
31
+ *** High V1
32
+ ** Rearwing
33
+ *** High V1
34
+ *** Regular V1
35
+ * **B-Spec**
36
+ ** Frontwing
37
+ *** High V3
38
+ *** High V2
39
+ ** Rearwing
40
+ *** High V3
41
+ *** Regular V3
42
+ *** Low V3
43
+
44
+ h2. Technical Upgrades
45
+
46
+ _This is for keeping track of all upgrades. We will not implement everything in the actual mod!_
47
+
48
+ | |_.Front wing |_.Rear wing|_.Nose |_.Barge boards|_.Airbox|
49
+ |*Brazil* |/2.High V1 |Regular V1|/2.with flipups |/4.none|/5. |
50
+ |Pacific | High V1|
51
+ |San Marino |Low V1|Regular V1|/14. without flipups|
52
+ |Monaco |/2.High V2 |High V1|
53
+ |Spain |??|/12.bargeboard|
54
+ |Canada |/3.High V3|/2.High V1|/11.Airbox cutout|
55
+ |France |
56
+ |Great Britain |Regular V1|
57
+ |Germany |Low V2 |Low|
58
+ |Hungary |High V3|High V3|
59
+ |Belgium |/2.Low V2|Regular V2|
60
+ |Italy |Low |
61
+ |Portugal |/4.High V3|??|
62
+ |Europe |/3.Regular V3|
63
+ |Japan |
64
+ |Australia |
65
+
66
+ h3. Front wing
67
+
68
+ All frontwings from Spain onwards have new triangular endplates.
69
+
70
+ *Low V2*: flat angle and large gurney flaps
71
+ *High V2*: added large gurney flaps
72
+ *High V3*: like v2, but with triangular sideplates
73
+
74
+ h3. Front wing
75
+
76
+ *High V3*: adds one additional plane on the top and the wing additions inside the tires
77
+ *Regular V2*: has different striped-down endplates
78
+ *Regular V3*: has different endplates featuring the wing additions from the high-downforce variant
79
+
80
+
81
+
82
+ h2. Technical Data (Autocourse 1994/95)
83
+
84
+ !F1-1994_01_Williams.jpg!
85
+ For comparison (from Histomobile):
86
+ "FW16":http://www.histomobile.com/dvd_histomobile/usa/286/1994-Williams-FW16-.asp 515 kg, 2990 mm (wheelbase), 1669 mm (track front), 1598 mm (track rear)
87
+ "FW16B":http://www.histomobile.com/dvd_histomobile/usa/286/1994-Williams-FW16B-.asp 595 kg, 2890 mm (wheelbase), 1669 mm (track front), 1598 mm (track rear)
88
+
89
+ According to Autocourse 94/95, the FW16 started the season with the 67° V10 engine RS6 and got the RS6B for the Hockenheim GP as well as the RS6C for Monza. Both upgrades featured higher revs and improved top-end power. The RS6 delivered about 790 bhp / 589 KW @ 14300 rpm according to *"ultimatecarpage.com":http://www.ultimatecarpage.com/car/1054/Williams-FW16-Renault.html*.
90
+
91
+ h2. Technical Data (Grand Prix 1994)
92
+
93
+ !F1-1994_01_Williams_GP94.jpg!
94
+
95
+ h2. Technical Upgrades
96
+
97
+ The Ferrari car upgrades are listed below as reported in Autosport Magazine.
98
+
99
+ h2. Pre-Season (Autosport 134(4), January 27)
100
+
101
+ * Passive front suspension
102
+ * New and simplified cockpit
103
+
104
+ !Williams_000_AS-134_4_-1994-January-27.jpg!
105
+
106
+ !Williams_010_AS-134_4_-1994-January-27.jpg!
107
+
108
+ h3. Photos of the new cockpit and display (late season!)
109
+
110
+ !Williams_010_cockpit1.jpg!
111
+ !Williams_010_cockpit2.jpg!
112
+ !Williams_010_cockpit3.jpg!
113
+
114
+ h2. Pre-Season (Autosport 134(9), March 3)
115
+
116
+ * General car design
117
+ * Suspension
118
+ * Rear wing
119
+
120
+ !Williams_015_AS-134_9_-1994-March-3.jpg!
121
+ !Williams_016_AS-134_9_-1994-March-3.jpg!
122
+ !Williams_018_AS-134_9_-1994-March-3.jpg!
123
+
124
+ h2. Brazilian GP, Interlagos (Autosport 134(11), March 17)
125
+
126
+ * Re-designed ear end
127
+ * Chassis (cockpit, fuel tank, ...)
128
+
129
+ !Williams_020_AS-134_11_-1994-March-17.jpg!
130
+
131
+ h2. Testing between Brazilian and Pacific GP (Autosport 134(14), April 7)
132
+
133
+ !Williams_030_AS-134_14_-1994-April-7.jpg!
134
+
135
+ h2. German GP, Hockenheim (Autosport 136(5), August 4)
136
+
137
+ * Shortened sidepods
138
+ * Revised (elongated) bargeboards
139
+ * Revised cockpit edge (now rounded at the front)
140
+ * New airbox vent in agreement with the new regulations
141
+ * Rear suspension
142
+ * Diffuser
143
+
144
+ !Williams_040_AS-136_5_-1994-August-4.jpg!
145
+
@@ -0,0 +1,145 @@
1
+ h1. Williams-Renault 1994
2
+
3
+ "Williams FW16 Launch Press Conference on YouTube":http://www.youtube.com/watch?v=qJF5TYS9uX0
4
+ "Williams FW16 Testing (Senna, Estoril) on YouTube":http://www.youtube.com/watch?v=smRQ2YnAfv0
5
+
6
+ h2. Livery Changes
7
+
8
+ | |_.Mainsponsor |_.Mirrors|
9
+ |*Brazil* |/5.Rothmans|/2.white/elf|
10
+ |Pacific|
11
+ |San Marino |/14.blue/elf|
12
+ |Monaco |
13
+ |Spain |
14
+ |*Canada* |Rothmans Ltd|
15
+ |*France* |Barcode|
16
+ |*Great Britain*|/2.Racing|
17
+ |Germany |
18
+ |Hungary |/7.Rothmans|
19
+ |Belgium |
20
+ |Italy |
21
+ |Portugal |
22
+ |Europe |
23
+ |Japan |
24
+ |Australia |
25
+
26
+ h2. Selected Technical Upgrades
27
+
28
+ The upgrades we are going to do on the mod:
29
+ * **A-Spec**
30
+ ** Frontwing
31
+ *** High V1
32
+ ** Rearwing
33
+ *** High V1
34
+ *** Regular V1
35
+ * **B-Spec**
36
+ ** Frontwing
37
+ *** High V3
38
+ *** High V2
39
+ ** Rearwing
40
+ *** High V3
41
+ *** Regular V3
42
+ *** Low V3
43
+
44
+ h2. Technical Upgrades
45
+
46
+ _This is for keeping track of all upgrades. We will not implement everything in the actual mod!_
47
+
48
+ | |_.Front wing |_.Rear wing|_.Nose |_.Barge boards|_.Airbox|
49
+ |*Brazil* |/2.High V1 |Regular V1|/2.with flipups |/4.none|/5. |
50
+ |Pacific | High V1|
51
+ |San Marino |Low V1|Regular V1|/14. without flipups|
52
+ |Monaco |/2.High V2 |High V1|
53
+ |Spain |??|/12.bargeboard|
54
+ |Canada |/3.High V3|/2.High V1|/11.Airbox cutout|
55
+ |France |
56
+ |Great Britain |Regular V1|
57
+ |Germany |Low V2 |Low|
58
+ |Hungary |High V3|High V3|
59
+ |Belgium |/2.Low V2|Regular V2|
60
+ |Italy |Low |
61
+ |Portugal |/4.High V3|??|
62
+ |Europe |/3.Regular V3|
63
+ |Japan |
64
+ |Australia |
65
+
66
+ h3. Front wing
67
+
68
+ All frontwings from Spain onwards have new triangular endplates.
69
+
70
+ *Low V2*: flat angle and large gurney flaps
71
+ *High V2*: added large gurney flaps
72
+ *High V3*: like v2, but with triangular sideplates
73
+
74
+ h3. Front wing
75
+
76
+ *High V3*: adds one additional plane on the top and the wing additions inside the tires
77
+ *Regular V2*: has different striped-down endplates
78
+ *Regular V3*: has different endplates featuring the wing additions from the high-downforce variant
79
+
80
+
81
+
82
+ h2. Technical Data (Autocourse 1994/95)
83
+
84
+ !F1-1994_01_Williams.jpg!
85
+ For comparison (from Histomobile):
86
+ "FW16":http://www.histomobile.com/dvd_histomobile/usa/286/1994-Williams-FW16-.asp 515 kg, 2990 mm (wheelbase), 1669 mm (track front), 1598 mm (track rear)
87
+ "FW16B":http://www.histomobile.com/dvd_histomobile/usa/286/1994-Williams-FW16B-.asp 595 kg, 2890 mm (wheelbase), 1669 mm (track front), 1598 mm (track rear)
88
+
89
+ According to Autocourse 94/95, the FW16 started the season with the 67° V10 engine RS6 and got the RS6B for the Hockenheim GP as well as the RS6C for Monza. Both upgrades featured higher revs and improved top-end power. The RS6 delivered about 790 bhp / 589 KW @ 14300 rpm according to *"ultimatecarpage.com":http://www.ultimatecarpage.com/car/1054/Williams-FW16-Renault.html*.
90
+
91
+ h2. Technical Data (Grand Prix 1994)
92
+
93
+ !F1-1994_01_Williams_GP94.jpg!
94
+
95
+ h2. Technical Upgrades
96
+
97
+ The Ferrari car upgrades are listed below as reported in Autosport Magazine.
98
+
99
+ h2. Pre-Season (Autosport 134(4), January 27)
100
+
101
+ * Passive front suspension
102
+ * New and simplified cockpit
103
+
104
+ !Williams_000_AS-134_4_-1994-January-27.jpg!
105
+
106
+ !Williams_010_AS-134_4_-1994-January-27.jpg!
107
+
108
+ h3. Photos of the new cockpit and display (late season!)
109
+
110
+ !Williams_010_cockpit1.jpg!
111
+ !Williams_010_cockpit2.jpg!
112
+ !Williams_010_cockpit3.jpg!
113
+
114
+ h2. Pre-Season (Autosport 134(9), March 3)
115
+
116
+ * General car design
117
+ * Suspension
118
+ * Rear wing
119
+
120
+ !Williams_015_AS-134_9_-1994-March-3.jpg!
121
+ !Williams_016_AS-134_9_-1994-March-3.jpg!
122
+ !Williams_018_AS-134_9_-1994-March-3.jpg!
123
+
124
+ h2. Brazilian GP, Interlagos (Autosport 134(11), March 17)
125
+
126
+ * Re-designed ear end
127
+ * Chassis (cockpit, fuel tank, ...)
128
+
129
+ !Williams_020_AS-134_11_-1994-March-17.jpg!
130
+
131
+ h2. Testing between Brazilian and Pacific GP (Autosport 134(14), April 7)
132
+
133
+ !Williams_030_AS-134_14_-1994-April-7.jpg!
134
+
135
+ h2. German GP, Hockenheim (Autosport 136(5), August 4)
136
+
137
+ * Shortened sidepods
138
+ * Revised (elongated) bargeboards
139
+ * Revised cockpit edge (now rounded at the front)
140
+ * New airbox vent in agreement with the new regulations
141
+ * Rear suspension
142
+ * Diffuser
143
+
144
+ !Williams_040_AS-136_5_-1994-August-4.jpg!
145
+