Git Product home page Git Product logo

Comments (6)

bilelmoussaoui avatar bilelmoussaoui commented on June 25, 2024 1

I will create a beta branch where you can push your code right now 👍

from nautilus-git.

bilelmoussaoui avatar bilelmoussaoui commented on June 25, 2024 1

Thanks again @slgobinath, i'm going to close this as your PR is already on the beta branch, which helpfully will land on master this weekend/next week!

from nautilus-git.

bilelmoussaoui avatar bilelmoussaoui commented on June 25, 2024

Hey,
Thanks for your kind words! Yeah, i would love to support nemo even if i don't use it at all....
I think the best way to deal with that is to keep it in the same directory. Just rename the git.py to nautilus-git & add a nemo-git.py
Sadly, the nautilusPython extension does not allow to import files from either site-packages or whatever you want :p unless you use imp.load_source :/

I will figure out something later to avoid replicating the same code for both file manager.
Also, this will require some modifications to the meson build system to make it configurable with an option (see meson_options.txt) with a flag like --fm=nemo or --fm=nautilus in order to avoid installing both versions for users who wants uses one of the two file managers

from nautilus-git.

slgobinath avatar slgobinath commented on June 25, 2024

It's nice to hear that.
I didn't use meson to build the extension. Instead, I manually copy and pasted the git.py into

/usr/share/nemo-python/extensions/

nemo-python is required for Nemo.
I'll send you the PR soon with the changes I've made so far.

from nautilus-git.

bilelmoussaoui avatar bilelmoussaoui commented on June 25, 2024

Here you go, please submit your patch to the beta branch
the code does not work yet as i've just restructured the code a little bit and nothing is working (missing imports...)
Here's what should be added
https://github.com/bil-elmoussaoui/nautilus-git/blob/beta/nautilus-git/git.py

And i've already implemented the nemo support on meson , so you won't have to worry about that :)
https://github.com/bil-elmoussaoui/nautilus-git/blob/beta/meson.build#L26

from nautilus-git.

slgobinath avatar slgobinath commented on June 25, 2024

I've sent the PR #21. As you've mentioned this code doesn't work.

from nautilus-git.

Related Issues (20)

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.