Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Version Control

Version Control 2 years, 9 months ago #1209

  • bmick08
  • OFFLINE
  • Posts: 19
  • Karma: 0
Hi,

Do you have any ideas about how track changes to the .sms files for the SmartMotor? I have yet to figure out a version control solution for the separate programs that I have written.

Thanks

Re: Version Control 2 years, 9 months ago #1210

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
Hi... most users enter revision comments in their .sms files. The only other method is to issue a RCKS command after downloading the program. This will give a unique checksum of the downloaded .smx file.

Re: Version Control 2 years, 5 months ago #1480

  • im_mfg
  • OFFLINE
  • Posts: 1
  • Karma: 0
Hello,

I can do it with Git, using ideas from gist.github.com/nachocab/6429893 to get human-readable diffs.

Here's a perl script that converts the .sms files (rtf) to text:

use strict;
use RTF::TEXT::Converter;

while (my $rtf=shift(@ARGV)) {
	open RTF, $rtf or die "Cannot open $rtf: $!\n";

	my $converter = RTF::TEXT::Converter->new(
		output => \*STDOUT
	);

	$converter->parse_stream( \*RTF );
	close RTF;
}
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.47 seconds