•  
      request #2997 Need a list of all commands sent to Gerrit
    Infos
    #2997
    Patrick Renaud (patrick.renaud)
    2013-05-07 19:10
    2013-04-03 18:41
    1889
    Details
    Need a list of all commands sent to Gerrit
    In order to complete the certification of the Tuleap integration with Gerrit I would need the detailled list of each command and options sent to the Gerrit server by Tuleap via the ssh-cli.

    Also, I would need to know where to find the corresponding source code in Tuleap that produces these commands.
    SCM/Gerrit
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Domenico Alessi (domale)
    Stage
    Yannis ROSSETTO (rossettoy)
    Closed
    2013-04-10
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    • Category changed from SCM/Git to SCM/Gerrit
    • Is an Enhancement or an internal improvement? set to
    User avatar
    • Status changed from New to Closed
    • Assigned to changed from None to Yannis ROSSETTO (rossettoy)
    • Close date set to 2013-04-10
    • Platform set to
    User avatar
    Yes, this issue can be closed now, thank you. I now have the information I requested. If anything I may raise additional issues in the future if needed.
    User avatar
    Hello,

    We use some commands in Gerrit through the ssh-cli. We have :

    * gerrit gsql --format json -c THE_GSQL_REQUEST
    * gerrit create-project PROJECT_NAME --parent PARENT_PROJECT_NAME
    * gerrit create-project --permissions-only PROJECT_NAME --owner ADMIN_GROUP_NAME
    * gerrit ls-projects --type PERMISSIONS
    * gerrit create-group GROUP_NAME
    * gerrit ls-groups
    * gerrit set-account USER_LDAP_ID
    * gerrit flush-caches

    Words in uppercase represent values for commands' options.

    All these commands are defined in : plugins/git/include/Git/Driver/Gerrit.class.php

    • Status set to New