From 9a3a8d2961ecada5b1f54da9d9dab00e2544febf Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Sat, 14 Dec 2024 13:34:52 -0500 Subject: [PATCH] DOC: Updates for release testing data uploads @web3-storage/w3cli no longer uploads symlinks. Commit updates with datalad, then export the repository contents to a new folder with no symlinks. Upload this instead. Do not document uploading to Kitware's IPFS server or the HTTP server. The former was never properly exposed and the latter is time consuming and unnecessary. --- Documentation/Maintenance/Release.md | 31 ++++++++++++---------------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/Documentation/Maintenance/Release.md b/Documentation/Maintenance/Release.md index 00c94086ec9..030d90000cb 100644 --- a/Documentation/Maintenance/Release.md +++ b/Documentation/Maintenance/Release.md @@ -242,14 +242,23 @@ And fetch new data into the datalad repository. ```bash cd ~/data/ITKData ./ContentLinkSynchronization.sh --create ~/src/ITK +datalad status ``` +If there is new content, commit it with: +```bash +datalad save -m "ENH: Pre-updates for ITK-v" +``` Upload the tree to archival storage with: ```bash +datalad export-archive ~/data/pre-archive +rm -rf ~/data/pre-archive && mkdir -p ~/data/pre-archive && tar -xf ~/data/pre-archive.tar.gz -C ~/data/ +cd ~/data/pre-archive w3 put . --no-wrap -n ITKData-pre-verify -H +cd - ``` Verify and possibly update CID's in the ITK repository with the CID output @@ -273,7 +282,11 @@ add your DID, obtained with `w3 whoami`, to the shared space. Upload the repository update to web3.storage: ```bash +datalad export-archive ~/data/itk-archive +rm -rf ~/data/itk-archive && mkdir -p ~/data/itk-archive && tar -xf ~/data/itk-archive.tar.gz -C ~/data/ +cd ~/data/itk-archive w3 put . --no-wrap -n ITKData-v -H +cd - ``` Edit the *README.md* file with the new root CID and push. @@ -298,24 +311,6 @@ ipfs pin add /ipfs/bafy ipfs pin remote add --service=pinata --name=ITKData-ITK-v /ipfs/bafy ``` -### Pin the CID on Kitware's ipfs server - -Optionally, pin to Kitware's ipfs server: - -``` -ssh ipfs -export IPFS_PATH=/data/ipfs -ipfs pin add --progress /ipfs/bafy -``` - -### Rsync the data to Kitware's Apache Server - -Optionally, rsync the object to Kitware's Apache Server - -```bash -rsync -vrtL ./Objects/CID kitware@web:ITKExternalData/ -``` - ### Push the data to GitHub Pages Push the data to the [ITKTestingData] `gh-pages` branch. GitHub restricts size