Skip to content

Add support for gerrit #409

Description

@nbarbey

Would it be possible to add an option to push the temporary branch to a gerrit server ?
This would require to be able to push to gerrit "magic" refs/for/ instead of refs/heads
For now when I try to use mob with a gerrit server I get this error :

ERROR remote: error: branch refs/heads/mob-session:
ERROR remote: Push to refs/for/mob-session to create a review, or get 'Push' rights to update the branch.
ERROR remote: User: nicolas.barbey
ERROR remote: Contact an administrator to fix the permissions
remote: Processing changes: refs: 1, done  
ERROR To ssh://review.***.ci:29418/***
ERROR ! [remote rejected]         mob-session -> mob-session (prohibited by Gerrit: not permitted: update)
ERROR error: impossible de pousser des références vers 'ssh://review.***:29418/**'
ERROR exit status 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions