Skip to content
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

Add support for categories #37

Open
ymartin59 opened this issue Jul 21, 2019 · 3 comments
Open

Add support for categories #37

ymartin59 opened this issue Jul 21, 2019 · 3 comments

Comments

@ymartin59
Copy link
Collaborator

Package Center now displays Synology packages organized as "Categories".
It may be useful to publish SynoCommunity the same way.

@mreid-tt
Copy link
Contributor

mreid-tt commented Oct 7, 2024

After investigating how Synology handles package categories, it appears that the category tag is linked to the JSON result from the Package Center server rather than being part of the package itself (i.e., it's not present in the package's INFO file).

If we want to implement this feature, we would need to set up various categories on the server's database. Then, in the admin interface, we could enable the tagging of one or more category identifiers at the package level. This would allow the JSON result returned to clients to include this data.

Should we still explore this approach? Have we seen any examples from other third-party package providers using categories? I’m curious if the Package Center displays categories for third-party packages the same way it does for Synology’s own packages.

EDIT: For reference (using this #63 (comment)), Synology’s category tags in their JSON format look like this:

Screenshot 2024-10-07 at 2 38 08 PM

@hgy59
Copy link
Contributor

hgy59 commented Oct 7, 2024

@mreid-tt if we investigate into categories, we should first validate whether categories work for thirdparty packages in the DSM Package Center.

@mreid-tt
Copy link
Contributor

mreid-tt commented Oct 7, 2024

@mreid-tt if we investigate into categories, we should first validate whether categories work for thirdparty packages in the DSM Package Center.

I completely agree. No point in extending our database if DSM does not display categories for community packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants