Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 1999 00:08:33 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        hackers@freebsd.org
Subject:   Exctracting stuff from PRs
Message-ID:  <Pine.BSF.3.95.990318235823.2175A-100000@current1.whistle.com>

next in thread | raw e-mail | index | archive | help

Sometimes people submit code in a PR (in fact we encourage this).
Unfortunatly they often include the code as an attachment,
so it appears in the PR database as some 'encoded' form of data.

If we could get teh PR gatabase to send these mailing back out as mail
again we'd be able to extract the file susing mail agents, however
the only this we can do is run edit-pr and the web interface.
neither of which knows how to handle MIME enclosures.

How do other people cope with this?

For a trivial example.. see misc/8139. this has submissions in the audit
trail, with the headers
   Content-Type: text/plain; charset="iso-8859-1"
   Content-Transfer-Encoding: quoted-printable
so there are funny things in the source like
"if [ "${1}X" =3D "X" ]"
but one could extract it buy hand and edit it correct.
But I've seen people submitting them with 'Base64'
and other similar unreadable encodings.

julian



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.990318235823.2175A-100000>