dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.25k stars 1.58k forks source link

Move the command-line analyzer into the main repository #24731

Closed bwilkerson closed 8 years ago

bwilkerson commented 9 years ago

I believe that there are four steps in this process:

We should wait to start this until 1.13 has shipped. When a step is finished, please mark it and assign this issue to the person responsible for the next step (or me if you don't know who that is).

pq commented 9 years ago

@whesse, I thinking about this one:

[2] Fix the build system to build from the new location rather than the old.

Minimally, I expect we need to remove analyzer_cli from DEPS and update dartanalyzer in bin... Anything not obvious to consider? Will gclient sync complain when it leaves third_party? Anything we can do to make things go smoothest?

Thanks in advance!

whesse commented 9 years ago

I don't see any problems with that. When people first update after it is removed, gclient sync will tell them to remove the directory manually. They may well miss that, and leave it there. After that, it may keep putting links to it in the out/[modeArch]/packages directory, until it is removed manually. But that should not be a problem.

pq commented 8 years ago

Regarding

  1. Move the issues from the old repository to the new repository.

@nex3 : I know you have a clever script to do bulk issue moves... Is that handy?

nex3 commented 8 years ago

My script is very hacky, and right now those hacks are strongly oriented towards moving issues from the SDK repo to a different repo rather than the reverse. Since there are relatively few issues, it would probably be easier to use the non-bulk mover or just do it manually.

pq commented 8 years ago

Good deal. Thanks!

pq commented 8 years ago

cc @Sfshaza for the dartlang doc update. (Thanks in advance! :))

pq commented 8 years ago

cc @kevmoo as a heads-up that as soon as the docs pointers are up to date, I'll want to nuke the old repo and I may need an assist.

kevmoo commented 8 years ago

@pq happy to help

whesse commented 8 years ago

We need to be able to build old revisions of the SDK, so we cannot remove a repo that is referred to by previous versions of the DEPS file. Do not nuke the repo. You could commit deletions of all files, and a changed README, but I think just changing the README and prohibiting commits (by a precommit hook?) is better.

On Mon, Dec 7, 2015 at 6:21 PM, Kevin Moore notifications@github.com wrote:

@pq https://github.com/pq happy to help

— Reply to this email directly or view it on GitHub https://github.com/dart-lang/sdk/issues/24731#issuecomment-162598329.

William Hesse

Sfshaza commented 8 years ago

The redirects have been updated. Try: https://www.dartlang.org/tools/analyzer/

pq commented 8 years ago

Yay! Thanks @Sfshaza!

pq commented 8 years ago

Sounds good @whesse. @kevmoo : do you know the github-foo to do to prohibit commits?

pq commented 8 years ago

I've gone as far as I know how to go on the read-only bit. Here are the current settings.

screen shot 2015-12-09 at 9 11 33 am

I've opened up a follow-up bug (#25192) for @kevmoo for any loose ends.

pq commented 8 years ago

:metal: