<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi Jakub,<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Thanks. That's good idea. Here it is: <a href="https://github.com/dvsl/ovirt-engine-dev-scripts">https://github.com/dvsl/ovirt-engine-dev-scripts</a><br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Shmuel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 23, 2015 at 4:31 PM, Jakub Niedermertl <span dir="ltr"><<a href="mailto:jniederm@redhat.com" target="_blank">jniederm@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Shmuel,<br>
<br>
it looks great. How about sharing it via GitHub (or similar service) so as it can be easily bookmarked, browsed, ...<br>
Here are mine <a href="https://github.com/jniederm/ovirt-aux-scripts" rel="noreferrer" target="_blank">https://github.com/jniederm/ovirt-aux-scripts</a><br>
<br>
Jakub<br>
<div><div class="h5"><br>
----- Original Message -----<br>
> From: "Shmuel Melamud" <<a href="mailto:smelamud@redhat.com">smelamud@redhat.com</a>><br>
> To: "devel" <<a href="mailto:devel@ovirt.org">devel@ovirt.org</a>><br>
> Sent: Monday, November 23, 2015 2:22:36 PM<br>
> Subject: [ovirt-devel] Scripts for Engine development<br>
><br>
> Hi!<br>
><br>
> These are scripts that I'm using for development. Maybe they will save your<br>
> time or at least will be helpful for newbies. Please, let me know if you<br>
> find something useful.<br>
><br>
> They assume the following setup: there is a directory for the Engine (set by<br>
> ENGINE_ROOT conf var). Subdirectories under it correspond to revisions<br>
> (master, 3.6, 3.5 etc.). You can freely add suffixes (e.g. 3.6-upgr). There<br>
> is always a current revision you're working on and ~/bin/engine-bin is set<br>
> to the corresponding bin/ directory. I've added ~/bin/engine-bin to PATH and<br>
> now if I run, for example, engine-setup, it runs engine-setup of the<br>
> revision I need currently.<br>
><br>
> Config file:<br>
><br>
> engine-scripts-conf - review it shortly just in case you need to change<br>
> something to fit your setup<br>
><br>
> Scripts:<br>
><br>
> engine - run the Engine<br>
> engine-autosetup - run engine-setup (taking into account additional options<br>
> that should be passed for 3.5, for example)<br>
> engine-build - build the Engine (this script has many options)<br>
> engine-dao-tests - run DAO tests<br>
> engine-gwt-debug - run the frontend in GWT debugging mode (there are also<br>
> several options in engine-build for GWT debugging)<br>
> engine-root - print current Engine root directory name<br>
> engine-setrevision - set or print the current revision<br>
><br>
> And one script for VDSM - it should be run on a host:<br>
><br>
> vdsm-deploy - removes old VDSM rpms, builds and installs the new ones,<br>
> puts ssl=false into vdsm.conf and restarts VDSM. If restart fails, runs<br>
> vdsm-tool configure --force and tries to start again. Maybe some of these<br>
> operations are redundant, but at the end I always get working VDSM ;)<br>
><br>
> vdsm-fix-firewall - fixes /etc/sysconfig/iptables to open non-TLS libvirtd<br>
> port. It is run automatically from vdsm-deploy, but may be run separately.<br>
><br>
> Shmuel<br>
><br>
</div></div>> _______________________________________________<br>
> Devel mailing list<br>
> <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
</blockquote></div><br></div>