implementing transactional vcs plugin with openapi

Hi,

Due to lack of openapi documentation (looks like intellij guys don't comment
code for religious reasons) and examples. I want to ask where to get
examples or explanation of usage TransactionProvider and related interfaces
to implement plugin for transactional vcs, like monotone, gnuarch and so on?

VCS api looks too cvs centric and any help is appreciated. To be more
specific I even don't understand how to map AbstractVCS.checkinFile for vcs
which commits/updates project(changeset) as a whole??

Are there any internet resource related to vcs api/openapi usage? I've
browsed www.intellij.org but it not so helpful, as it's more user centric
then developer.

ps to intellij guys: would you publish openapi docs please? Ones which are
shipped with idea are not a docs at all! Such docs can be produced by using
jad + javadoc on plain binaries! The only difference will be luck of @author
vasya tags, which are not so informative for me, as for intellij developers,
who can reach vasya and ask him what he mean under the particular interface!
damn :(

1 comment
Comment actions Permalink

You can have a look at the PerforcePlugin source for an example of a vcs
plugin using transactions. Admittedly that one is documented as well,
however could be better than just open api method names, I guess.

https://p4idea.dev.java.net/

-Dash.

"Nick Evgeniev" <nick@octet.spb.ru> wrote in message
news:c9mp3q$16b$1@is.intellij.net...

Hi,

>

Due to lack of openapi documentation (looks like intellij guys don't

comment

code for religious reasons) and examples. I want to ask where to get
examples or explanation of usage TransactionProvider and related

interfaces

to implement plugin for transactional vcs, like monotone, gnuarch and so

on?
>

VCS api looks too cvs centric and any help is appreciated. To be more
specific I even don't understand how to map AbstractVCS.checkinFile for

vcs

which commits/updates project(changeset) as a whole??

>

Are there any internet resource related to vcs api/openapi usage? I've
browsed www.intellij.org but it not so helpful, as it's more user centric
then developer.

>

ps to intellij guys: would you publish openapi docs please? Ones which are
shipped with idea are not a docs at all! Such docs can be produced by

using

jad + javadoc on plain binaries! The only difference will be luck of

@author

vasya tags, which are not so informative for me, as for intellij

developers,

who can reach vasya and ask him what he mean under the particular

interface!

damn :(

>


0

Please sign in to leave a comment.