Closed Bug 1308215 Opened 8 years ago Closed 8 years ago

Create Carthage dependency wrapper around page-metadata-parser instead of directly pulling in JS library

Categories

(Firefox for iOS :: General, defect, P1)

Other
iOS
defect

Tracking

()

RESOLVED FIXED
Iteration:
1.7

People

(Reporter: sleroux, Assigned: sleroux)

References

Details

(Whiteboard: [MobileAS])

Attachments

(3 files)

Originally the branch I had for setting up the page-metadata-parser code in iOS had the bundled JS file included in the repo. With the recent changes to the PR I had open [1] to get it merged into master, we no longer have it committed in git. In order to properly import the library into Firefox for iOS one option is to create a new carthage dependency that wraps around the JS library and has the script bundling as part of the build phases. This also gives us the option to abstract out the parsing code from the JS if we plan on using a server-side service or alternative client code.

Unfortunately since the PR has been merged and updated, new clean checkouts using Carthage will result in build errors in Firefox for iOS because the bundle file is missing. Since this can effect building the project now, I'm going to move this into this sprint/P1 so we can avoid any build issues from contributors.

[1] https://github.com/mozilla/page-metadata-parser/pull/68
Status: NEW → ASSIGNED
Attached file Github PR
Instead of sinking time into getting the Carthage dependency up right now, I've committed the JS bundle directly into the repo temporarily until we can get a Carthage dependency up and running for it.
Attachment #8799879 - Flags: review?(bnicholson)
Attachment #8799879 - Flags: review?(bnicholson) → review+
Priority: P1 → P3
Moving to P2 as this should be something we do before we ship AS with metadata parsing.
Priority: P3 → P2
Priority: P2 → P1
Blocks: 1311081
Iteration: --- → 1.7
Attached file WebMetadataKit Library
The library
Attachment #8804008 - Flags: feedback?(bnicholson)
Comment on attachment 8804007 [details] [review]
Link to Github pull-request: https://github.com/mozilla-mobile/firefox-ios/pull/2189

Makes sense to me!
Attachment #8804007 - Flags: review?(bnicholson) → review+
Attachment #8804008 - Flags: feedback?(bnicholson) → feedback+
master https://github.com/mozilla-mobile/firefox-ios/commit/1d083b62ef9a5d233819170959a515c7546fcba9
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: