On Thu, Jan 20, 2011 at 11:52 PM, Francisc Simon
<francisc.si...@evalgo.com>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
> Hi @all,
>
> i probably ask a question that was already asked before but i can not
> figure out from the tickets/mailing-list cache if this was already
> solved or not.
>
> Is there a way to hook into push/sync/commit commands ?
>

There is a branch in the source tree that attempts to do this.  See, for
example

    http://www.fossil-scm.org/fossil/timeline?r=StvPrivateHook2+

And especially

    http://www.fossil-scm.org/fossil/ci/ba5e03444b

But I did not accept that branch onto the trunk.  I want to do the "hooks"
via a different mechanism.  But in order to implement this different
mechanism, I need example C code for launching a background process in
windows that is not associated with an console.  Doing that is easy in Unix,
but I'm not sure how to do it in windows.

This background process would be responsible for waiting until the push/pull
finished and then running whatever hooks are required.



>
> reason: i need a hook that i can run the unit tests for my projects i
> use the check unit test framework and it has a nice feature it produces
> XML based logfiles of the tests running. This files can be displayed so
> i do not need to install a continous integration server :-)
> It would be nice to have a hook because i'm not a very big fan of cron
> jobs... :-)
>
> Thx for help!
>
> Regards
> Frank
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iF4EAREIAAYFAk05EPAACgkQPKy7P5mnYdlZBwD9HgczgCOeIOfkmOAtUdAw5KEY
> +RxvpjBYPGJgN5/t/qsBAI88VZhhgB87ouhpxBu6SKrV4FudV0qFWVzMsbxs/us4
> =jwW6
> -----END PGP SIGNATURE-----
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to