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

LibRaw 0.21.3 #7209

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

LibRaw 0.21.3 #7209

wants to merge 1 commit into from

Conversation

Lawrence37
Copy link
Collaborator

Applies 0.21.3 commits since 0.21.2 on top of the current internal Libraw (snapshot 202403).

@Lawrence37 Lawrence37 added the type: enhancement Something could be better than it currently is label Sep 28, 2024
@Lawrence37 Lawrence37 added this to the v5.12 milestone Sep 28, 2024
@Lawrence37 Lawrence37 self-assigned this Sep 28, 2024
@Lawrence37 Lawrence37 linked an issue Sep 28, 2024 that may be closed by this pull request
@kmilos
Copy link
Contributor

kmilos commented Oct 2, 2024

@Lawrence37 I'm a bit confused - are you using 0.21.x stable or the 202403 snapshot in RT?

These branches are not necessarily sharing the same code base, and the API/ABI can generally differ...

If you're using the 202403 snapshot, your local libraw_version.h is incorrect/misleading, and you should just update the patches from and track the master branch (w/ references to commit hashes and then your local mods), and forget about referencing 0.21-stable...?

@Lawrence37
Copy link
Collaborator Author

dev is currently based on the snapshot. ABI changes do not matter, and any API changes will have to be taken into account anyway whenever there is a new snapshot or major release.

The goal of this pull request is to combine the latest snapshot and release. When LibRaw lengthened the release cycle, I was concerned there would be more frequent situations like this when a minor release is published after a snapshot. master does have the release commits, but it also has other commits. LibRaw does not say if those commits are tested as extensively as the release and snapshots, so without review from RT developers, I do not feel it is right to synchronize with master.

@kmilos
Copy link
Contributor

kmilos commented Oct 3, 2024

dev is currently based on the snapshot

So why is your libraw_version.h saying 0.21.3 API then? (Previously even 0.21.0 for what is supposedly snapshot 202403 code base!?)

The goal of this pull request is to combine the latest snapshot and release.

That's my point. All the important patches done to the stable (release) branch are (or should be, going by LibRaw devs prior behavior) on the master branch as well. There's nothing to "combine" manually if you simply track master (= last snapshot + security/bugfix patches already there), and then just put your local mods on top.

Cf.

stable: LibRaw/LibRaw@0.21.2...0.21.3

and

master: LibRaw/LibRaw@12b0e5d...9bcb8a1 (w/ commits prior to March already in there, plus other goodness)

LibRaw does not say if those commits are tested as extensively as the release and snapshots

They don't say much about how extensively snapshots are tested either, yet we (are somehow obliged to) use them. (From my point of view, any commit on master is a "snapshot", it is just a commit number they declare; they don't even tag a "snapshot". The last declared one forgot to bump libraw_version.h API, so you shouldn't have used that declared commit anyway...)

I understand any of this might not matter as you're in full control of the fork, but it just makes maintenance more confusing and burdensome IMHO. But it's your prerogative... 🤷

@Lawrence37
Copy link
Collaborator Author

This branch is saying 0.21.3 because it is not dev. dev is saying 0.21.0 because, as you wrote, LibRaw forgot to change it for the snapshot.

The main page on the LibRaw website reads

Public snapshots are always tested on a fairly large user base

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Something could be better than it currently is
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Dependency Update] Update LibRaw to 0.21.3
2 participants