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: option to check updates only #41

Open
Sadi58 opened this issue Oct 3, 2015 · 4 comments
Open

Feature request: option to check updates only #41

Sadi58 opened this issue Oct 3, 2015 · 4 comments
Assignees

Comments

@Sadi58
Copy link
Collaborator

Sadi58 commented Oct 3, 2015

I don't know if this is very easy (e.g. a little modification in the "DOWNLOAD BLOCKLISTS" section of hostsblock.sh) or difficult to implement without much change in the present code, but I thought it would be very handy if we could enter a command like hostsblock.sh -v 3 -checkonly &>/tmp/hostsblock-lists-status.log to see if there are any pending updates.

Note: What I have in mind actually is to try and create, in due course, an app indicator similar to https://github.com/Sadi58/grive-indicator and https://github.com/Sadi58/indicator-chars
And my "work-in-progress" to this end (adding several files under subfolder ./src/indicator/ only) is now here: https://github.com/Sadi58/hostsblock/tree/master/src/indicator

@pickfire
Copy link
Collaborator

@Sadi58 What is the progress on this? Can you implement it yourself?

@Sadi58
Copy link
Collaborator Author

Sadi58 commented Feb 18, 2016

No progress on a possible "check-updates-only" option. I don't think I can do it.

@gaenserich
Copy link
Owner

gaenserich commented Feb 26, 2016 via email

@pickfire
Copy link
Collaborator

@gaenserich I thought the curl -z option is implemented, but when I check it, it isn't.

I think there is an alternative to it, the -R which can show the remote file time and check it with epoch time of the file as it is better and more accurate, still need more research.

@gaenserich gaenserich self-assigned this Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants