GithubHelp home page GithubHelp logo

mike-perdide / gitbuster Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 0.0 916 KB

PyQt4 frontend for git filter-branch/git cherry-pick.

License: GNU General Public License v3.0

Shell 3.42% Python 85.82% C++ 10.54% Prolog 0.22%

gitbuster's People

Contributors

feth 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

Watchers

 avatar  avatar  avatar  avatar  avatar

gitbuster's Issues

unicode error when resolving conflicts with text edition

When using Adding the file with a custom content, if you put some non-ascii character in the 'Unmerged state' text dialog, the following error raises into the prompt :

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gitbuster-0.9b4-py2.7.egg/gitbuster/conflicts_dialog.py", line 121, in item_clicked
self.set_choice()
File "/usr/local/lib/python2.7/dist-packages/gitbuster-0.9b4-py2.7.egg/gitbuster/conflicts_dialog.py", line 105, in set_choice
custom_content = str(self._ui.conflictTextEdit.toPlainText())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 9: ordinal not in range(128)

Fix QTimer message

When closing gitbuster, the following is displayed : "QTimer can only be used with threads started with QThread".

We should avoid using populate()

Instead of populating, which implies reading all the repository, we should try to have a lazy data() method, that only reads the repository when requested. Iter_commits should be used instead. This creates a few problems: how to obtain row_count ? how to insert a commit ?

Recent/favorite repositories

this would make the UI sexy : when starting gitbuster, I would like to be presented with a dialog that remembers the repositories I usely work on, just like chromium does with my most visited sites.

Disable deletion of deleted commits.

Deleting a deleted commit creates a new event and asks the EditableGitModel to delete the commit again. This isn't really critical, as the only effect is that the commit is only added one more time to self._deleted_commits. The real problem is that this creates a new event in the history, and undoing it won't have any effect.

The conflict dialog should detect the merge tags

The conflict dialog should prevent the user from writing "======" and "<<<<< HEAD" in a file. This could be done at the same time we colorize these tags (we don't want to prevent the user from writing what he want in the file, so matching HTML color tags could be an idea).

right clic actions

I wish I could copy commits or delete them on a right clic.
Or add a commit to the selection. Or add commits in the copy paste buffer before/after the commit I'm right clicking on.

refresh repository

I wish gitbuster would

  1. as proof of concept : allow for refreshing repository, detect when changes on the disk make gitbuster state inconsistent (and refuse to handle)
  2. reload automatically, whenever possible, if anything changes in the repository (eg. I made a git pull --rebase manually).

Show commits about to be deleted

There must be a way for the user to figure out where he did something, like deleting commits.
I suggest keeping them in the branch view, but in italics and strikethrough.

When a new *invalid* branch name is set, a new history event is created

It shouldn't be created, or it should be cancelled. This could be done by validating before setting the new name (as gfbi_core is supposed to handle the validation) or by adding a new cancel_history_event especially for this case (in QEditableGitModel and gfbi_core.editable_git_model).

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.