yujinakayama / atom-auto-update-packages

Keep your Atom packages up to date.
https://atom.io/packages/auto-update-packages
MIT License
33 stars 11 forks source link

Add ability to set how often you want updates #1

Closed omegahm closed 10 years ago

omegahm commented 10 years ago

It might be that people have different needs. Could we have a setting for how many hours between auto-updates?

yujinakayama commented 10 years ago

:+1: I was thinking to add the configuration. :)

omegahm commented 10 years ago

:heart: it, but wouldn't it be nicer to have it in the Settings View, instead of having to fiddle with the settings via the config.cson?

yujinakayama commented 10 years ago

The input field in the Settings view is shown only when any value is set to the key, and there's no other way to display the input field (as far as I know). So, if auto-update-packages set the default value automatically, the input field will appear. However I think it's discouraged for packages to clutter users' configuration by setting the default value automatically.

yujinakayama commented 10 years ago

The input field in the Settings view is shown only when any value is set to the key, and there's no other way to display the input field (as far as I know).

I was wrong. :) There was a way to do that, though it's undocumented. I've released version 0.2.1 with the feature.