Skip to content

Commit

Permalink
Remove forc index & fuel indexer and remove related .nix files fr…
Browse files Browse the repository at this point in the history
…om manifest directory (#140)

Closes #136

We no longer support the indexer. I asked Mitch if it was safe to remove
all the related .nix files and he said it's fine.
  • Loading branch information
JoshuaBatty authored Jun 28, 2024
1 parent 794cf48 commit 252e032
Show file tree
Hide file tree
Showing 748 changed files with 2 additions and 5,981 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
book/book
result
.DS_Store
1 change: 0 additions & 1 deletion book/src/contributing/adding-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ declare -A fuel_repos=(
[forc-explorer]="https://github.com/fuellabs/forc-explorer"
[forc-wallet]="https://github.com/fuellabs/forc-wallet"
[fuel-core]="https://github.com/fuellabs/fuel-core"
[fuel-indexer]="https://github.com/fuellabs/fuel-indexer"
[sway]="https://github.com/fuellabs/sway"
[sway-vim]="https://github.com/fuellabs/sway.vim"
)
Expand Down
1 change: 0 additions & 1 deletion book/src/nix-power-users/dev-shells.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ the various fuel projects yourself.
| --- | --- |
| `fuel-core-dev` | A shell for working on the `fuel-core` repo. |
| `sway-dev` | A shell for working on the `sway` repo. |
| `fuel-indexer-dev` | A shell for working on the `fuel-indexer` repo. |
| `fuel-dev` | A shell ready for working with on any Fuel repo. |

You can enter a temporary dev shell like so:
Expand Down
3 changes: 0 additions & 3 deletions book/src/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ The `fuel.nix` flake provides the following packages:
| [`forc-doc`][sway-repo] | Sway API documentation generator. |
| [`forc-explore`][sway-repo] | Runs the Fuel Explorer. |
| [`forc-fmt`][sway-repo] | The Sway code formatter. |
| [`forc-index`][fuel-indexer-repo] | A forc plugin for working with the indexer. |
| [`forc-lsp`][sway-repo] | The Sway Language Server Protocol implementation. |
| [`forc-tx`][sway-repo] | Construct transactions with a CLI. |
| [`forc-wallet`][forc-wallet-repo] | A Fuel Wallet CLI implementation. |
| [`fuel-indexer`][fuel-indexer-repo] | An indexer for the Fuel blockchain. |
| [`sway-vim`][sway-vim-repo] | The Sway Vim plugin. |
| `fuel` | All of the above tools under a single package. |

Expand Down Expand Up @@ -138,6 +136,5 @@ nix run github:fuellabs/fuel.nix#forc-fmt-0-24-3-nightly-2022-09-14
[forc-wallet-repo]: https://github.com/fuellabs/forc-wallet
[fuel-core-repo]: https://github.com/fuellabs/fuel-core
[fuel-indexer-repo]: https://github.com/fuellabs/fuel-indexer
[sway-repo]: https://github.com/fuellabs/sway
[sway-vim-repo]: https://github.com/fuellabs/sway.vim
4 changes: 0 additions & 4 deletions filters.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ with pkgs.lib; [
(m: m.pname != "forc-doc" || versionAtLeast m.version "0.29.0")
(m: m.pname != "forc-explore" || versionAtLeast m.version "0.19.0")
(m: m.pname != "forc-fmt" || versionAtLeast m.version "0.19.0")
(m: m.pname != "forc-index" || versionAtLeast m.version "0.1.8")
(m: m.pname != "forc-lsp" || versionAtLeast m.version "0.19.0")
(m: m.pname != "forc-tx" || versionAtLeast m.version "0.33.1")
(m: m.pname != "forc-wallet" || versionAtLeast m.version "0.1.0")
(m: m.pname != "fuel-core" || versionAtLeast m.version "0.9.0")
(m: m.pname != "fuel-core-client" || (versionAtLeast m.version "0.14.2" && m.date >= "2022-12-17"))
(m: m.pname != "fuel-gql-cli" || (versionAtLeast m.version "0.9.0" && m.date < "2022-12-17"))
(m: m.pname != "fuel-indexer" || versionAtLeast m.version "0.1.8")
# Temporarily filter out indexer pkgs due to use of fuels git branch, see #53.
(m: m.src.gitRepoUrl != "https://github.com/fuellabs/fuel-indexer" || m.date < "2023-02-22")
]
11 changes: 1 addition & 10 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,6 @@
NIX_CFLAGS_COMPILE = fuelpkgs.fuel-core-nightly.NIX_CFLAGS_COMPILE or "";
};

fuel-indexer-dev = pkgs.mkShell {
name = "fuel-indexer-dev";
inputsFrom = with fuelpkgs; [forc-index-nightly fuel-indexer-nightly];
buildInputs = with fuelpkgs; [fuel-core fuel-core-client];
inherit (fuelpkgs.fuel-indexer-nightly) SQLX_OFFLINE;
inherit (fuel-core-dev) LIBCLANG_PATH NIX_CFLAGS_COMPILE PROTOC ROCKSDB_LIB_DIR;
};

sway-dev = pkgs.mkShell {
name = "sway-dev";
inputsFrom = with fuelpkgs;
Expand All @@ -265,9 +257,8 @@
isCurrentNightly = name: name != "fuel-nightly" && pkgs.lib.hasSuffix "nightly" name;
currentNightlies = pkgs.lib.filterAttrs (n: v: isCurrentNightly n) fuelpkgs;
in
(pkgs.lib.mapAttrsToList (n: v: v) currentNightlies) ++ [fuel-core-dev fuel-indexer-dev sway-dev];
(pkgs.lib.mapAttrsToList (n: v: v) currentNightlies) ++ [fuel-core-dev sway-dev];
inherit (fuel-core-dev) LIBCLANG_PATH ROCKSDB_LIB_DIR PROTOC NIX_CFLAGS_COMPILE;
inherit (fuel-indexer-dev) SQLX_OFFLINE;
};

default = fuel-dev;
Expand Down
8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-01.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-02.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-03.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-07.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-08.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-09.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-13.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-15.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-17.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-24.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-09-27.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-01.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-07.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-09.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-12.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-13.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-14.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-17.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-18.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-19.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-20.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-21.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-22.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-23.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-25.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-26.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-29.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-10-31.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-11-01.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-11-02.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-11-03.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.0.0-nightly-2022-11-04.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.1.0.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.1.1.nix

This file was deleted.

8 changes: 0 additions & 8 deletions manifests/forc-index-0.1.10-nightly-2022-12-07.nix

This file was deleted.

Loading

0 comments on commit 252e032

Please sign in to comment.