Issue #4567 has been updated by Rein Henrichs.

Status changed from Unreviewed to Accepted

Paul, I can write a rake task which takes a pair of git references (tags, 
branches, SHA1s, etc, (as described in the  "Specifying Revisions" section of 
man git-rev-parse) and the facter arguments (optional) and returns a unified 
diff of the two ouputs. Would that be reasonable? Something like:

    rake facter:diff refs="1.5.2 1.5.7" args="ipaddress macaddress"

However, Rake's command line handling is terrible, frankly, and a simple 
executable in ext/ might be more suitable:

    ./ext/facter-diff 1.5.2 1.5.7 ipaddress macaddress
----------------------------------------
Feature #4567: Add simple rake target to generate difference between versions
http://projects.puppetlabs.com/issues/4567

Author: Paul Nasrat
Status: Accepted
Priority: Normal
Assigned to: 
Category: 
Target version: 
Keywords: 
Branch: 


It'd be great if we could help early testers, regression testers give us a diff 
between fact output on versions (ie between two git tags) via a rake target.

Potentially if redmine has an email filing/API to file we could help automate 
filing regressions or even tie it into CI as a release level additional test 
stage.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to