Repository navigation
refactor(upgrade): use Bazel packages to avoid symlinks in the source - #29466
petebacondarwin wants to merge 5 commits into
Conversation
filipesilva
left a comment
There was a problem hiding this comment.
Can you also remove the newly added scripts/windows/create-symlinks.cmd, and remove its usage in .codefresh/codefresh.yml?
I was trialing a new Windows CI that uses needs that script so had to add an actual windows CMD for it.
|
Will do! |
3d75825 to
a27568b
Compare
47957ac to
90b046d
Compare
|
Breaks g3: |
IgorMinar
left a comment
There was a problem hiding this comment.
I discussed this with Pete and we agreed that it would be better to move /dynamics and /common under src to prevent these folders to be accidentally considered and used as entry points and public api.
otherwise this change looks great once these adjustments are made.
|
Done. It'll need another presubmit. |
|
http://test/OCL:240155732:BASE:240621012:1553716123697:cf97eb17 |
Previously we had to share code between upgrade/dynamic and upgrade/static by symlinking the `src` folder, which allowed both packages to access the upgrade/common files. These symlinks are always problematic on Windows, where we had to run a script to re-link them, and restore them. This change uses Bazel packages to share the `upgrade/common` code, which avoids the need for symlinking the `src` folder. Also, the Windows specific scripts that fixup the symlinks have also been removed as there is no more need for them.
eb5ee3d to
a673140
Compare
|
\o/ |
…angular#29466) Previously we had to share code between upgrade/dynamic and upgrade/static by symlinking the `src` folder, which allowed both packages to access the upgrade/common files. These symlinks are always problematic on Windows, where we had to run a script to re-link them, and restore them. This change uses Bazel packages to share the `upgrade/common` code, which avoids the need for symlinking the `src` folder. Also, the Windows specific scripts that fixup the symlinks have also been removed as there is no more need for them. PR Close angular#29466
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Previously we had to share code between upgrade/dynamic and upgrade/static
by symlinking the
srcfolder, which allowed both packages to accessthe upgrade/common files.
These symlinks are always problematic on Windows, where we had to run
a script to re-link them, and restore them.
This change uses Bazel packages to share the
upgrade/commoncode,which avoids the need for symlinking the
srcfolder.Also, the Windows specific scripts that fixup the symlinks have also
been removed as there is no more need for them.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information