mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). This change updates the CMake files and definitions therein, plus a handful of related modifications. Specifically, the compiler files are renamed from `RippleXXX.cmake` or `RippledXXX.cmake` to `XrplXXX.cmake`, and any references to `ripple` and `rippled` (with or without capital letters) are renamed to `xrpl` and `xrpld`, respectively. The name of the binary, currently `rippled`, remains unchanged and will be updated in a separate PR. This change is purely cosmetic and does not affect the functioning of the binary.
37 lines
1.6 KiB
Markdown
37 lines
1.6 KiB
Markdown
## Renaming ripple(d) to xrpl(d)
|
|
|
|
In the initial phases of development of the XRPL, the open source codebase was
|
|
called "rippled" and it remains with that name even today. Today, over 1000
|
|
nodes run the application, and code contributions have been submitted by
|
|
developers located around the world. The XRPL community is larger than ever.
|
|
In light of the decentralized and diversified nature of XRPL, we will rename any
|
|
references to `ripple` and `rippled` to `xrpl` and `xrpld`, when appropriate.
|
|
|
|
See [here](https://xls.xrpl.org/xls/XLS-0095-rename-rippled-to-xrpld.html) for
|
|
more information.
|
|
|
|
### Scripts
|
|
|
|
To facilitate this transition, there will be multiple scripts that developers
|
|
can run on their own PRs and forks to minimize conflicts. Each script should be
|
|
run from the repository root.
|
|
|
|
1. `.github/scripts/rename/definitions.sh`: This script will rename all
|
|
definitions, such as include guards, from `RIPPLE_XXX` and `RIPPLED_XXX` to
|
|
`XRPL_XXX`.
|
|
2. `.github/scripts/rename/copyright.sh`: This script will remove superflous
|
|
copyright notices.
|
|
3. `.github/scripts/rename/cmake.sh`: This script will rename all CMake files
|
|
from `RippleXXX.cmake` or `RippledXXX.cmake` to `XrplXXX.cmake`, and any
|
|
references to `ripple` and `rippled` (with or without capital letters) to
|
|
`xrpl` and `xrpld`, respectively. The name of the binary will remain as-is,
|
|
and will only be renamed to `xrpld` by a later script.
|
|
|
|
You can run all these scripts from the repository root as follows:
|
|
|
|
```shell
|
|
./.github/scripts/rename/definitions.sh .
|
|
./.github/scripts/rename/copyright.sh .
|
|
./.github/scripts/rename/cmake.sh .
|
|
```
|