Skip to content

Commit

Permalink
Replace URLs across the repo (#1723)
Browse files Browse the repository at this point in the history
## Description
<!--- Describe your changes -->
Replace URLs containing input-output-hk with corresponding org (cardano-foundation or… intersectmbo), subsumes #1722

Co-authored-by: Rivindu Weerasekera <[email protected]>
  • Loading branch information
rdlrt and rivinduw authored Jan 8, 2024
1 parent ded3731 commit a47f1c2
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 112 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
ref: alpha
- name: Fetch node release version
run: |
curl -sL https://api.github.com/repos/input-output-hk/cardano-node/releases/latest | grep tag_name | awk '{print $2}' | cut -d\" -f 2 > files/docker/node/release-versions/cardano-node-latest.txt
curl -sL https://api.github.com/repos/intersectmbo/cardano-node/releases/latest | grep tag_name | awk '{print $2}' | cut -d\" -f 2 > files/docker/node/release-versions/cardano-node-latest.txt
- name: Assigns release version
run: |
VERSION=$(cat ./files/docker/node/release-versions/cardano-node-latest.txt)
Expand Down
2 changes: 1 addition & 1 deletion docs/Appendix/RecoverByronWallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ curl -sSL https://get.haskellstack.org/ | sh

note: you must build from source as of today as there are changes that just got into master you need
```
git clone https://github.com/input-output-hk/cardano-wallet.git
git clone https://github.com/cardano-foundation/cardano-wallet.git
```

## 3. Go into the wallet directory
Expand Down
10 changes: 5 additions & 5 deletions docs/Build/dbsync.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
An average pool operator may not require cardano-db-sync at all. Please verify if it is required for your use as mentioned [here](../build.md#components).

- Ensure the [Pre-Requisites](../basics.md#pre-requisites) are in place before you proceed.
- The [Cardano DB Sync](https://github.com/input-output-hk/cardano-db-sync) relies on an existing PostgreSQL server. To keep the focus on building dbsync tool, and not how to setup postgres itself, you can refer to [Sample Local PostgreSQL Server Deployment instructions](../Appendix/postgres.md) for setting up a Postgres instance. Specifically, we expect the `PGPASSFILE` environment variable is set as per the instructions in the sample guide, for `db-sync` to be able to connect.
- One of the biggest obstacles for user experience when running dbsync is ensuring you satisfy EACH of the points mentioned in System Requirements [here](https://github.com/input-output-hk/cardano-db-sync#system-requirements). Also, note that we do not advise running dbsync on mainnet if your RAM is below 48GB.
- The [Cardano DB Sync](https://github.com/intersectmbo/cardano-db-sync) relies on an existing PostgreSQL server. To keep the focus on building dbsync tool, and not how to setup postgres itself, you can refer to [Sample Local PostgreSQL Server Deployment instructions](../Appendix/postgres.md) for setting up a Postgres instance. Specifically, we expect the `PGPASSFILE` environment variable is set as per the instructions in the sample guide, for `db-sync` to be able to connect.
- One of the biggest obstacles for user experience when running dbsync is ensuring you satisfy EACH of the points mentioned in System Requirements [here](https://github.com/intersectmbo/cardano-db-sync#system-requirements). Also, note that we do not advise running dbsync on mainnet if your RAM is below 48GB.


### Build Instructions
Expand All @@ -14,7 +14,7 @@ Execute the below to clone the `cardano-db-sync` repository to `$HOME/git` folde

``` bash
cd ~/git
git clone https://github.com/input-output-hk/cardano-db-sync
git clone https://github.com/intersectmbo/cardano-db-sync
cd cardano-db-sync
```

Expand All @@ -29,7 +29,7 @@ git pull
# On CentOS 7 (GCC 4.8.5) we should also do
# echo -e "package cryptonite\n flags: -use_target_attributes" >> cabal.project.local
# Replace tag against checkout if you do not want to build the latest released version
git checkout $(curl -s https://api.github.com/repos/input-output-hk/cardano-db-sync/releases/latest | jq -r .tag_name)
git checkout $(curl -sLf https://api.github.com/repos/intersectmbo/cardano-db-sync/releases/latest | jq -r .tag_name)
# Use `-l` argument if you'd like to use system libsodium instead of IOG fork of libsodium while compiling
$CNODE_HOME/scripts/cabal-build-all.sh
```
Expand Down Expand Up @@ -60,7 +60,7 @@ ln -s ~/git/cardano-db-sync/schema $CNODE_HOME/guild-db/schema

#### Restore using Snapshot

If you're running a mainnet/preview/preprod instance of dbsync, you might want to consider use of dbsync snapshots as documented [here](https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/state-snapshot.md). The snapshot files as of recent epoch are available via links in [release notes](https://github.com/input-output-hk/cardano-db-sync/releases).
If you're running a mainnet/preview/preprod instance of dbsync, you might want to consider use of dbsync snapshots as documented [here](https://github.com/intersectmbo/cardano-db-sync/blob/master/doc/state-snapshot.md). The snapshot files as of recent epoch are available via links in [release notes](https://github.com/intersectmbo/cardano-db-sync/releases).

At high-level, this would involve steps as below (read and update paths as per your environment):

Expand Down
78 changes: 0 additions & 78 deletions docs/Build/graphql.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/Build/grest.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
!!! important

- An average pool operator may not require this component at all. Please verify if it is required for your use as mentioned [here](../build.md#components)
- Ensure that you have setup [DBSync](../Build/dbsync.md) and that it is in sync atleast to Mary fork before you proceed. *IF* you're participating in Koios services, ensure that you're using [latest dbsync release](https://github.com/input-output-hk/cardano-db-sync/releases/latest)
- Ensure that you have setup [DBSync](../Build/dbsync.md) and that it is in sync atleast to Mary fork before you proceed. *IF* you're participating in Koios services, ensure that you're using [latest dbsync release](https://github.com/intersectmbo/cardano-db-sync/releases/latest)

### What is gRest

Expand Down
8 changes: 4 additions & 4 deletions docs/Build/node-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ Execute the below to clone the cardano-node repository to `$HOME/git` folder on

``` bash
cd ~/git
git clone https://github.com/input-output-hk/cardano-node
git clone https://github.com/intersectmbo/cardano-node
cd cardano-node
```

#### Build Cardano Node

You can use the instructions below to build the latest release of [cardano-node](https://github.com/input-output-hk/cardano-node).
You can use the instructions below to build the latest release of [cardano-node](https://github.com/intersectmbo/cardano-node).

``` bash
git fetch --tags --all
git pull
# Replace tag against checkout if you do not want to build the latest released version
git checkout $(curl -s https://api.github.com/repos/input-output-hk/cardano-node/releases/latest | jq -r .tag_name)
git checkout $(curl -sLf https://api.github.com/repos/intersectmbo/cardano-node/releases/latest | jq -r .tag_name)

# Use `-l` argument if you'd like to use system libsodium instead of IOG fork of libsodium while compiling
$CNODE_HOME/scripts/cabal-build-all.sh
Expand All @@ -32,7 +32,7 @@ The above would copy the binaries built into `~/.local/bin` folder.
#### Download pre-compiled Binary from Node release

While certain folks might want to build the node themselves (could be due to OS/arch compatibility, trust factor or customisations), for most it might not make sense to build the node locally.
Instead, you can download the binaries using [cardano-node release notes](https://github.com/input-output-hk/cardano-node/releases), where-in you can find the download links for every version.
Instead, you can download the binaries using [cardano-node release notes](https://github.com/intersectmbo/cardano-node/releases), where-in you can find the download links for every version.
Once downloaded, you would want to make it available to preferred `PATH` in your environment (if you're asking how - that'd mean you've skipped skillsets mentioned on homepage).

### Verify
Expand Down
8 changes: 4 additions & 4 deletions docs/Build/wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ Execute the below to clone the `cardano-wallet` repository to `$HOME/git` folder

``` bash
cd ~/git
git clone https://github.com/input-output-hk/cardano-wallet
git clone https://github.com/cardano-foundation/cardano-wallet
cd cardano-wallet
```

##### Build Cardano Wallet

You can use the instructions below to build the latest release of [cardano-wallet](https://github.com/input-output-hk/cardano-wallet).
You can use the instructions below to build the latest release of [cardano-wallet](https://github.com/cardano-foundation/cardano-wallet).

!> - Note that the latest release of `cardano-wallet` may not work with the latest release of `cardano-node`. Please check the compatibility of each `cardano-wallet` release yourself in the official docs, e.g. https://github.com/input-output-hk/cardano-wallet/releases/latest.
!> - Note that the latest release of `cardano-wallet` may not work with the latest release of `cardano-node`. Please check the compatibility of each `cardano-wallet` release yourself in the official docs, e.g. https://github.com/cardano-foundation/cardano-wallet/releases/latest.

``` bash
git fetch --tags --all
git pull
# Replace tag against checkout if you do not want to build the latest released version
git checkout $(curl -s https://api.github.com/repos/input-output-hk/cardano-wallet/releases/latest | jq -r .tag_name)
git checkout $(curl -s https://api.github.com/repos/cardano-foundation/cardano-wallet/releases/latest | jq -r .tag_name)
$CNODE_HOME/scripts/cabal-build-all.sh
```

Expand Down
4 changes: 2 additions & 2 deletions docs/Scripts/cntools-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ Note: Version incremented thrice on PR branch itself
## [8.1.4] - 2021-04-05
##### Changed
- Enhanced minimum utxo calculation (credits to Martin providing this)
- based on calculations from https://github.com/input-output-hk/cardano-ledger-specs/blob/master/doc/explanations/min-utxo.rst
- based on calculations from https://github.com/intersectmbo/cardano-ledger/blob/master/doc/explanations/min-utxo-mary.rst
- Validation of wallet address balance on transactions improved

## [8.1.3] - 2021-04-01
Expand Down Expand Up @@ -634,7 +634,7 @@ Only the most noticeable changes added to changelog.
- Pool registration and de-registration certificates removed in case of retire/re-registration
- KES Expiry to use KES Period instead of Epoch duration
- Block Collector script adapted for cardano-node 1.19.0.
- Block hash is now truncated in log, issue https://github.com/input-output-hk/cardano-node/issues/1738
- Block hash is now truncated in log, issue https://github.com/intersectmbo/cardano-node/issues/1738
- High cpu usage reported in a few cases when running Block Collector
- Depending on log level, parsing and byte64 enc each entry with jq could potentially put high load on weaker systems. Replaced with grep to only parse entries containing specific traces.
- Docs for creating systemd block collector service file updated to include user env in run command
Expand Down
2 changes: 1 addition & 1 deletion docs/build.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The documentation here uses instructions from [IOHK repositories](https://github.com/input-output-hk) as a foundation, with additional info which we can contribute to where appropriate. Note that not everyone needs to build each component. You can refer to [architecture](https://docs.cardano.org/explore-cardano/cardano-architecture) to understand and qualify which of the components built by IO you want to run.
The documentation here uses instructions from [Intersect MBO repositories](https://github.com/intersectmbo) as foundation, with additional info which we can contribute to where appropriate. Note that not everyone needs to build each component. You can refer to [architecture](https://docs.cardano.org/explore-cardano/cardano-architecture) to understand and qualify which of the components built by IO you want to run.

#### Components

Expand Down
2 changes: 1 addition & 1 deletion files/docker/node/dockerfile_stage2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV \
USER=root \
PATH=$CNODE_HOME/scripts:/root/.local/bin:/root/.ghcup/bin:$PATH

RUN git clone https://github.com/input-output-hk/cardano-node.git \
RUN git clone https://github.com/intersectmbo/cardano-node.git \
&& export BOOTSTRAP_HASKELL_NO_UPGRADE=1 \
&& mkdir -p /root/.local/bin/ \
&& wget https://raw.githubusercontent.com/${G_ACCOUNT}/guild-operators/master/files/docker/node/release-versions/cardano-node-latest.txt \
Expand Down
2 changes: 1 addition & 1 deletion files/docker/wallet/dockerfile_wallet_stage2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LANG=C.UTF-8 \
USER=root \
PATH=$CNODE_HOME/scripts:/root/.local/bin:/root/.ghcup/bin:/root/.local/bin:$PATH

RUN git clone https://github.com/input-output-hk/cardano-wallet.git \
RUN git clone https://github.com/cardano-foundation/cardano-wallet.git \
&& cd cardano-wallet \
&& git fetch --tags --all \
&& git pull \
Expand Down
2 changes: 1 addition & 1 deletion files/tests/pre-merge/debian-cabal-l.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV \
G_ACCOUNT=$G_ACCOUNT \
COMMIT=$COMMIT

RUN git clone https://github.com/input-output-hk/cardano-node
RUN git clone https://github.com/intersectmbo/cardano-node

WORKDIR /cardano-node

Expand Down
2 changes: 1 addition & 1 deletion files/tests/pre-merge/rockylinux-cabal-l.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ENV \
G_ACCOUNT=$G_ACCOUNT \
COMMIT=$COMMIT

RUN git clone https://github.com/input-output-hk/cardano-node
RUN git clone https://github.com/intersectmbo/cardano-node

WORKDIR /cardano-node

Expand Down
2 changes: 1 addition & 1 deletion files/tests/pre-merge/ubuntu-cabal-l.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV \
G_ACCOUNT=$G_ACCOUNT \
COMMIT=$COMMIT

RUN git clone https://github.com/input-output-hk/cardano-node
RUN git clone https://github.com/intersectmbo/cardano-node

WORKDIR /cardano-node

Expand Down
4 changes: 2 additions & 2 deletions scripts/cnode-helper-scripts/cabal-build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ cat <<-EOF > .tmp.cabal.project.local
source-repository-package
type: git
location: https://github.com/input-output-hk/bech32
location: https://github.com/intersectmbo/bech32
tag: v1.1.2
subdir: bech32
source-repository-package
type: git
location: https://github.com/input-output-hk/cardano-addresses
location: https://github.com/intersectmbo/cardano-addresses
tag: 3.12.0
subdir:
command-line
Expand Down
2 changes: 1 addition & 1 deletion scripts/cnode-helper-scripts/cntools.library
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ getAssetsTxOut() {
# Command : getMinUTxO [--tx-out string]
# Description : calculate minimum balance needed in source wallet UTxOs for transaction to be valid
# getBalance assumed to be run before
# based on calculations from https://github.com/input-output-hk/cardano-ledger-specs/blob/master/doc/explanations/min-utxo.rst
# based on calculations from https://github.com/intersectmbo/cardano-ledger/blob/master/doc/explanations/min-utxo-mary.rst
# Return : populates ${min_utxo_out}
getMinUTxO() {
[[ -z ${utxoCostPerWord} ]] && utxoCostPerWord=$(jq -r '.utxoCostPerWord' <<< "${PROT_PARAMS}")
Expand Down
2 changes: 1 addition & 1 deletion scripts/cnode-helper-scripts/cntools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4221,7 +4221,7 @@ function main {
fi
echo
println DEBUG "Select the type of metadata to post on-chain"
println DEBUG "ref: https://github.com/input-output-hk/cardano-node/blob/master/doc/reference/tx-metadata.md"
println DEBUG "ref: https://github.com/input-output-hk/cardano-node-wiki/wiki/tx-metadata"
select_opt "[n] No JSON Schema (default)" "[d] Detailed JSON Schema" "[c] Raw CBOR"
case $? in
0) metatype="no-schema" ;;
Expand Down
2 changes: 1 addition & 1 deletion scripts/cnode-helper-scripts/env
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ slotInterval() {
}
# Description : Identify current era and set variables accordingly
# TODO: Track progress of https://github.com/input-output-hk/cardano-node/pull/4135 to see if era identifier can be removed in a future release.
# TODO: Track progress of https://github.com/intersectmbo/cardano-node/pull/4135 to see if era identifier can be removed in a future release.
getEraIdentifier() {
NETWORK_ERA=$(${CCLI} query tip ${NETWORK_IDENTIFIER} 2>/dev/null | jq -r '.era //empty')
case ${NETWORK_ERA} in
Expand Down
Loading

0 comments on commit a47f1c2

Please sign in to comment.