X Tutup
The Wayback Machine - https://web.archive.org/web/20210917072751/https://github.com/angular/angular/pull/43473
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

[WIP] Angular devtools migration #43473

Draft
wants to merge 949 commits into
base: master
Choose a base branch
from

Conversation

@AleksanderBodurri
Copy link
Contributor

@AleksanderBodurri AleksanderBodurri commented Sep 16, 2021

This PR brings in the Angular DevTools codebase into the Angular Repo. It preserves the commit history of the original repository with a process described here.

The Angular DevTools codebase has been nested under a devtools directory. I will be working on integrating DevTools' Unit and E2E tests with the framework repository's CI.

renovate-bot and others added 30 commits Mar 14, 2021
mgechev and others added 18 commits Sep 10, 2021
Marks the beginning of a migration over to building Angular devtools with Bazel. This commit brings in tooling from the canonical angular bazel example repository and includes the necessary dependencies in the package.json
…rary

Allows shared-utils and protocol to be built with `bazel build projects/shared-utils` and `bazel build projects/protocol`. This lays down the necessary ground work to include these libraries as dependencies in other bazel build rules.
… served with concatjs_devserver

Allows the demo-no-zone application to be built with bazel and a devserver run with `bazel run projects/demo-no-zone/src:devserver`
Allows the ng-devtools-backend to be built with bazel. Allows ng-devtools-backend to be used as a dependency in other bazel build rules.
Allows the ng-devtools library to be built with bazel. ng-devtools can now be used as a dependency in other bazel build rules.
Allows the demo app to be builtmwith bazel and a dev server started with `yarn start`.
Allows shell-chrome to be built with bazel. Currently this is built in production mode with terser minified code and the appropriate manifest and content script files to make the chrome extension work properly.
… and ng-devtools-backend

These modules are necessary because concatjs_devserver needs named amd/umd modules (https://bazelbuild.github.io/rules_nodejs/Concatjs.htmlrangle/angular-devtools#third-party-code)
Previously, running tests in CI with the chromium-local browser would cause the following error "Running as root without --no-sandbox is not supported".

Now the karma test suites run in a custom no sandbox browser.
Nests all angular devtools files in a directory "devtools" to be pulled into the main angular repo.
@google-cla
Copy link

@google-cla google-cla bot commented Sep 16, 2021

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added the cla: no label Sep 16, 2021
@ngbot ngbot bot added this to the Backlog milestone Sep 16, 2021
@mgechev
Copy link
Member

@mgechev mgechev commented Sep 16, 2021

@googlebot I consent

@google-cla
Copy link

@google-cla google-cla bot commented Sep 16, 2021

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@sumitarora
Copy link
Contributor

@sumitarora sumitarora commented Sep 16, 2021

@googlebot I consent

@markwhitfeld
Copy link

@markwhitfeld markwhitfeld commented Sep 16, 2021

@googlebot I consent.

@google-cla
Copy link

@google-cla google-cla bot commented Sep 16, 2021

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@google-cla
Copy link

@google-cla google-cla bot commented Sep 16, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@AndrewKushnir
Copy link
Contributor

@AndrewKushnir AndrewKushnir commented Sep 16, 2021

@AleksanderBodurri thanks for working on this!

We've just discussed this PR during the framework team sync and we are trying to assess whether this code should live in the angular/angular repo or it should be located in it's own repo in Angular organization (for ex. angular/devtools). We'll have more discussion early next week and let you know. I just wanted to share it sooner in case there is some major work that you plan within the next couple days to integrate CI, etc.

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

Successfully merging this pull request may close these issues.

None yet

10 participants
X Tutup