Tryton - Issues

 

Message47560

Author dave
Recipients Timitos, ced, jesteve, ohuisman, pokoli, resteve, reviewbot, risto3, rvnovaes
Date 2019-03-12.18:39:50
Content
I don't know if this will be of any help, and this is a bit of a hack, but I ended up downloading and applying the patches for the individual files:


# Get a list of the patches
LINKS=$( \
    wget -q -O- "https://codereview.tryton.org/68401002/" \
    | grep '<a href.*download.*diff' \
    | sed -e 's/[^"]*"//' -e 's/"//' )

# Download the patches
mkdir /tmp/issue68401002
for LINK in $LINKS; do
   PATCH=$( echo $LINK | sed -e 's|.*/||' )
   echo "patch $PATCH... "
   wget -q -O "/tmp/issue68401002/$PATCH" "https://codereview.tryton.org/$LINK"
done

# Apply the patches
cd $YOUR_MODULES_DIRECTORY
for PATCH in $( ls "/tmp/issue68401002" ); do
    patch -p2 <"/tmp/issue68401002/$PATCH"
done


Note: YMMV, this seemed to work for all the files except a two of csv ones, where the patches were rejected, but for me as I wasn't interested in those files I didn't look into why.
History
Date User Action Args
2019-03-12 18:39:51davesetmessageid: <1552412391.03.0.288244141595.issue4990@tryton.org>
2019-03-12 18:39:51davesetrecipients: + ced, Timitos, ohuisman, resteve, pokoli, risto3, jesteve, rvnovaes, reviewbot
2019-03-12 18:39:50davelinkissue4990 messages
2019-03-12 18:39:50davecreate

Showing 10 items. Show all history (warning: this could be VERY long)