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

Document existing API #719

Closed
mblythe86 opened this issue Sep 13, 2023 · 3 comments
Closed

Document existing API #719

mblythe86 opened this issue Sep 13, 2023 · 3 comments

Comments

@mblythe86
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I'm trying to integrate pigallery2 with my existing photo management (I use digiKam to rate, label, categorize, recognize faces, etc.). I find that I'm writing scripts to try to automate syncing data from digiKam into pigallery2 (e.g. only directories with category=Public are visible to pigallery2, set thumbnails, etc). For several of the things that I'm doing, I'm hacking on the pigallery2 database directly. It's possible that there are API methods I could use to accomplish the same things.

Describe the solution you'd like

Could you document the existing API methods so that power-users can utilize them?

Describe alternatives you've considered (optional)

Alternatively, documenting the database schema would be helpful. e.g. what does the validPreview column in the directory_entity table do, and how is it used?


...a quick aside...
I know I'm commenting and filing a bunch of issues recently. Sorry about that, I'm just really excited about this software. It's great stuff, and fits with what I'm looking for like 95% (which is far better than any of the other self-hosted photo gallery projects I've tried out). I'm just trying to see what we can do about that last 5% that (in my opinion) would make this software perfection.

@bpatrik
Copy link
Owner

bpatrik commented Sep 21, 2023

Let me get back to you in a few weeks

@bpatrik
Copy link
Owner

bpatrik commented Oct 8, 2023

Here you will find answers for some of your questions: #738

@mblythe86
Copy link
Contributor Author

Relevant portion of #738:

I would like to keep the developer velocity as high as possible. This means there are certain features that I just can't support. I prefer to move fast and break things. In the end that is more fun than writing docs :)

I'm not adding proper api documentation.

The best I can do is code comments.

Makes sense. I think #743 would probably accomplish the goals I have.

With that, I'm OK to close this issue.

@mblythe86 mblythe86 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants