<commit_before>#!/bin/bash -ex
# build a debian package from a release build
ver=$1

cp target/checkout/war/target/hudson.war hudson.war
(cat << EOF
hudson ($ver) unstable; urgency=low

  * See http://hudson.dev.java.net/changelog.html for more details.

 -- <NAME> <<EMAIL>>  $(date -R)

EOF
cat debian/changelog ) > debian/changelog.tmp
mv debian/changelog.tmp debian/changelog

# build the debian package
debuild -us -uc -B
scp ../hudson_${ver}_all.deb hudson.gotdns.com:~/public_html_hudson/debian/binary

# build package index
pushd ..
mkdir binary || true
mv hudson_${ver}_all.deb binary
dpkg-scanpackages binary /dev/null | gzip -9c > binary/Packages.gz
scp binary/Packages.gz hudson.gotdns.com:~/public_html_hudson/debian/binary
popd
<commit_msg>suppress unneeded error message<commit_after>#!/bin/bash -ex
# build a debian package from a release build
ver=$1

cp target/checkout/war/target/hudson.war hudson.war
(cat << EOF
hudson ($ver) unstable; urgency=low

  * See http://hudson.dev.java.net/changelog.html for more details.

 -- <NAME> <<EMAIL>>  $(date -R)

EOF
cat debian/changelog ) > debian/changelog.tmp
mv debian/changelog.tmp debian/changelog

# build the debian package
debuild -us -uc -B
scp ../hudson_${ver}_all.deb hudson.gotdns.com:~/public_html_hudson/debian/binary

# build package index
pushd ..
mkdir binary > /dev/null 2>&1 || true
mv hudson_${ver}_all.deb binary
dpkg-scanpackages binary /dev/null | gzip -9c > binary/Packages.gz
scp binary/Packages.gz hudson.gotdns.com:~/public_html_hudson/debian/binary
popd

{'fraction_non_alphanumeric': 0.13156189241736876, 'fraction_numerical': 0.0038885288399222295, 'mean_word_length': 4.233898305084746, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '3577564', 'n_tokens_mistral': 618, 'n_tokens_neox': 555, 'n_words': 139}