How to auto create Review ID on code commits

36 views
Skip to first unread message

vp

unread,
May 24, 2011, 7:49:30 PM5/24/11
to Jupiter Users Group
Just wanted to rephrase my earlier post which could be confusing.. I
wanted to know how to auto create Review ID (not issues) when a
developer commits code to SVN, add the committed files to Review ID
and assign it to default reviewer(s). Is it possible with Jupiter?

Thanks

Purnank

unread,
May 25, 2011, 1:54:45 AM5/25/11
to jupite...@googlegroups.com

Just my thought!

Jupiter internally always uses files in XML format. Machine readable &
Machine writable.
You may experiment creating a post hook in SVN, that conditionally
updates the Jupiter
XML Files and makes them part of the commit!

Regards,
Purnank

vp

unread,
May 25, 2011, 7:29:05 PM5/25/11
to Jupiter Users Group
Hi Purnank,
That's an excellent idea.. sounds like it should work but I'm not
familiar with SVN post hooks. Can you tell me how do I go about
creating those post hooks? And, would I be able to apply them only to
certain projects and not all the projects in the repo? I'm assuming
that's what you meant by "conditional update" but just wanted to be
sure.

Thanks much,

Vasu


On May 24, 10:54 pm, Purnank <purn...@gmail.com> wrote:

Purnank

unread,
May 25, 2011, 11:56:22 PM5/25/11
to jupite...@googlegroups.com
Hi Vasu,

It is just a matter of SMOP [1]

You may look at investigating svnnotify [2]

Also it would be good to read more at Subversion book:
Repository hooks in general [3]
pre-commit: [4]
post-commit: [5]

[1] http://en.wikipedia.org/wiki/SMOP
[2] http://search.cpan.org/dist/SVN-Notify/bin/svnnotify
[3] http://svnbook.red-bean.com/en/1.5/svn.reposadmin.create.html#svn.reposadmin.create.hooks
[4] http://svnbook.red-bean.com/en/1.5/svn.ref.reposhooks.pre-commit.html
[5] http://svnbook.red-bean.com/en/1.5/svn.ref.reposhooks.post-commit.html

Regards,
Purnank

> --
> You received this message because you are subscribed to the Google Groups "Jupiter Users Group" group.
> To post to this group, send email to jupite...@googlegroups.com.
> To unsubscribe from this group, send email to jupiter-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jupiter-users?hl=en.
>
>

--
~~~~~~~~~~~~~~~~~~~~~~
I started liking it, then it became a hobby.
Soon it became a necessity. Today, I am addict to it.

Reply all
Reply to author
Forward
0 new messages