-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- Not every platform needs to parse and detect certain headers, which means the platform and relevant URLs could be generated (almost) instantly, as opposed to waiting for the HEAD request's response (as a current form of detection for non public, self-hosted platforms)
- Implementation could potentially use generators (yield), but preferably the interface should be as if there was only ever one platform to check. The generator approach might be interesting to code.
- Detected platform could be cached, but caching itself poses a risk of being incorrect when the state of things checked, is changed especially if it happens outside of Atom or when this package is not aware of it. I think some caching is okay, but caching things like the git remote origin is risky. This is to reduce the amount of potential git exec calls, which other than DB and web requests are usual culprits of performance issues.
Metadata
Metadata
Assignees
Labels
No labels