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

Add top level samples project. #1026

Merged
merged 3 commits into from
May 7, 2024

Conversation

DanAlbert
Copy link
Member

This is step one of #1010. It's not really finished until I've removed all the stuff left behind (which I'm leaving for another PR because it's just a big mess of deletes that'd make this PR harder to read).

It's may be good to also remove the mostly unnecessary middle directories from most of these. Doing that will break a bunch of existing URLs, but if the goal is to be a project that's actually sensible to copy, we need to rearrange to do that. Maybe that's better left for a broader rearranging that's probably overdue anyway, or maybe we should just leave it as-is to keep the URLs alive.

@DanAlbert DanAlbert requested a review from jfgoog May 7, 2024 21:36
settings.gradle Outdated Show resolved Hide resolved
@DanAlbert DanAlbert force-pushed the combine-samples-project branch from fbe5dad to e0d4712 Compare May 7, 2024 21:54
@DanAlbert DanAlbert force-pushed the combine-samples-project branch from e0d4712 to e5fe92b Compare May 7, 2024 22:13
DanAlbert added 3 commits May 7, 2024 15:27
This is step one of android#1010.
It's not really finished until I've removed all the stuff left behind
(which I'm leaving for another PR because it's just a big mess of
deletes that'd make this PR harder to read).

It's may be good to also remove the mostly unnecessary middle
directories from most of these. Doing that will break a bunch of
existing URLs, but if the goal is to be a project that's actually
sensible to copy, we need to rearrange to do that. Maybe that's better
left for a broader rearranging that's probably overdue anyway, or maybe
we should just leave it as-is to keep the URLs alive.
Now that there's a single top level gradle project, we don't need any of
this. The new thing is actually more thorough, because it'll build all
build types of each sample instead of just debug, which is quite
important for things like the sanitizer sample.

android#1010
I haven't removed all the child packaging files yet because this can't
be fully driven from this end. There's a service that reads these that
needs its index updated to read this instead of all the children first.
I'll be back to clean those up once that's been done.

android#1010
@DanAlbert DanAlbert force-pushed the combine-samples-project branch from e5fe92b to 686fbae Compare May 7, 2024 22:27
@DanAlbert DanAlbert merged commit ae2c67f into android:main May 7, 2024
2 checks passed
@DanAlbert DanAlbert deleted the combine-samples-project branch May 7, 2024 22:45
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.

2 participants