Yaniv Dary has posted comments on this change.

Change subject: packaging: setup: move build config to proper place as well
......................................................................


Patch Set 11:

(5 comments)

http://gerrit.ovirt.org/#/c/23617/11/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.py
File 
packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.py:

Line 511
Line 512
Line 513
Line 514
Line 515
> do above in else
Done


Line 509:         if os.path.exists(
Line 510:             
oreportscons.FileLocations.LEGACY_OVIRT_ENGINE_REPORTS_JASPER_WAR,
Line 511:         ) and not os.path.exists(
Line 512:             
oreportscons.FileLocations.OVIRT_ENGINE_REPORTS_JASPER_WAR,
Line 513:         ):
> :)
Done
Line 514:             self.logger.info(_('Copying old war to new location'))
Line 515:             shutil.copytree(
Line 516:                 
oreportscons.FileLocations.LEGACY_OVIRT_ENGINE_REPORTS_JASPER_WAR,
Line 517:                 
oreportscons.FileLocations.OVIRT_ENGINE_REPORTS_JASPER_WAR,


Line 515:             shutil.copytree(
Line 516:                 
oreportscons.FileLocations.LEGACY_OVIRT_ENGINE_REPORTS_JASPER_WAR,
Line 517:                 
oreportscons.FileLocations.OVIRT_ENGINE_REPORTS_JASPER_WAR,
Line 518:                 symlinks=True,
Line 519:             )
> do not copy tree as not required as far as I understand only copy quartz fi
Done
Line 520: 
Line 521:             self.logger.info(_('Regenerating build conf files'))
Line 522: 
Line 523:             rc, stdout, stderr = self.execute(


Line 519:             )
Line 520: 
Line 521:             self.logger.info(_('Regenerating build conf files'))
Line 522: 
Line 523:             rc, stdout, stderr = self.execute(
> you need the umask statements
Done
Line 524:                 args=(
Line 525:                     './js-ant',
Line 526:                     '-DmasterPropsSource=%s' % config,
Line 527:                     'gen-config',


Line 880:                 'build-conf',
Line 881:             ),
Line 882:         ):
Line 883:             if os.path.exists(d):
Line 884:                 self.logger.info(_('Removing folder: %s', d))
> this should not be info, is not interesting to user.
Done
Line 885:                 shutil.rmtree(d)
Line 886: 
Line 887:     @plugin.event(
Line 888:         stage=plugin.Stages.STAGE_CLEANUP,


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I39a384db8bc93dd0a5c0a0fe43e2c59e8e474a97
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Yaniv Dary <yd...@redhat.com>
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to