Skip to content

Naming packages is hard - #5

Merged
butonic merged 1 commit into
mainfrom
naming-is-hard
Jan 13, 2025
Merged

butonic merged 1 commit into
mainfrom
naming-is-hard

Conversation

@butonic

@butonic butonic commented Jan 10, 2025 •

Copy link
Copy Markdown
Member

changes only package names

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic
butonic requested review from fschade and rhafer and removed request for fschade January 13, 2025 09:08
@butonic butonic mentioned this pull request Jan 13, 2025
@butonic butonic changed the title Naming is hard Naming packages is hard Jan 13, 2025
@butonic
butonic requested review from fschade and removed request for rhafer January 13, 2025 09:12

@rhafer rhafer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you touched the generated code (mocks, protobuf stuff, etc.) on purpose instead of fixing the configs for the generators accordingly?

If that is the case I am fine merging this.

@butonic
butonic merged commit cd8cf0d into main Jan 13, 2025
@butonic
butonic deleted the naming-is-hard branch January 13, 2025 13:12
@butonic

butonic commented Jan 13, 2025

Copy link
Copy Markdown
Member Author

yes, generators and makefiles need to be fixed in subsequent prs

puredomain pushed a commit to puredomain/opencloud that referenced this pull request Jul 18, 2026
…-duration

tika.go's xmpDM:duration read was gated to Content-Type audio/* only.
Tika emits the same xmpDM:duration key for video files (verified
against the running container: video/mp4 -> xmpDM:duration=2.0), so
widen the gate to also match video/*. Reuses getAudio as-is rather
than a thin getVideo wrapper: the search proto has no separate Video
message, only Audio (field 15), and getAudio's reads key off
xmpDM:* meta rather than content-type, so audio-only fields simply
stay nil for video input.

Duration is milliseconds (int64) - getAudio's existing
math.Round(f*1000) on Tika's seconds-as-float string.

webdav's appendPhotoProps (patch opencloud-eu#3) now emits oc:audio-duration
from entity.GetAudio().GetDuration() when present, emit-when-present
per the existing pattern. No proto change (Audio.duration already
existed).

Co-Authored-By: Claude Fable 5 <[email protected]>
puredomain pushed a commit to puredomain/opencloud that referenced this pull request Jul 18, 2026
…udio-duration; tika gate widened to video/*)
puredomain pushed a commit to puredomain/opencloud that referenced this pull request Jul 18, 2026
…e gate to video/* (found live: index carried duration, REPORT dropped it) + round-trip test
puredomain pushed a commit to puredomain/opencloud that referenced this pull request Jul 18, 2026
flash7777 pushed a commit to flash7777/opencloud that referenced this pull request Oct 13, 2026
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

Successfully merging this pull request may close these issues.

3 participants