-
Notifications
You must be signed in to change notification settings - Fork 17
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
search github for packages #41
Comments
the biggest problem I expect is: how to enable multiple projects?
|
I was thinking a bit about this and had a look at the Github API. It's possible to search issues, but not releases. I think we can search all of Github as follows:
It's a hack and maybe too onerous, I am not sure. |
accessing https://api.github.com/repos/${USER}/${PROJECT}/releases gives me a nice json with all the releases and the attached files. i thought about using that, and doing a dumb pattern matching. it's not exactly search, but we have to pattern match anyhow, to get the architecture. (I was really assuming that the files must follow the same naming-scheme as on puredata.info). |
but using your idea, how about this:
thus each repo-owner only needs to create a single issue, marking their repository as "to-be-included"; and from then everything works as if it were puredata.info... |
Great! |
for performance (crawling through multiple webpages) and implementation reasons (parsing json in tcl), I wonder whether the collecting should actually be done on some server (e.g. a cron-job on puredata.info). |
I feel like that gives us a single point of failure when having multiple backends seems like a way to avoid points of failure. If we require the user to create an issue for each release with the name of the package, not just one, then the performance hit would not be large as we can also add a search string. So I don't know. |
Hi, |
Rather than putting that logic into the plugin, i think a better place to implement this would be the webinterface (https://deken.puredata.info/). Apart from that, no progress has been made on this topic. |
sidenote: i guess most Pd installations out there do not have |
make this configurable, so multiple projects can be used as package providers
The text was updated successfully, but these errors were encountered: