serhioromano / vscode-gitflow Goto Github PK
View Code? Open in Web Editor NEWGit Flow extension for Visual Studio Code
Home Page: https://marketplace.visualstudio.com/items?itemName=Serhioromano.vscode-gitflow
License: MIT License
Git Flow extension for Visual Studio Code
Home Page: https://marketplace.visualstudio.com/items?itemName=Serhioromano.vscode-gitflow
License: MIT License
The pre-merge-commit
does not seem to be triggered during the Feature - Finish
action.
I am using husky to manage my git hooks. My pre-merge-commit
script is triggered when I do a manual merge from the feature
branch into the develop
branch.
My requirement is to increment the version
(npm --no-git-tag-version version minor
) of the package.json
when I perform the Feature - Finish
action.
Hints and suggestion are well appreciated.
Currently all merges are commited with a standard merge message for bugfixes, hotfixes, features etc.
it would be nice to be able to edit these messages separately for each merge (into develop and into master).
Button in status bar that will trigger Flow Quick Pick command
This extension works fine for me on Windows 10 but not on WSL with Ubuntu 20.04.
I'm not using a Windows mounted folder, I'm working in a project folder under $HOME.
I've installed the git flow extension:
$ sudo apt install git-flow
Opening GitLens Accordian to show GitFlow and it just appears to be stuck loading (progress bar is moving) but it never loads
I've observed the same symptoms on multiple WSL distro installs of Ubuntu.
I can't find an Git Flow log under the Terminal / Output tab to see what's going on so also unable to diagnose.
I saw your instructions for MacOS to configure gitflow.path parameter to /usr/local/bin/git-flow
.
Is something similar required? If so, /usr/local/bin/git-flow
does not exits on the Ubuntu install.
I really appreciate this plugin and rather hopeful I can get it to work on WSL / Ubuntu.
Error executing: "/usr/bin/git" flow log : Error: Command failed: "/usr/bin/git" flow log
git: 'flow' is not a git command. See 'git --help'.
The most similar commands are
reflog show
To use Git Flow extension please install Git flow (AVH).
I use the Git Flow extension daily, but I would really like it to be translated into my language, which is Brazilian Portuguese.
Is there any multilingual support available today? I couldn't find anything about it.
If needed, I can help with the translation demand into my language.
Thanks for the attention and response.
Hello!
Before, thx for great extension!
But)...
Javascript date getMonth() method returns the month in the specified date according to local time. The value returned by getMonth() is an integer between 0 and 11. 0 corresponds to January, 1 to February, and so on.
vscode-gitflow/src/ViewBranches.ts
Line 448 in 0c67c1f
The finish behaviors on this extension are great, but one suggestion is to create VS Code settings for default finish behaviors, in that way when we ask for finish a branch does come already pre-selected.
As a suggestion add option on VS Code extension settings for auto publish a branch on starting a branch, like in features, releases. Maybe create a checkbox for each branch type, so we have more control.
@RaddishIoW, are you a native English? If so, could you go through README.md file and correct it if possible?
If the tag has not yet been published, allow me to delete it. Often you build some versions that you finally do not publish.
I have the folowing error :
Error running command gitflow.switchRepo: command 'gitflow.switchRepo' not found. This is likely caused by the extension that contributes gitflow.switchRepo.
I'm in 1.3.22 version
The summary can be quite long in some cases and it can be difficult to read using the notification window. It would look much nicer to view it in an output window instead. Thanks for the great extension.
gitflow-avh adds git hooks based on feature / bugfixes...:
I personally use it to forbid git flow feature finish
to force the developers to create a PR on Github as recommended here https://stackoverflow.com/a/64436619/2714285
Triggering those hooks from your extension would be really nice to ensure the CI/CD pipe is followed (no merge in develop without a valid PR)
Anyway, thank you for your work!
Hi,
When i start a new feature i ussualy give it a name prefixed with a number. Sourcetree is nice enough to replace the spaces in the branchname i hapen to type with underscores. Since spaces are illegal in branchnames apparantly
Vscode-gitflow does not do this. in fact it just does not create the branch at all without any feedback.
So when i create a branch in vscode-gitflow MYPROJECT-12345_This is a stupid branch
i expect it to be changed to the legal branchname MYPROJECT-12345_This_is_a_stupid_branch
so it can and will be created.
tnx
RDG
Feature request
-m
parameter valueAs is
At the moment a fixed tag message is used and in the dropdown on finishing a branch the -m
option is not available.
If I put there some text, e.g. "Feature release" it is ignored and a fixed message "Finish ..." is generated:
(Did not checked yet what happen if I provide there a -m "My message"
, may be it will accepted?)
In mode off multi-project, it's very long to change of projet.
It will be great to display all project with then différent branches ?
Error executing: "/usr/bin/git" flow release finish -m "Finish Release: 0.1.10" -T "0.1.10" 0.1.10 :
Error: Command failed: "/usr/bin/git" flow release finish -m "Finish Release: 0.1.10" -T "0.1.10" 0.1.10 Fatal:
Branch 'release/Release:' does not exist and is required.
@thiagotognoli I added git flow support to new 0.3.0 release. Please check out. And read README.
I find it hard to spot which branch is current. Right now the label 'current' after the branchname often falls outside the panel with long branchnames.
So is it possible to give the current branch either a different color (green), or an icon in front of the branchname.
tnx
RDG
In a label of feature, the allow caractères are only [a-z] and -.
It shoud be display when you ask for it ?
I've not yet been able to track down exactly what is happening, but I've had some weirdness with the case of the branch folder names and that affecting whether the branch correctly shows in the "GitFlow" panel of the "Source Control" panel.
If the folder name for the features branch I create is "Features/", it shows in this panel, but doesn't appear to be recognised by Git Flow as a Feature branch. If it's set to "features/" then it shows as a Feature branch for Git Flow purposes (and in GitKraken), but doesn't show in the panel.
I'll try and trace where this might be happening...
I'm on macOS Monterey and the latest git version, and "core.ignorecase" is set to false
in the global git config.
If you need any more info, I'd be glad to provide.
It is not clear, how and when the package.json
of a repo will be updated.
Do I'm missing a setting to "activate" this?
Not a git flow command
Need to change to simple checkout
hi,
with git command in terminal when i finish a release or hotfix i can specify the tag name with parameter -T or --tagname
Is possibile with this extension?
thanks
I create a branch prepared for release and was about to release the release and I see that the buttons to the end of the release is not, I released the course through the console but still how to do it through the extension?
What it looks like for me: https://i.imgur.com/vzZgiTA.jpeg
When there is a space un the local directy, the git init failed
PS ....\visual studio Code> cd c:\Users\DXPC9379\visual studio Code\projet
Set-Location : Impossible de trouver un paramètre positionnel acceptant l'argument « studio ».
Au caractère Ligne:1 : 1
+ cd c:\Users\DXPC9379\visual studio Code\projet ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument : (:) [Set-Location], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
PS ....\visual studio Code> git flow init -f
Fatal: Working tree contains unstaged changes. Aborting.
Performance
vscode-gitflow
1.0.1
Darwin x64 21.3.0
1.64.2
Serhioromano.vscode-gitflow-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
First thank you for this great extension!
I have been using your extension with VsCode on my work hours and really enjoying it.
But i like to keep my personal computer free with only OSS software so I prefer to use VsCodium (an OSS fork of VsCode).
The thing is that VsCodium uses OpenVSX as a marketplace (because Microsoft limits the uses of it's marketplace to VsCode only).
So i was wondering if you would be open to make it available on this alternate marketplace.
It is supposed to be pain free but i haven't actually tried it or anything soooo i'm no one to tell.
Here is the documentation on how to proceed if you are interested.
There is also a bot that update the packages nightly.
I'll try to help you in any way i can.
Thank you for your time!
Nice idea
Example here
It would be nice, if possible, to have some kind of progress indication for when the extension is doing something - like finishing a release.
At the moment, there is no indication that anything is happening, apart from maybe noticing the branch change in VS Code.
Hi i;'m trying to make a feature
MYPROJECT-1234_theFeatureName
and then i get an error in saying feature name have to match [a-zA-Z0-9\-\.]*
Why is that?
this name is perfectly legal in sourctree
RDG
This extension currently does not work with "portable" settings scenario: having stand-alone git executables unpacked on path referenced by git.path
in VSCode enables VSC to perform common "native" Git operations as well as most other Git -related extensions.
Not having git
executable in system's "%path%
" currently yields
Command failed: git version 'git' is not recognized as an internal or external command, operable program or batch file.
error and makes this extension fail upon launch.
Sometimes fix#123456
is used to fix a problem, and #1 can help us locate the problem, so this character should not be banned, nor does git itself ban this character
Summary:
I'm encountering an error while using the "GitFlow" extension in Visual Studio Code. When I try to execute the git-flow config list
command, it fails with the following error message:
ERROR: (61ms) [/opt/homebrew/bin/git-flow config list] ERROR: Error: Command failed: /opt/homebrew/bin/git-flow config list
Environment:
Steps to Reproduce:
git-flow config list
command.Expected Behavior:
The git-flow config list
command should execute successfully and display the Git-Flow configuration details.
Actual Behavior:
The command fails to execute, and the error message mentioned above is shown in the output.
Additional Information:
git-flow
binary is correctly set in the extension settings as /opt/homebrew/bin/git-flow
.git-flow
binary is installed and executable in the specified path.Screenshots:
If applicable, please attach any relevant screenshots that might help in understanding the issue.
Additional Context:
I've already tried the following troubleshooting steps:
git-flow
binary is set correctly.git-flow
version.Despite these efforts, the issue persists. I'm unable to use the git-flow
commands through the extension.
Any assistance or insights into resolving this problem would be greatly appreciated.
Just installed version 1.3.11 on VS Code 1.69.2 on my mac 12.5 (Intel).
When I click on Git Flow on the bottom blue bar I get a popup that says: command 'gitflow.quickPick' not found.
How do I fix this?
I do have gitflow installed and use it from the mac terminal all the time. And I have set the gitflow.path in setting.
There are no icons to click when hovering over the features
in the Gitflow view like there are for releases
, hotfix
, ...
Therefore, in order to finish a feature, you have to ctrl-shift-p
+ Git-flow: Feature - finish
.
It's not really a big deal to not have the icons, but they would make the process even easier.
I can't seem to get the extension to work properly under MacOS. The gitflow and versions area are blank and I get an error when I try to refresh either.
Notes:
git flow...
so it seems git-flow is installed correctlyHere is the Git Flow output from VS code:
INFO: (0ms) [activate] Extension activate
INFO: (0ms) [Root] /Users/bpalmint/repos/mdao4grid (project)/mdao4grid
INFO: (0ms) [/usr/bin/git] Git found (path)
INFO: (20ms) ["/usr/bin/git" version] git version 2.37.1 (Apple Git-137.1)
INFO: (22ms) ["/usr/bin/git" status] On branch develop
Your branch is up to date with 'origin/develop'.
nothing to commit, working tree clean
INFO: (60ms) [/opt/homebrew/bin/git-flow version] 0.4.1
ERROR: (53ms) [/opt/homebrew/bin/git-flow config list] ERROR: Error: Command failed: /opt/homebrew/bin/git-flow config list
INFO: (19ms) ["/usr/bin/git" rev-parse --abbrev-ref HEAD] develop
ERROR: (8205ms) [/opt/homebrew/bin/git-flow config list] ERROR: Error: Command failed: /opt/homebrew/bin/git-flow config list
INFO: (26ms) ["/usr/bin/git" rev-parse --abbrev-ref HEAD] develop
Configuration:
MacOS 12.6.1
VSCode v1.74.0
vscode-gitflow v1.3.22
git-flow v0.4.1 (as seen above)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.