-
Notifications
You must be signed in to change notification settings - Fork 292
Lens: Olympus M.Zuiko Digital ED 17mm F1.2 Pro (0.27 only) #1375
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
Lens: Olympus M.Zuiko Digital ED 17mm F1.2 Pro (0.27 only) #1375
Conversation
Two comments: 1 Can you add test a test file and test script for this, please. Here's an example from a user yesterday #1373. I explained the test harness to him here: #1368 (comment) 2 We have two development branches - '0.27-maintenance' and 'master'. I maintain 0.27-maintenance branch. If you focus your PR on 0.27-maintenance, it will be ported to 'master' at release time. You may wish to submit separate PRs. |
53a4151
to
b5c0058
Compare
Thanks for the feedback! I have addressed both points, this PR now targets 0.27 and I added a simple test. (For future readers: I used the following series of commands to create the test file: exiv2 -ee --force ${name}.JPG
exiv2 -dt ${name}.exv
exiv2 \
-M'del Exif.OlympusEq.SerialNumber' \
-M'del Exif.OlympusEq.InternalSerialNumber' \
-M'del Exif.OlympusEq.LensSerialNumber' \
-M'del Exif.OlympusEq.ExtenderSerialNumber' \
-M'del Exif.OlympusEq.FlashSerialNumber' \
${name}.exv
mv ${name}.exv olympus-m.zuiko-17mm-f1.2-pro.exv I hope this is a useful reference.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank You for your contribution and Thank You for a quick and complete response to my review.
This looks right. I'll test it tomorrow to:
- To be sure it works as you say.
- To compare existing and modified behaviour.
- To be sure you have not broken an existing test.
I expect to merge it into 0.27-maintenance on Wednesday, unless somebody else deal with it first!.
These is something amiss here involving git/github/branch. You'll see that appveyor (the Visual Studio CI) growls: AppVeyor was unable to build non-mergeable pull request. Probably the quick way to fix this is to open a new PR on 0.27-maintenance. I could easily do this for you, however I want you to get the credit for the fix. There are lots of grumbles from exiv2-test.sh and I'm sure that's due to changes that are not in your base. I've built as follows:
The change here is:
The following metadata has not changed. This is correct. It's a 32 byte Ascii string written by the camera. Exif.Photo.LensModel Ascii 32 OLYMPUS M.17mm F1.2 Minor point about your test script. You don't need to specify -pa and -K. This is benign. If you create a new PR, you'll want to modify tests/bugfixes/github/test_pr_1375.py anyway. I think the quickest way to finish this is for you to create a new PR. You may know another way to calm the CI. |
Thanks @olupton for your work here. I have created a wiki page with the snippet you added here explaining how to create a .exv file: @clanmills feel free to review the content of the page a modify it you feel something is missing or my English is not appropriate 😛 . As @clanmills mentioned, It seems like the CI did not re-run things after changing the base branch from master to 0.27-maintenance. I will close the PR and try to re-open it. In case that is not possible, @olupton please re-open it. |
Reopening PR with the aim of re-triggering the CI jobs. |
I also added the label |
This all looks fine, @piponazo. The CI has been retriggered by the close/open and has succeeded. When the Rule: forward-port patches to master (backport) succeeds, we can merge this, and modify title of the PRs to avoid future confusion (probably 0.27 only, and master only). |
@piponazo I've given your Wiki Page a little english polish. It's a good idea to use the Wiki pages for subjects that are frequently discussed. I've added another page about adding a new lens and referenced yours: https://github.com/Exiv2/exiv2/wiki/Adding-a-new-lens |
The title pretty much says it all!
I tested with a RAW file taken using this lens, without this change
exiv2 -pt
output includes:with this patch it shows:
I took the exact wording of the lens name from the 25mm equivalent just above.