File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,12 +32,17 @@ RUN sudo apt-get update \
3232 && python python/mozboot/bin/bootstrap.py --no-interactive --application-choice=browser \
3333 && sudo rm -rf /var/lib/apt/lists/*
3434
35- # Set up Mercurial extensions for Firefox.
35+ # Set up VCS extensions for Firefox.
3636RUN mkdir -p /home/user/.mozbuild \
3737 && ./mach vcs-setup -u \
38- && echo "\n # Add Mozilla's git commands to the PATH." >> /home/user/.bashrc \
38+ && echo "\n # Add Mozilla's Git commands to the PATH." >> /home/user/.bashrc \
3939 && echo "PATH=\"\$ PATH:/home/user/.mozbuild/version-control-tools/git/commands\" " >> /home/user/.bashrc
4040
41+ # Install Phlay to support uploading multiple commits to Phabricator.
42+ RUN git clone https://github.com/mystor/phlay/ /home/user/.phlay \
43+ && echo "\n # Add Phlay to the PATH." >> /home/user/.bashrc \
44+ && echo "PATH=\"\$ PATH:/home/user/.phlay\" " >> /home/user/.bashrc
45+
4146# Configure the IDEs to use Firefox's source directory as workspace.
4247ENV WORKSPACE /home/user/firefox/
4348
Original file line number Diff line number Diff line change @@ -29,12 +29,17 @@ RUN sudo apt-get update \
2929 && python python/mozboot/bin/bootstrap.py --no-interactive --application-choice=browser \
3030 && sudo rm -rf /var/lib/apt/lists/*
3131
32- # Set up Mercurial extensions for Firefox.
32+ # Set up VCS extensions for Firefox.
3333RUN mkdir -p /home/user/.mozbuild \
3434 && ./mach vcs-setup -u \
35- && echo "\n # Add Mozilla's git commands to the PATH." >> /home/user/.bashrc \
35+ && echo "\n # Add Mozilla's Git commands to the PATH." >> /home/user/.bashrc \
3636 && echo "PATH=\"\$ PATH:/home/user/.mozbuild/version-control-tools/git/commands\" " >> /home/user/.bashrc
3737
38+ # Install Phlay to support uploading multiple commits to Phabricator.
39+ RUN git clone https://github.com/mystor/phlay/ /home/user/.phlay \
40+ && echo "\n # Add Phlay to the PATH." >> /home/user/.bashrc \
41+ && echo "PATH=\"\$ PATH:/home/user/.phlay\" " >> /home/user/.bashrc
42+
3843# Configure the IDEs to use Firefox's source directory as workspace.
3944ENV WORKSPACE /home/user/firefox/
4045
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ RUN sudo apt-get update \
2020RUN mkdir -p /home/user/.mozbuild \
2121 && ./mach vcs-setup -u
2222
23+ # Install moz-phab to support uploading multiple commits to Phabricator.
24+ RUN git clone https://github.com/mozilla-conduit/review/ /home/user/.moz-phab \
25+ && echo "\n # Add moz-phab to the PATH." >> /home/user/.bashrc \
26+ && echo "PATH=\"\$ PATH:/home/user/.moz-phab\" " >> /home/user/.bashrc
27+
2328# Configure the IDEs to use Firefox's source directory as workspace.
2429ENV WORKSPACE /home/user/firefox/
2530
Original file line number Diff line number Diff line change 3434 },
3535 "Clobber build" : " ./mach clobber" ,
3636 "Update source code" : " git pull --rebase origin master" ,
37- "Send to code review (Phabricator) " : " arc diff "
37+ "Send to code review" : " phlay "
3838 }
3939}
Original file line number Diff line number Diff line change 3434 },
3535 "Clobber build" : " ./mach clobber" ,
3636 "Update source code" : " git pull --rebase origin master" ,
37- "Send to code review (Phabricator) " : " arc diff "
37+ "Send to code review" : " phlay "
3838 }
3939}
Original file line number Diff line number Diff line change 3434 },
3535 "Clobber build" : " ./mach clobber" ,
3636 "Update source code" : " hg pull -u" ,
37- "Send to code review" : " arc diff "
37+ "Send to code review" : " moz-phab submit "
3838 }
3939}
You can’t perform that action at this time.
0 commit comments