-
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
Object finder implementation #133
Comments
i think/agree it would be easiest to move that logic to the server-side (only a single environment to consider; not having to worry about Tcl/Tk versions; not having to worry about Tcl). i also think that the object-list should be maintained by the uploader, not by a central maintainer. |
regarding format, i agree that the-simpler-the-better. filename
contentsi think that @millerpuckette's idea of otoh, it might be nice to have (optional) short descriptions (one-liners) of each object in the future:
caveatsit's a bit unclear to me how to attach a given objectlist to a deken package. e.g. compare the simple (presumable consistent) case:
to
|
On 'filename': objectlist.txt is ok with me, but if we start to add more info, object specific of library wide, it might become a misnominer. As only the server sees it, it could be partitioned into sections and section with library wide information added. Like author, maintainer, repository location. A properly generic name could then be 'tof-v0.2.0-metadata.txt'. Valid for all packages with the same prefix at the same puredata.info location. On 'content': For the original example I harvested the descriptions from the META sub-patch that Jonathan added to lots of pd-external help-patches. Adding those to the objects file should be no problem, but no interface is planned yet. The only change to the current deken GUI would be a selection between library and object search. On 'caveats': If the server does create the complete search repository, it could have the data organized as:
For each found objects file, the server remembers where it was found. The result send to the client is a list of library packages not unlike the current search result. The user still selects the preferred version of the library. This assumes all library packages at a location and matching prefix contain all listed objects. Exceptions exist, but are not very common (AFAIK). |
filename
consistency (aka caveats)so the idea is basically to put trust into the fact that two files are living side-by-side?
|
Maybe it is best to keep the score narrow for now, and add features when desired and worked out. I added *-objects.txt files for creb/0.9.2_darcs/, maxlib/1.5.6/, cyclone/0.2beta1/, sigpack/0.044/, freeverb~/1.2.2/ and tof/0.2.0/. I took the liberty to allow an arbitrary number of spaces between object name and description in an attempt to make it somewhat more human readable. |
yes. i like both approaches (i actually thought about using tabs for the two search flavours, but radio-buttons is even easier). i think we could also allow |
after rethinking this, i think we can do it easier:
|
i also think that specifying multiple search terms should common search knowledge has it, that when providing multiple values in one search-domain the results should be ** while this makes total sense, it complicates things greatly if we allow unqualified search-terms (without the |
Combining library and object search results will make the results a bit harder to read. Not much a problem for the well informed, but these are not the whole target audience. So a simple unambigious mode looks like the best default mode. With complex expressions, the user should be prepared for complex results. Combined results are complex because the library results have to be differentiated from the object results containing the library name and the expanded object name. It would be great if we can find a mid-way between geek mode and a completely applelized interface. |
Mixing library and object results will add to the already existing confusion of result interpretation. Here is a proposal for displaying the two types. The first change is to display the platform relevant packages only. The other is to display only parts of the package name. For the object results, the library name is added between brackets. When the object description will be available, it could be added at the end. For functional different synonyns, this could be helpful. Library result (mrpeach): Object result (udp*): |
actually i was thinking to not have any special output for object output (this also means that for now i plan to ignore any additional information in the so searching for i hope to get the server-side ready this week, so we could just try it out (as in: a search will start showing results from the object-search as well, for all users of the |
try it out (the server is now running in a search libraries & objects mode) |
Currently downloading produces an error: couldn't open socket: Name or service not known |
yes, that's just my normal modus operandi :hudriwudri: |
Yup, it works now, both libraries and objects. Will test some more. |
i think this can be closed as "implemented" |
To find libraries containing a given object name, several models come to mind. Here a description with some pros and cons. Coupling with the Pd error message "... is not in scope. Maybe later.
The text was updated successfully, but these errors were encountered: