Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Plugin updates

Started by Muut Archive 11 years ago · 3 replies · 284 views
11 years ago

Just as a curiosity thing, how does gpm figure out about plugin updates?

11 years ago

By default GPM has a 24 hour cache where it grabs a JSON file from the Grav site (when you run bin/gpm) and compares the versions in that file with the versions installed. You can force gpm to grab a fresh copy with -f appended to the commands.

11 years ago

Gotcha... and how does the JSON file get updated? Some automated job, or does somebody have to inform you of an update?

11 years ago

Yah, we have a custom Grav CLI command that runs as a cron job every hour. This takes a list of all known plugins/themes/skeletons and goes and grabs their appropriate blueprint information from GitHub.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1348 9 years ago
Archive · by Muut Archive, 9 years ago
2 934 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2946 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago