Skip to content

Commit

Permalink
[FABG-901] Remove third_party protos
Browse files Browse the repository at this point in the history
This change removes the third_party protos from the repo
since protos have now been externalized.

Change-Id: Ife9520542910b1c4ea90dfd811c2060e7db3bbfe
Signed-off-by: Troy Ronda <[email protected]>
  • Loading branch information
troyronda committed Aug 22, 2019
1 parent d2b4260 commit 7483e05
Show file tree
Hide file tree
Showing 32 changed files with 0 additions and 16,197 deletions.
142 changes: 0 additions & 142 deletions scripts/third_party_pins/fabric/apply_fabric_protos_common.sh

This file was deleted.

98 changes: 0 additions & 98 deletions scripts/third_party_pins/fabric/apply_fabric_protos_network.sh

This file was deleted.

11 changes: 0 additions & 11 deletions scripts/third_party_pins/fabric/apply_upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,6 @@ declare -a EXTERNAL_UTILS_IMPORT_SUBSTS=(
INTERNAL_PATH=$THIRDPARTY_FABRIC_PATH TMP_PROJECT_PATH=$TMP_PROJECT_PATH IMPORT_SUBSTS="${EXTERNAL_UTILS_IMPORT_SUBSTS[*]}" $SCRIPTS_PATH/apply_fabric_external_utils.sh
INTERNAL_PATH=$THIRDPARTY_FABRIC_PATH TMP_PROJECT_PATH=$TMP_PROJECT_PATH IMPORT_SUBSTS="${EXTERNAL_UTILS_IMPORT_SUBSTS[*]}" $SCRIPTS_PATH/apply_fabric_common_utils.sh

# protos
echo "Pinning and patching protos (fabric common)..."
declare -a PROTOS_IMPORT_SUBSTS=(
's/\"github.com\/hyperledger\/fabric\/protoutil/\"github.com\/hyperledger\/fabric-sdk-go\/third_party\/github.com\/hyperledger\/fabric\/internal\/protoutil/g'
's/\"github.com\/hyperledger\/fabric\//\"github.com\/hyperledger\/fabric-sdk-go\/third_party\/github.com\/hyperledger\/fabric\//g'
)
INTERNAL_PATH=$THIRDPARTY_FABRIC_PATH TMP_PROJECT_PATH=$TMP_PROJECT_PATH IMPORT_SUBSTS="${PROTOS_IMPORT_SUBSTS[*]}" $SCRIPTS_PATH/apply_fabric_protos_common.sh

echo "Pinning and patching protos (fabric network) ..."
INTERNAL_PATH=$THIRDPARTY_FABRIC_PATH TMP_PROJECT_PATH=$TMP_PROJECT_PATH IMPORT_SUBSTS="${PROTOS_IMPORT_SUBSTS[*]}" $SCRIPTS_PATH/apply_fabric_protos_network.sh

# Cleanup temporary files from patch application
echo "Removing temporary files ..."
rm -Rf $TMP
Loading

0 comments on commit 7483e05

Please sign in to comment.