-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
jazzy
cannot run on mac_ios_engine
Mac arm bot
#124833
Comments
jazzy
cannot run on Mac arm engine buildersjazzy
cannot run on mac_ios_engine
Mac arm bot
Intel Mac capacity is limited. Run the `mac_host_engine` orchestrator builder on Mac arm bots which we have a higher capacity of than the Intel Macs. It needs Xcode to stitch together the frameworks and therefore to run on Mac, but isn't building anything itself. Running on arm: https://ci.chromium.org/p/flutter/builders/try/Mac%20mac_host_engine/8593 I wasn't able to get this working on `mac_ios_engine` due to a gem issue, filed flutter/flutter#124833
Instead of Jazzy, could we just use something like Doxygen for Obj-C doc generation? I feel like this has been a constant source of issues on CI. |
+1 on removing the jazzy dependency if possible. Last time I spent 2 weeks on getting it working properly. @zanderso, @dnfield do you remember what was the outcome of the conversation about replacing jazzy with something else from a few months ago? |
I have no objections to using doxygen instead of jazzy. I have a vague memory of looking into doing it a few years ago, and at the time it seemed as complicated or more than just using jazzy. That may have changed or I may be remembering wrong. |
Issue is assigned to multiple teams (infra, engine). Please ensure the issue has only one |
It seems that Doxygen is already configured for the Engine repo (there's a Is there any problem with publishing that instead of using the Jazzy results? (cc @gaaclarke, who added the Doxyfile) |
IMHO we should prioritize what will work better on CI for this rather than worrying about if it looks the same as what Jazzy was producing. |
Works for me. Doxygen seems like it's fine just cramming APIs from multiple platforms into one page, though, so I'm trying to figure out how to separate it into different runs that make sense. For example, it took code from the two different files called |
For iOS, what should the migration be for the existing docs? For instance, they are currently hosted under https://api.flutter.dev/objcdoc/, built by jazzy. I'd like to change the name to something like https://api.flutter.dev/ios_embedder_docs/ and build them with Doxygen. I don't see how we can keep legacy links valid and redirect them without just building the jazzy docs and continuing to serve them. Should we just build and serve both, but only link the doxygen docs in the API docs, and then stop building the old ones once the next stable comes out with the updated links? (or a year after they come out?) |
## Description This adds a build script for creating a doxygen executable that can be placed into a CIPD package. ## Related Issues - flutter/flutter#124833
@gspencergoog Can we start removing stuff like this: https://github.com/flutter/engine/blob/main/.ci.yaml#L438 and https://flutter.googlesource.com/recipes/+/refs/heads/main/recipe_modules/flutter_deps/api.py#668 cc @godofredoc |
Not yet. I haven't yet landed the Framework side changes that include links to the new documentation generated by doxygen, so we should continue to produce the Jazzy docs until I can replace them with the doxygen ones. Draft PR is here: #131356 |
Also, how concerned are we that the old URLs to the Jazzy docs won't match the URLs for the new docs? I don't want to invalidate people's links, but we also can't keep generating the Jazzy docs. |
Can you add some more detail about what links will be changing? |
If you have a link to the current set of Jazzy-produced docs, you have something like: Once I make the change to the doxygen generated docs, it will be something like this: |
I would suggest some kind of redirect scheme, but that's likely to a) be super complex and b) not necessarily map 1:1 (some things in Jazzy docs might only have one URL, where in doxygen they might be several URLs, or vice versa). I thought about keeping around the most recently generated Jazzy docs, but those would just quickly get out of date. We could perhaps redirect all of the docs under "objcdoc/*" to the main index file for the doxygen docs. At least then they could search for what they were looking for, and wouldn't get a 404. |
…er (flutter#43915) ## Description This starts generating Doxygen docs for iOS, macOS, Linux, Windows, and Impeller. It doesn't remove the existing generation for iOS for now, until we can migrate the API docs to include these instead of those. ## Related Issues - flutter/flutter#130999 - Fixes flutter/flutter#124833
@gspencergoog is there something infra needs to do for this issue? |
There are some spurious files/directories in the CIPD packages that have to do with doxygen, and those can be permanently removed. since those executables were never in use. This directory can be removed: https://chrome-infra-packages.appspot.com/p/flutter/doxygen We'll have to keep the jazzy CIPD package around to be able to build historical builds. Right now, Jazzy is still being run, but I'll make a PR to stop doing that now that we have doxygen links in the API docs. |
## Description Now that we are using Doxygen for building docs for the embedders, this updates the links to point to the correct URLs. ## Related Issues - #124833 ## Related PRs - flutter/engine#45561
…r of Doxygen. (#45561) ## Description This removes references to Jazzy, and removes the `gen_objcdoc.py` script, since that is now handled by `gen_docs.py` ## Related Issues - flutter/flutter#124833 ## Related PRs - flutter/flutter#134246
Okay, Jazzy is no longer being used, and we've switched to Doxygen. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I tried to swap
mac_ios_engine
orchestrator to arm64 Macs to leverage that bot capacity in flutter/engine#41185. However it failed on theobj-c-doc
step with "Could not find 'sqlite3'"https://ci.chromium.org/p/flutter/builders/try/Mac%20mac_ios_engine/8101
flutter/ruby/mac-arm64
andflutter/jazzy/mac-arm64
cipd packages are being installed. See also #118464cc @godofredoc
The text was updated successfully, but these errors were encountered: