Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
GitBlocks Plugin
tomolt:
Hey, folks!
I'm currently working on a new git plugin for Code::Blocks! :)
The only git plugin I found was cbvcs, but it's outdated and lacks some features, so I started my own! ;)
GitBlocks is an easy-to-use and small git plugin for Code::Blocks.
So far it features:
- Creating a new git working repository
- Cloning an existing repository
- Deleting the working directory's .git folder
- Commiting individual files
- Commiting the whole project
- Pushing to origin (login & password already supported)
- Pulling from origin (login & password already supported)
- Fetching from origin (login & password already supported)
- Removing files
- Adding a new branch
- Switching between branches
- Showing a diff (working directory <> index only at the moment)
- Showing a commit log
- Showing git's status
Still to do:
- Branching
- Moving files
- Adding keyboard shortcuts
- Managing Tags
- Documenting the code ...
GitHub repository: https://github.com/tomolt/GitBlocks
NOTE: GitBlocks SHOULD work on Windows, but I'm currently not able to test it!
Changelog:
Version 0.7.4:
- Cloning an existing repository asks now for opening a *.cbp / *.workspace file in it
- You can now clone password-protected repositories
- Some internal changes (like ExecuteInTerminal(...) etc.)
- Fixed some stuff again ...
Version 0.7.3:
- Added removing files
- Fixed some potential bugs ...
Version 0.7.0:
- Added 'Add new branch'
- Added 'Switch to branch'
- 'Push to origin' pushes now HEAD instead of master
- Removed config (was pretty useless)
- Structurized to code a bit more
Version 0.6.4:
- Switched to autotools as default build system
- Fixed the UI layout
Version 0.4.3:
...
Feel free to tell me about your opinions and suggestions below! :D
ollydbg:
Hello, tomolt, I see this is your first post in our forum, welcome!
You did a good job!!! Keep going, and ask questions about C::B here if you need some help. ;)
--- Quote ---- Better build system (maybe CMake)
--- End quote ---
The current method we use is to supply two cbp files, one for Windows and the other one for Linux.
tomolt:
--- Quote ---Hello, tomolt, I see this is your first post in our forum, welcome!
You did a good job!!! Keep going, and ask questions about C::B here if you need some help.
--- End quote ---
Thanks, ollydbg, but I'm not exactly new to C::B, only the forum (I'm using C::B for about one year now!). ;)
--- Quote ---The current method we use is to supply two cbp files, one for Windows and the other one for Linux.
--- End quote ---
I wasn't exactly sure how to set the build system up anyways, CMake was just the first good system that came into my mind. :)
oBFusCATed:
For non-integrated in the tree plugins I use autotools and codeblocks projects.
You can see an example here https://github.com/obfuscated/cb_gdbmi
tomolt:
I'm not too keen on autotools, so I will probably go with codeblocks projects! :)
Navigation
[0] Message Index
[#] Next page
Go to full version