Giter VIP home page Giter VIP logo

git_history's Introduction

An application for browsing git commit history, using this as a reference guide: http://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History

UI created using PyQt.

The application has the following facilities:

  • UI to navigate to a directory
  • A tree to load each comment as a treeview or treewidget item
  • Allow for some searching capabilities based on time period or revisions.

Alt test

Files in the application:

  • git_log_ui.ui - The .ui file generated as the output of Qt Designer
  • git_log_ui.py - The ui file converted to python
  • git_log.py - The file with the main implementation. This inherits the ui file.

How to run the application:

Make sure all the above files are in the same directory and Pyqt4 is installed. The application can be run using the command:

python git_log.py

Application Layout:

The application containst the following fields/widgets. You can hover the mouse over each field in the app UI to learn more about its functionality.

  1. Select File or Directory
  2. Display the path of selected file or directory
  3. Search based on timeline
  4. Seach using revision(s)
  5. Tree widget to display the history logs
  6. Error box (read only)
  7. Reset all fields
  8. Quit

How to use the application:

  1. From the drop down menu, select if you want to view the history of a file or a directory. Then, select the desire file/directory. The path of the selected file/directory will be displayed in a text box on the top.
  • Select files/directory from a git repository. If you select files which are not in a git repo, an error will be shown.
  • The other fields are enabled only after a file/directory is chosen!
  1. You can either select the timeline from the drop down menu or type the revisions(comma separated) in the text box. The search for history will be made for this time line or for these revisions.

  2. The result will be displayed in the tree widget. The items in the tree will be comments and its respective logs will be displayed under it.

  3. Errors, if any, will be displayed in the error box.

  4. You can continue using the application even if you encounter an error.

  5. Use "Reset All Fields" button to start fresh.

  6. Use the "Quit" button to exit the app.

git_history's People

Contributors

arjunagi avatar

Watchers

 avatar  avatar  avatar

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.