davemds / egitu Goto Github PK
View Code? Open in Web Editor NEWPython EFL git interface
License: GNU General Public License v3.0
Python EFL git interface
License: GNU General Public License v3.0
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
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
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.
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
When opening egitu and selecting a repository using the open button and the elm file dialog, the last repo opened will always be opened rather then the repo that was selected by the user
Opening a repo from the recently used list doesn't seem to be effected.
Again pretty minor not a blocking issue
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.
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.
Again i might get to this sometime.
/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)
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
[Prerequisite]
[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.
I might get to this sometime before you, I created a new repo and copied some dir's and files in and egitu only gives the options to add the whole directory's as shown in http://www.enlightenment.org/ss/e-55aaf766495717.65704267.jpg it would be nice if these dirs expanded to let you add files individually
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.