<commit_before>MOUNT=/opt/artemis/mnt
MOUNT64:=${MOUNT}64
MOUNT32:=${MOUNT}32
PKG_DIR=/data/bancroft/artemis/live/repository/packages/artemisutils/
PKG_DIR_DEV=/data/bancroft/artemis/devel/repository/packages/artemisutils/
SOURCE_DIR=/home/artemis/perl510/lib/site_perl/5.10.0/Artemis/
DEST_DIR=opt/artemis/lib/perl5/site_perl/5.10.0/Artemis/

live:
	./scripts/dist_upload_wotan.sh
	ssh <EMAIL>emis@<EMAIL>ft "cd ${MOUNT64}; sudo rsync -ruv  ${SOURCE_DIR} ${DEST_DIR}; sudo tar -czf ${PKG_DIR}/opt-artemis64.tar.gz opt/"
	ssh <EMAIL>emis<EMAIL> "cd ${MOUNT32}; sudo rsync -ruv  ${SOURCE_DIR} ${DEST_DIR}; sudo tar -czf ${PKG_DIR}/opt-artemis32.tar.gz opt/"
devel:
	./scripts/dist_upload_wotan.sh

	ssh <EMAIL> "sudo mv ${MOUNT64}/opt ${MOUNT64}/opt.live; sudo mv ${MOUNT64}/opt.devel ${MOUNT64}/opt;"
	ssh <EMAIL>emis<EMAIL> "cd ${MOUNT64}; sudo rsync -ruv ${SOURCE_DIR} ${DEST_DIR}; sudo tar -czf ${PKG_DIR}/opt-artemis64_devel.tar.gz opt/"
	ssh <EMAIL>emis<EMAIL> "sudo mv ${MOUNT64}/opt ${MOUNT64}/opt.devel; sudo mv ${MOUNT64}/opt.live ${MOUNT64}/opt;"

	ssh <EMAIL>emis<EMAIL> "sudo mv ${MOUNT32}/opt ${MOUNT32}/opt.live; sudo mv ${MOUNT32}/opt.devel ${MOUNT32}/opt;"
	ssh <EMAIL>emis@b<EMAIL>ft "cd ${MOUNT32}; sudo rsync -ruv ${SOURCE_DIR} ${DEST_DIR}; sudo tar -czf ${PKG_DIR}/opt-artemis32_devel.tar.gz opt/"
	ssh artemis@bancroft "sudo mv ${MOUNT32}/opt ${MOUNT32}/opt.devel; sudo mv ${MOUNT32}/opt.live ${MOUNT32}/opt;"


<commit_msg>PRC: fixed makefile for automatic installation<commit_after>MOUNT=/opt/artemis/mnt
MOUNT64:=${MOUNT}64
MOUNT32:=${MOUNT}32
PKG_DIR=/data/bancroft/artemis/live/repository/packages/artemisutils/
PKG_DIR_DEV=/data/bancroft/artemis/devel/repository/packages/artemisutils/
SOURCE_DIR=/home/artemis/perl510/lib/site_perl/5.10.0/Artemis/
DEST_DIR=opt/artemis/lib/perl5/site_perl/5.10.0/Artemis/

live:
	./scripts/dist_upload_wotan.sh
	ssh <EMAIL>emis@bancroft "cd ${MOUNT64}; sudo chroot ${MOUNT64} /opt/artemis/bin/cpan Artemis::PRC; sudo -u artemis tar -czf ${PKG_DIR}/opt-artemis64.tar.gz opt/ etc/resolv.conf"
	ssh artemis@bancroft "cd ${MOUNT32}; sudo chroot ${MOUNT32} /opt/artemis/bin/cpan Artemis::PRC; sudo -u artemis tar -czf ${PKG_DIR}/opt-artemis32.tar.gz opt/ etc/resolv.conf"
devel:
	./scripts/dist_upload_wotan.sh

	ssh artemis@bancroft "sudo mv ${MOUNT64}/opt ${MOUNT64}/opt.live; sudo mv ${MOUNT64}/opt.devel ${MOUNT64}/opt;"
	ssh artemis@bancroft "cd ${MOUNT64}; sudo rsync -ruv ${SOURCE_DIR} ${DEST_DIR}; sudo tar -czf ${PKG_DIR}/opt-artemis64_devel.tar.gz opt/"
	ssh artemis@bancroft "sudo mv ${MOUNT64}/opt ${MOUNT64}/opt.devel; sudo mv ${MOUNT64}/opt.live ${MOUNT64}/opt;"

	ssh artemis@b<EMAIL>roft "sudo mv ${MOUNT32}/opt ${MOUNT32}/opt.live; sudo mv ${MOUNT32}/opt.devel ${MOUNT32}/opt;"
	ssh artemis@bancroft "cd ${MOUNT32}; sudo rsync -ruv ${SOURCE_DIR} ${DEST_DIR}; sudo tar -czf ${PKG_DIR}/opt-artemis32_devel.tar.gz opt/"
	ssh artemis@bancroft "sudo mv ${MOUNT32}/opt ${MOUNT32}/opt.devel; sudo mv ${MOUNT32}/opt.live ${MOUNT32}/opt;"



{'fraction_non_alphanumeric': 0.1810316139767055, 'fraction_numerical': 0.04658901830282862, 'mean_word_length': 5.450643776824034, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4238005', 'n_tokens_mistral': 1470, 'n_tokens_neox': 1271, 'n_words': 225}