Alon Bar-Lev has posted comments on this change.

Change subject: packaging: creating a version file for fetching product version
......................................................................


Patch Set 2: (2 inline comments)

Thanks!

....................................................
File Makefile
Line 409:       # USB filter:
Line 410:       install -m 644 frontend/usbfilter.txt 
$(DESTDIR)$(PKG_SYSCONF_DIR)
Line 411: 
Line 412:       # Create a version file
Line 413:       echo -n $(RPM_VERSION) > $(DESTDIR)$(PKG_SYSCONF_DIR)/version
I think this should go to /usr/share as it is not user editable.
Line 414: 
Line 415: install_jboss_modules:
Line 416:       @echo "*** Deploying JBoss modules"
Line 417: 


....................................................
File packaging/fedora/setup/common_utils.py
Line 1334: 
Line 1335: def getEngineVersion():
Line 1336:     # Just read the info from the file
Line 1337:     with open(basedefs.FILE_ENGINE_VERSION) as version:
Line 1338:         return version.readlines()[0]
readline().rstrip('\n')?
Line 1339: 
Line 1340: def installed(rpm):
Line 1341:     try:
Line 1342:         getRpmVersion(rpmName=rpm)


--
To view, visit http://gerrit.ovirt.org/11383
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I479668e0d82007d283743f732067d58c73d1ea15
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Moran Goldboim <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Ohad Basan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to