Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 429f0be

Browse files
AnvikingKtorZ
authored andcommitted
[CO-373] Remove tools/dbgen executable and lib
It had a laudable goal, was mangled and eventually bit-rotted. It's not used anymore and heavily rely on V0 and legacy data-layer code. R.I.P
1 parent dd55491 commit 429f0be

File tree

14 files changed

+1
-1366
lines changed

14 files changed

+1
-1366
lines changed

pkgs/default.nix

-12
Original file line numberDiff line numberDiff line change
@@ -17364,7 +17364,6 @@ universum
1736417364
unordered-containers
1736517365
];
1736617366
executableHaskellDepends = [
17367-
acid-state-exts
1736817367
aeson
1736917368
aeson-options
1737017369
ansi-wl-pprint
@@ -17377,20 +17376,13 @@ cardano-report-server
1737717376
cardano-sl
1737817377
cardano-sl-binary
1737917378
cardano-sl-chain
17380-
cardano-sl-chain-test
17381-
cardano-sl-client
1738217379
cardano-sl-core
17383-
cardano-sl-core-test
1738417380
cardano-sl-crypto
1738517381
cardano-sl-db
1738617382
cardano-sl-infra
17387-
cardano-sl-networking
1738817383
cardano-sl-util
17389-
cardano-sl-wallet
1739017384
cardano-sl-x509
17391-
containers
1739217385
cryptonite
17393-
data-default
1739417386
directory
1739517387
filepath
1739617388
formatting
@@ -17399,18 +17391,14 @@ lens
1739917391
lifted-async
1740017392
mtl
1740117393
neat-interpolation
17402-
network-transport-tcp
1740317394
optparse-applicative
17404-
optparse-generic
1740517395
process
1740617396
safe-exceptions
1740717397
serokell-util
1740817398
silently
17409-
stm
1741017399
tabl
1741117400
tar
1741217401
text
17413-
time
1741417402
time-units
1741517403
universum
1741617404
unix

tools/cardano-sl-tools.cabal

-75
Original file line numberDiff line numberDiff line change
@@ -23,70 +23,6 @@ Flag for-installer
2323
description: Build a reduced set of components (only what is needed for the
2424
installer)
2525

26-
executable dbgen
27-
hs-source-dirs: src/dbgen
28-
main-is: Main.hs
29-
if !flag(for-installer)
30-
build-depends: base >= 4.7 && < 5
31-
, acid-state-exts
32-
, cardano-sl
33-
, cardano-sl-chain-test
34-
, cardano-sl-client
35-
, cardano-sl-core
36-
, cardano-sl-core-test
37-
, cardano-sl-db
38-
, cardano-sl-infra
39-
, cardano-sl-networking
40-
, cardano-sl-tools
41-
, cardano-sl-chain
42-
, cardano-sl-util
43-
, cardano-sl-wallet
44-
, containers
45-
, data-default
46-
, network-transport-tcp >= 0.6
47-
, optparse-generic
48-
, stm
49-
, text
50-
, time
51-
, time-units
52-
, universum >= 0.1.11
53-
, unordered-containers
54-
default-language: Haskell2010
55-
ghc-options: -threaded -rtsopts
56-
-Wall
57-
-O2
58-
59-
-- linker speed up for linux
60-
if os(linux)
61-
ghc-options: -optl-fuse-ld=gold
62-
ld-options: -fuse-ld=gold
63-
64-
default-extensions: DeriveDataTypeable
65-
DeriveGeneric
66-
GeneralizedNewtypeDeriving
67-
StandaloneDeriving
68-
FlexibleContexts
69-
FlexibleInstances
70-
MultiParamTypeClasses
71-
FunctionalDependencies
72-
DefaultSignatures
73-
NoImplicitPrelude
74-
OverloadedStrings
75-
TypeApplications
76-
TupleSections
77-
ViewPatterns
78-
LambdaCase
79-
MultiWayIf
80-
ConstraintKinds
81-
UndecidableInstances
82-
BangPatterns
83-
ScopedTypeVariables
84-
85-
build-tools: cpphs >= 1.19
86-
ghc-options: -pgmP cpphs -optP --cpp
87-
88-
if flag(for-installer)
89-
buildable: False
9026

9127
executable cardano-genupdate
9228
hs-source-dirs: src/genupdate
@@ -424,13 +360,6 @@ library
424360
Pos.Tools.Launcher.Environment
425361
Pos.Tools.Launcher.Logging
426362

427-
-- Dbgen
428-
Pos.Tools.Dbgen.CLI
429-
Pos.Tools.Dbgen.Lib
430-
Pos.Tools.Dbgen.Rendering
431-
Pos.Tools.Dbgen.Stats
432-
Pos.Tools.Dbgen.Types
433-
434363
build-depends: base >= 4.7 && < 5
435364
, QuickCheck
436365
, acid-state-exts
@@ -476,10 +405,6 @@ test-suite cardano-sl-tools-test
476405
-- Subject
477406
Test.Pos.Tools.Launcher.Environment
478407

479-
-- Dbgen Tests
480-
Test.Pos.Tools.Dbgen.Gen
481-
Test.Pos.Tools.Dbgen.Json
482-
483408
type: exitcode-stdio-1.0
484409
build-depends: aeson
485410
, base

tools/src/Pos/Tools/Dbgen/CLI.hs

-81
This file was deleted.

0 commit comments

Comments
 (0)