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

Move ios tutorial from bazel reference pages to examples repository. #237

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

aiuto
Copy link
Contributor

@aiuto aiuto commented Jan 19, 2022

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.

@aiuto
Copy link
Contributor Author

aiuto commented Jan 19, 2022

@keith @skofgar
This incorporates the changes from bazelbuild/bazel#14499.

@aiuto aiuto requested a review from gregestren January 20, 2022 03:26
@aiuto aiuto changed the title Move in ios tutorial Move ios tutorial from bazel reference pages to examples repository. Jan 20, 2022
copybara-service bot pushed a commit to bazelbuild/bazel that referenced this pull request Dec 12, 2022
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
@gregestren
Copy link
Collaborator

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(
Copy link
Collaborator

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?

@alexeagle
Copy link
Collaborator

@cgrindel maybe this is a good place to start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants