Comments (8)
Thanks for the heads up!
from gitflow4idea.
Had the same problem and after some fiddling around got it working, or at least it compiles and I am able to load the plugin and see the gitflow in main screen. Main changes are the plugin idea-version and the GitUIUtil.notifySuccess does not exist anymore use GitUIUtil.notifyMessage instead and add two extra parameters. I had a bit of difficulties getting the project to build, isn't it possible to mavenize the project
from gitflow4idea.
I came across the same issue - looks like GitUIUtil was updated in this build. The xml change is a given.
Some work is needed to both fix the issue of this version as well as make it compatible for the previous ones.
I know @avogler is looking into it, we can use this thread for discussion on solutions\progress.
from gitflow4idea.
True, I've created a feature branch is which I made the changes needed to get it working and the resulting plugin is now installed and seams to be working fine. The part where I am not sure is in TrackReleaseAction
-
new Notification(GitVcs.IMPORTANT_ERROR_NOTIFICATION.getDisplayId(), "Error", "No remote branches", NotificationType.ERROR).notify(myProject);
-
GitUIUtil.notifyImportantError(myProject,"Error","No remote branches");
Date: Tue, 25 Mar 2014 13:35:57 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [gitflow4idea] IDEA 13.1 (#31)
I came across the same issue - looks like GitUIUtil was updated in this build. The xml change is a given.
Some work is needed to both fix the issue of this version as well as make it compatible for the previous ones.
I know @avogler is looking into it, we can use this thread for discussion on solutions\progress.
—
Reply to this email directly or view it on GitHub.
from gitflow4idea.
I got it working for 13.1 but my solution isn't backward compatible. Did you find a way that works both in 12.x and 13.1?
from gitflow4idea.
Here's the culprit:
JetBrains/intellij-community@d6528d3#diff-fbc57e5534fd96ea8d61d2eb83c0386a
@NadyaZabrodina refactored the GitGuiUtil class to use VcsNotifier.
I'll try to see if we can use that instead of GitGuiUtil. Hopefully that's backwards compatible.
from gitflow4idea.
Unfortunately VcsNotifier is not available in older versions, that was what I tried to use.We could decouple gitflow4idea from git4idea here and replicate the functionality of VcsNotifier within gitflow4idea but thats rather ugly.
from gitflow4idea.
Hmmm... damn
This means that in order to preserve backwards compatibility, we'll have to use reflection to poll the git4idea interface for the right signature.
Maybe instead of replicating VcsNotifier we can write a utility class for notifications that does this for us , and use that as middleware for invoking notifications.
Something along the lines of
http://stackoverflow.com/questions/7058621/how-to-check-if-a-method-exists-at-runtime-in-java
from gitflow4idea.
Related Issues (20)
- Reading Git repository information should not be done on the EDT HOT 2
- Do not call synchronous repository update in EDT HOT 1
- Unsupported Git Flow Version HOT 11
- Unsupported Git Flow Version for 1.12.3 (AVH Edition) HOT 9
- IDE Fatal Errors HOT 2
- Assertion failed: dataContext has no component for new ListPopupStep HOT 1
- 2021.2 Compatibility HOT 6
- After updating WebStorm to version 2021.2, the plugin broke HOT 2
- Exception: cannot share data context between Swing events HOT 7
- Please update for last IDE version. HOT 1
- IDE Fatal Error on Init Repo HOT 3
- Null Pointer when finishing branch: "branch was merged into null" HOT 1
- Gitflow repository initialization stucks HOT 1
- Execute command on all repos in "Open task" widget
- Access from event dispatch thread is not allowed.
- 2021.3 Compatibility HOT 29
- java.lang.Throwable: Assertion failed: dataContext has no component for new ListPopupStep
- Contributors
- Can we support IntelliJ IDEA 2022.1.1 HOT 1
- Unsupported git flow version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitflow4idea.