Giter Site home page Giter Site logo

egitu's Issues

Feature request: load subfolder

Hi,

I'm pretty happy I can load my repos in your pretty viewer again.
I notice one feature that I am missing from gitk
I cannot load the git history for a file or a single folder.

I'd like to be able to do egitu src/views/drawer.cpp for example, and have only the history for that path.

Thanks

Egitu will not start.

Failing to run on EFL 1.18 & pyton-efl from git.
$ egitu
Traceback (most recent call last):
File "/usr/bin/egitu", line 6, in
sys.exit(main())
File "/usr/lib/python3.5/site-packages/egitu/egitu.py", line 283, in main
app = EgituApp(sys.argv[1:])
File "/usr/lib/python3.5/site-packages/egitu/egitu.py", line 48, in init
self.win.populate()
File "/usr/lib/python3.5/site-packages/egitu/gui.py", line 492, in populate
bt = MainMenuButton(self.app)
File "/usr/lib/python3.5/site-packages/egitu/gui.py", line 283, in init
content=Icon(app.win, standard='home'))
File "efl/elementary/icon.pxi", line 38, in efl.elementary.init.Icon.init (efl/elementary/init.c:156140)
File "efl.evas_object.pxi", line 209, in efl.evas.Object._set_properties_from_keyword_args (efl/evas/efl.evas.c:51748)
File "efl.eo.pyx", line 276, in efl.eo.Eo._set_properties_from_keyword_args (efl/eo/efl.eo.c:3446)
File "efl/elementary/icon.pxi", line 109, in efl.elementary.init.Icon.standard.set (efl/elementary/init.c:156737)
RuntimeWarning: Setting standard icon failed

Python 3.4 and theme location

It seems that there is a packaging problem.
Here is what happens when running egitu with python 3.4
I use python-efl-9999 on gentoo.

 $ egitu
Traceback (most recent call last):
  File "/usr/bin/egitu", line 6, in <module>
    sys.exit(main())
  File "/usr/lib64/python3.4/site-packages/egitu/egitu.py", line 283, in main
    app = EgituApp(sys.argv[1:])
  File "/usr/lib64/python3.4/site-packages/egitu/egitu.py", line 48, in __init__
    self.win.populate()
  File "/usr/lib64/python3.4/site-packages/egitu/gui.py", line 510, in populate
    content=SafeIcon(self, 'git-branch'))
  File "/usr/lib64/python3.4/site-packages/egitu/utils.py", line 266, in __init__
    self.file = (theme_file_get(), 'elm/icon/%s/default' % icon_name)
  File "efl/elementary/image.pxi", line 124, in efl.elementary.__init__.Image.file.__set__ (efl/elementary/__init__.c:160089)
RuntimeError: Could not set file.

need to add python-xdg in list of dependencies

Egitu will crash if you don't have python-xdg package installed

Traceback (most recent call last):
  File "/usr/local/bin/egitu", line 4, in <module>
    from egitu.egitu import main
  File "/usr/local/lib/python2.7/dist-packages/egitu/egitu.py", line 29, in <module>
    from egitu.utils import options, config_path, theme_file_get, KeyBindings
  File "/usr/local/lib/python2.7/dist-packages/egitu/utils.py", line 28, in <module>
    from xdg.BaseDirectory import xdg_config_home, xdg_cache_home
ImportError: No module named xdg.BaseDirectory

sudo apt install python-xdg solves it, but I think setup.py should report it

Handle login credentials for remote server.

The ability to login to github, etc. when working with the remote repo.
This could be set via a settings dialog or with a popup when performing a push to the remote server.

Filelist is no longer updated

The list of files doesn't seem to be refreshed anymore after any changes or selecting different commits, if this is a elm / python-elm issue feel free to subscribe me to the report on phab.

Crash on startup

/home/simon is obviously my home directory and not a git repo, why it decided to load that at startup i'm not sure, but egitu is failing to load because of this.

Trying to load a repo from: /home/simon ERROR: Cannot find a repo at: "/home/simon" Traceback (most recent call last): File "/usr/bin/egitu", line 6, in <module> sys.exit(main()) File "/usr/lib/python2.7/site-packages/egitu/egitu.py", line 283, in main app = EgituApp(sys.argv[1:]) File "/usr/lib/python2.7/site-packages/egitu/egitu.py", line 67, in __init__ RepoSelector(self) File "/usr/lib/python2.7/site-packages/egitu/gui.py", line 65, in __init__ self.part_content_set('title,icon', Icon(self, standard='egitu')) File "efl/elementary/icon.pxi", line 38, in efl.elementary.__init__.Icon.__init__ (efl/elementary/__init__.c:154226) File "efl/evas/efl.evas_object.pxi", line 209, in efl.evas.Object._set_properties_from_keyword_args (efl/evas/efl.evas.c:51771) File "efl/eo/efl.eo.pyx", line 273, in efl.eo.Eo._set_properties_from_keyword_args (efl/eo/efl.eo.c:3311) File "efl/elementary/icon.pxi", line 109, in efl.elementary.__init__.Icon.standard.__set__ (efl/elementary/__init__.c:154823)

undefined symbol: eina_strbuf_replace_last

Running on *buntu 21.10

$ dpkg -l | egrep  '(eina|edje)'
ii  libeina-bin                                   1.25.1-1build1                              amd64        EFL optimized data types - extra tools
ii  libeina1a:amd64                               1.25.1-1build1                              amd64        EFL optimized data types

ii  libedje-bin                                   1.25.1-1build1                              amd64        EFL layout and animation tools - utilities
ii  libedje1:amd64                                1.25.1-1build1                              amd64        EFL layout and animation tools
$ pip list | grep efl
python-efl               1.25.0
$ /home/mathieu/.local/bin/egitu
Traceback (most recent call last):
  File "/home/mathieu/.local/bin/egitu", line 4, in <module>
    from egitu.egitu import main
  File "/home/mathieu/.local/lib/python3.9/site-packages/egitu/egitu.py", line 26, in <module>
    from efl import elementary as elm
ImportError: /lib/x86_64-linux-gnu/libedje.so.1: undefined symbol: eina_strbuf_replace_last

anything that I can do to run egitu again ?

Thanks

egitu crash on start-up

[Prerequisite]

  • python 2.7
  • using up-to-date python-efl binding

[Backtrace]
$ egitu .
Traceback (most recent call last):
File "/usr/local/bin/egitu", line 4, in
from egitu.egitu import main
File "/usr/local/lib/python2.7/dist-packages/egitu/egitu.py", line 28, in
from efl.elementary.entry import utf8_to_markup
File "efl/elementary/entry.pyx", line 1, in init efl.elementary.entry (efl/elementary/entry.c:23866)
File "efl/elementary/layout_class.pyx", line 1, in init efl.elementary.layout_class (efl/elementary/layout_class.c:10969)
File "efl/elementary/object.pyx", line 1984, in init efl.elementary.object (efl/elementary/object.c:24886)
File "efl/eo/efl.eo.pyx", line 102, in efl.eo._object_mapping_register (efl/eo/efl.eo.c:1459)
ValueError: Object type name 'Elm_Widget' already registered.

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.