-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Added an extension for opening a symlink's parent directory #32
base: master
Are you sure you want to change the base?
Conversation
Anyone around with python experience to review this PR? |
@raveit65 - I tried testing this but wasn't able to get any of the example plugins to load... I'll give it another try later this week, but it might be something in my caja build configuration that I'll have to check. |
Okay, I just realized that there's no reason to not make it work with directory symlinks, so it now does. |
Sorry for all the additional commits. I think it's finished now. Should I create new pull request that only contains the main commit (but with the fixes etc. merged)? |
@CreamyCookie - you can just squash your commits instead into a single one (or we can do it during merge - github has a button for squashing on my view) |
@vkareh |
Interesting, didn't know GitHub had that feature. @raveit65 Maybe I'm misunderstanding, but the docs seem to suggest that it does get squashed to a single commit, i.e. no additional merge commit: https://help.github.com/articles/about-pull-request-merges/#squash-and-merge-your-pull-request-commits |
Try it out in a own test repo, it produce garbage. |
@raveit65 Huh? Worked perfectly fine on my end: https://github.com/CreamyCookie/test (squashed and merged the feature branch which contains the 3 new commits) |
@raveit65 - do you know how to build this so that the example plugins load in caja? They just don't show up for me... |
@vkareh For me it works, just putting them in |
@vkareh |
"Squash and merge" button here should not generate an additional merge commit... it will only place PR number into first line of commit message - but you can delete that part manually before merging. Besides the mentioned local folder, Python extensions can be placed into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works, just need to add this new file to examples/Makefile.am
, otherwise it's not installed
Is this python-3.6 compatible? |
@raveit65 If you mean this extension, then yes AFAICS. |
python-caja can easily build with python-3.6, see this PR for fedora downstream package |
When I was looking at the code regarding Python 3.6 compatibility (to be sure), I've noticed another potential bug. This line wouldn't work with paths that contain double quotes: os.system('caja "%s" &' % parent) So, it's now using the |
Hmm, I didn't notice it before, but there's a runtime warning in
|
Interesting, I'm also getting that for the plugins included in Ubuntu MATE:
Hmm.. could this be a result of my empty Oh completely missed this comment of yours:
Should I add my file to |
Any news on this. |
License: CC0 (https://creativecommons.org/publicdomain/zero/1.0/)