Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Don't update shortcut info for repos which haven't been updated #1

Open
PEZ opened this issue Nov 9, 2015 · 0 comments
Open

Don't update shortcut info for repos which haven't been updated #1

PEZ opened this issue Nov 9, 2015 · 0 comments

Comments

@PEZ
Copy link
Owner

PEZ commented Nov 9, 2015

Currently the fetching of shortcuts is:

  1. Reading the raw Plugin Directory text from https://github.com/sketchplugins/plugin-directory
  2. Searching GitHub for shortcut information in those repositories.
  3. For each repo matching the search:
    1. Fetch the manifest.json and extract the shortcuts.
  4. Overwrite the local shortcuts database with the last fetched information.

Since most plugin repositories are not updated daily, this causes quite a lot of unnecessary querying through the GitHub API.

We should be smarter about this!

@PEZ PEZ added the enhancement label Nov 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant