Feature request: Git pull and push buttons on the main kicad window

Bug #1851501 reported by Nimo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

Like lots of people, I now keep my PCBs within GIT repos.
It would be great if the main Kicad launch screen displayed Git push and pull buttons if .git is present in the current directory. An additional log window at the bottom of the screen to display the output would be great as well.

Thanks,
Nick

Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

It might make sense only of you use Git as sort of 'cloud storage' for your project. You can't do any meaningful merges/rebases/pull requests/diffs on any SCH/PCB file, such thing would require writing a PCB-specific VCS which is a large project in itself...

Changed in kicad:
status: New → Opinion
Revision history for this message
Nick Østergaard (nickoe) wrote :

This is really not as simple as it sounds. I think youbare better off writing your own action plugin, you can add icons to the toolbar with this.

 I am afraid implementing this directly in kicad can get messy.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I seem to remember a request for VCS integration already being requested so this is probably a duplicate. @Nick's suggestion of an action plugin is interesting. This would allow users to run any external command from KiCad. I'm not sure if that is something users would be interested in because it means that they are responsible for configuring the actions they care about. Given the effort to configure such actions, it probably would just be easier to run them from a shell.

Revision history for this message
Nimo (nimo-labs) wrote :

@Tomasz I do use it as cloud storage effectively, though the version control and tagging come in very handy as well. Items such as merges/rebases/ pull requests are probably beyond anything that I would like to do with Git and Kicad, however there is already a visual diff program for schematics.

There is alot of information regarding Git and Kicad (including the visual diff tool) here: https://jnavila.github.io/plotkicadsch/ Additionally I maybe wrong, however I believe Github provide a kicad .gitignore by default as well now.

@Nick, I've not come across action plugins? They sound of interest though, especially if you can add icons to the main kicad project screen toolbar. Do you have a link to an example by any chance?

@Wayne, my apologies if it is a duplicate, I must admit I searched for Git and not wider terms such as VCS.

Revision history for this message
Nick Østergaard (nickoe) wrote :

For examlpe ibom https://github.com/openscopeproject/InteractiveHtmlBom

We know there are tricks to make the vcs better for git, hence this is certainly something that is better of as an externsl tool, that can be hooked into pcbnew with the action plugin if you really wish.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/3466

Changed in kicad:
status: Opinion → Expired
Changed in kicad:
importance: Undecided → Unknown
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.