-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Move ios tutorial from bazel reference pages to examples repository. #237
base: main
Are you sure you want to change the base?
Conversation
@keith @skofgar |
There have been talks about moving the ios-app tutorial outside the Bazel repo so that it's easier to iterate on and keep it up to date. A few weeks ago the tutorial now living in [rules_apple](https://github.com/bazelbuild/rules_apple) was [revamped](bazelbuild/rules_apple#1639). The corresponding example was also updated in bazelbuild/examples#258. In the Bazel site there are a few links that point to the ios-app page. This is why I opted for keeping the page in the site not to break links, but I'd be happier if we could simply provide a redirect in the Bazel site to the rules_apple tutorial text now living here: https://github.com/bazelbuild/rules_apple/blob/master/doc/tutorials/ios-app.md Some previous conversations: - #14499 - bazelbuild/examples#237 cc: @aiuto Closes #16985. PiperOrigin-RevId: 494660058 Change-Id: I7480be9798585e8523cb0cd3fe2993062aa38e7c
What's the state of this PR? I just had a ping on it but didn't realize it's been around for a long time now... |
@@ -0,0 +1,25 @@ | |||
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") | |||
|
|||
git_repository( |
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.
I don't think we should recommend git_repository since it has no entry in the Repository Cache.
Let's replace these with http_archive and also get the latest version?
@cgrindel maybe this is a good place to start |
Copy the iOS tutorial from the main bazel docs into this repository.
A follow up PR will remove https://docs.bazel.build/versions/main/tutorial/ios-app.html and point this new page instead.
Note that the tutorial is still a messy hodgepodge of stuff. The concept of the main vs source-only tree has not been maintained. The tutorial looks like it is a pure iOS app, but the examples we point you to are mixed appengine, java, ios.
Someone should clean this up. It will be much easier when the example code and the tutorial instructions are in the same repository.