branchwp plugin can not use on git

Anonymous avatarAnonymous created an issue

It shows TRACE sonia.scm.branchwp.BranchWPPreReceiveRepositoryHook - git changeset ae486c5f0213b1e59fcb is no repository head and has no branch informations

Comments (17)

  1. Ivan Lam

    Ok. My git repository is build in scm-manager. I install the plugin today. I grant only master to someone(AA) and no other branches. AA push the branch and shows that information in console. I had set the log level to TRACE.

  2. Ivan Lam

    I had tried to write a plugin for owner that can push master branch. I meet the same problem. I have no idea why repository.getBranches() is empty.

  3. Sebastian Sdorra

    Ok, i could reproduce the problem. If you push multiple changesets to multiple branches (with --all), then the branch information is available. But if you are doing a push for only one branch the information is missing. This is not a problem of the plugin, this is an issue in scm-manager. I will try to fix this.

  4. Ivan Lam

    I think my plugin is more easy to use. My plugin just set enable or not. If set enable and owner can push master. Others can not push master but branch can. Can I put my plugin to dcm-manager?

  5. Sebastian Sdorra

    Had you time to test the branchwp plugin with the scm-webapp-2012082901.war version?

    The plugin center is not really open at the moment. Other developers could develop plugin for scm-manager, but i'm the only one who can publish plugins to the plugin center. This is for security reasons. Your plugin must be accessible through a public repository, because i've to look at your code and to check if the code is safe to use.

    You could create a public repository at bitbucket, it is very easy and it is free. Have a look at

  6. Ivan Lam

    I had test your branchwp plugin and my plugin, both of them are work in you war version. I hope to create a repository at Github. Is that ok?

  7. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.