Coder Social home page Coder Social logo

jira-git-plugin's Introduction

Hi there ๐Ÿ‘‹

jira-git-plugin's People

Contributors

foreveremain avatar mteodori avatar opperpanter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jira-git-plugin's Issues

Indexing stops for almost all repositories

Hello,

I am noticing that almost for every git repository configured in jira, after a while the indexing stops. The repository is deactivated. I can press Activate to get it working again, but after a while it stops working again.
Probably there are some exceptions during the indexing, I will report what I find in the logs.

Do you want the exceptions grouped into this one issue, or a seperate issue for each type of exception?

Valentijn

Exception with first commit on an empty repo

It seems that we got an exception when the first commit add some Jira reference in message.
As this is the first commit, there is no parent commit, it seems to raise an exception when gitweb view is activated ...

trace:

2012-06-27 23:01:51,140 http-8080-11 ERROR admin 1381x3999x1 1mw7kdq 192.168.1.50,127.0.0.1 /browse/TEST [velocity] Method getChangePathLink threw exception for reference $commit in template templates/plugins/git/projecttabpanels/git-project-tab.vm at [128,29]
2012-06-27 23:01:51,140 http-8080-11 ERROR admin 1381x3999x1 1mw7kdq 192.168.1.50,127.0.0.1 /browse/TEST [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.ArrayIndexOutOfBoundsException: 0
java.lang.ArrayIndexOutOfBoundsException: 0
at org.eclipse.jgit.revwalk.RevCommit.getParent(RevCommit.java:285)
at com.xiplink.jira.git.linkrenderer.LinkFormatRenderer.getChangePathLink(LinkFormatRenderer.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:234)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.Template.merge(Template.java:256)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56)
at com.atlassian.jira.plugin.AbstractJiraModuleDescriptor.getHtml(AbstractJiraModuleDescriptor.java:109)
at com.xiplink.jira.git.projecttabpanels.GitProjectTabPanel.getHtml(GitProjectTabPanel.java:130)
at com.atlassian.jira.web.action.browser.BrowseProject.getTabHtml(BrowseProject.java:275)
at com.atlassian.jira.web.action.browser.BrowseProject.getTabHtmlForJSON(BrowseProject.java:244)
at sun.reflect.GeneratedMethodAccessor773.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
at webwork.util.ValueStack.findValue(ValueStack.java:414)

CopyBundledDependenciesMojo not found building the master branch

Hi,
I tried to build the master branch with both maven standalone and the one bundled with atlassian plugin SDK but I got the following error:

[INFO] Internal error in the plugin manager executing goal 'com.atlassian.maven.plugins:maven-jira-plugin:3.9.3:copy-bundled-dependencies': Unable to load the mojo 'com.atlassian.maven.plugins:maven-jira-plugin:3.9.3:copy-bundled-dependencies' in the plugin 'com.atlassian.maven.plugins:maven-jira-plugin'. A required class is missing: com/atlassian/maven/plugins/amps/CopyBundledDependenciesMojo
com.atlassian.maven.plugins.amps.CopyBundledDependenciesMojo

Any idea to solve the problem?

Thanks,
Andrea

JIRA 6.x compatiblity

It would be nice to get this to work with JIRA 6.x

We managed to connect to our gitlab server but the output is not pretty.

Authorization problem via HTTPS

Hi,
I'm using RhodeCode as my git server accessible only via HTTPS . Commits in JIRA (5.2.11) are displayed correctly when repo is public (does not require authentication). However, when the repo is protected I always got not authorized exception. Storing credentials either in _netrc (on windows) or in .git/config works with other git clients (eg TortoiseGit) but JGIT from jira-git-plugin throws exception when trying to access repo.

2013-07-22 10:14:22,429 http-bio-8080-exec-15 WARN testuser 614x2091x1 38ouru 192.168.169.13 /browse/DEMO-4 [xiplink.jira.git.GitManagerImpl]
org.eclipse.jgit.errors.TransportException: https://MyRepoURL/test: not authorized
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:373)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:203)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:125)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:904)
at com.xiplink.jira.git.GitManagerImpl.fetch(GitManagerImpl.java:455)
...

Links not being rendered correctly

git_commit_plugin_error
I am using Jira 6.0.5 with the 0.6.1 plug in and everything was working up until recently. It appears that the gitweb links are not being rendered correctly in the Git Commits tab. Please see attached for what we are seeing now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.