Skip to content
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

feature request: easy updates #15

Closed
magnetophon opened this issue Jan 29, 2018 · 6 comments
Closed

feature request: easy updates #15

magnetophon opened this issue Jan 29, 2018 · 6 comments

Comments

@magnetophon
Copy link
Contributor

magnetophon commented Jan 29, 2018

Is there a way to keep this wonderful plugin up to date that doesn't involve manually checking this repo?

As a partial solution I suggest changing the line that is inserted to rc.conf to include where the plugin came from:

# a plugin that adds file glyphs / icon support to Ranger:
# https://github.com/alexanderjeurissen/ranger_devicons
default_linemode devicons

That way, when you update ranger, and diff rc.conf, you are reminded to have a look here.

@alexanderjeurissen
Copy link
Owner

Hi @magnetophon Thanks so much for filing this issue, it has definitely come to my attention that this is indeed a limitation currently. One which I myself am not confronted with as seeing as the author of this plugin I have a copy of the repo laying around on all my machines.

I'll implement your suggestion to include a comment for now, and think about how we can improve the update process.

@magnetophon
Copy link
Contributor Author

Dank je wel!

@alexanderjeurissen
Copy link
Owner

alexanderjeurissen commented Apr 12, 2018

I thought about this some more and I think that wrapping this plugin in a PyPy package could be a potential improvement, the only trick would be to get the files in the .config/ranger directory

resources for my own reference sake:

This would allow for the following installation flow:

$ pip install ranger-devicons
$ ranger-devicons --install

The second command would actually symlink the files to the ranger directory, so that a future pip install --upgrade ranger-devicons can pull in the latest version.

Removal of the plugin could be done like this:

$ ranger-devicons --remove (removes the symlinks)
$ pip uninstall ranger-devicons

@magnetophon would a flow as outlined above meet you're expectations of a easier update/installation/removal process ?

@magnetophon
Copy link
Contributor Author

Sounds great, thanks!

@alexanderjeurissen
Copy link
Owner

Closed by #37

@magnetophon
Copy link
Contributor Author

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants