[squeak-dev] Getting a code snippet from SqueakSource (similar to
#ensureFix: in Mantis)
asqueaker at gmail.com
Mon Oct 8 18:36:53 UTC 2012
It would help if you could be more specific about what you're wanting
to do -- what inputs do you have, what output do you want?
You might start by looking at MCRepository, it lets you access the
versions of a repository. By reading just the latest version you can
access the full change-history text.
However if you want to scan the #source of MCMethodDefinitions of each
version then check out MCVersionReader to access those definitions.
On Mon, Oct 8, 2012 at 3:55 AM, Marcel Taeumel
<marcel.taeumel at student.hpi.uni-potsdam.de> wrote:
> Is there a convenient way to load a specific piece of code (i.e., some
> methods from a version from a package from a repo) from SqueakSource?
> I want to load some code from the Squeak trunk with a Metacello script for a
> project that is meant to be used in Squeak 4.3.
> View this message in context: http://forum.world.st/Getting-a-code-snippet-from-SqueakSource-similar-to-ensureFix-in-Mantis-tp4650393.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev