-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Linux support #39
Comments
Good question. I've actually never tried to run this on Linux but in theory this should work as long as you have mono installed (which in turn supports nuget). But clearly it doesn't work ;-) I'll dig a bit deeper and report back here, feel free to do the same. |
The project seems to be very interesting. The reason why I can't say exactly is that I use Linux. To tell the truth it is a very strange approach to product vision - the product was developed for developers (who else uses git) however doesn't support Linux (main OS among developers). So, please, implement support for it a little bit faster :) |
The I started an attempt to create a build script for Linux (Debian/buster) here: https://github.com/jkirk/git-xl/tree/linux-support And it seems to do something:
But the tools
How can I proceed from here? I need help. Thank you! |
This is an issue with pyinstaller 3.3.1. Upgrading to 4.2 fixes the issue :). |
Doesn't work. git diff runs ok, it reports a clean diff. No error at all.
|
Does any of the above commenters have been able to create a working package? Could one of the developers point out where they their opinion is on supporting multiple platforms. Seems interesting to work on it in some spare time. |
You may want to have a look at the discussion here: #75 |
As @Navax99 reported, even after installing it on Linux (for example using @watercrossing solution described in #75), it does not detect any difference for any file. The issue seems to come from the underlying library oletools. This line returns an empty list in all my test: https://github.com/xlwings/git-xl/blob/37ce4d3c04a2885b19ac54a731808dd955d5fdb8/src/diff.py#L12 I was not able to find the precise source. It may be related to this oletools issue. |
Would it be accurate to say that making git-xl installable via |
the quoted issue in the previous comment doesn't look like it's a platform-dependent issue, so no, I wouldn't expect this to be a blocker. |
@fzumstein thank you for the quick response. Would you be open to a new PR to follow-up on the work of #75, but use a pyproject.toml file instead of setup.py? |
Yes, but I guess what might make even more sense is to provide git-xl as pre-commit hook: https://pre-commit.com/ |
I see, but would this work on a non-windows system (e.g. Linux)? |
sure, pre-commit isn't platform-dependent |
Apologies for the confusion. I'm confused as to how to set this up on a non-windows machine. I am trying to follow the instructions on the README. Are the following steps correct?
|
Actually, forget pre-commit again, you'll want |
Got it. Yeah I've used pre-commit to enforce linting on my Python packages before but the key feature of this project is the |
@fzumstein Could you say if git-xl can be used on Linux now? |
We currently don't have the resource to look into this, but I don't see any reason why this can't be done nowadays. It's pure python nowadays. |
I just updated my git-xl compiles under Linux (Debian/bookworm), but as far as I can see |
Thank you for this wonderful project.
My setup might be unusual but I run Windows + Excel in Virtualbox on a GNU/Linux Debian/stretch machine. My project folder is a shared folder so I can use all the command line stuff in Linux and work with Excel in the Virtualbox.
It would be fantastic if
git xltrail
was available in Linux too. Currently the setup/installation fails (after cloning) :I tracked it down a bit and it seems to be related to pythonnet/pythonnet#729.
Do you have any idea what to do or how I can help to make this happen?
The text was updated successfully, but these errors were encountered: