Bug 742097

Summary: API compatibility no longer enforced
Product: [Community] Publican Reporter: Ruediger Landmann <r.landmann>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.7CC: mhideo, rlandman, zdover
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 3.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-30 23:11:51 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Ruediger Landmann 2011-09-28 23:06:00 EDT
Description of problem:
Publican 2.8 does not check for compatibility when it builds content packaged by older, incompatible versions

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Package a book using an obsolete (<2.5) version of Publican
2. Attempt to build the book from the package in an environment that has Publican 2.8 installed
Actual results:
Package gets built

Expected results:
Build should fail with a message that the package was created with an obsolete version of Publican
Comment 1 Jeff Fearn 2011-10-04 00:25:47 EDT
Re-added API check. Added extra check for post-commit DB hook, will not run check if DB update hooks are missing.

Committed revision 1903.
Comment 2 Jared MORGAN 2012-05-08 21:21:49 EDT
For verification, can we get older versions of publican from brew?

Would the verification steps be:


* ensure brew has publican v2.8 installed (which it should by default, yes?)

1. yum downgrade publican (to revert to non-testing version). 
2. Uninstall publican. 
3. Install old publican package. 
4. Test fix.