New submit repo for hotspot changes
Erik Helin
erik.helin at oracle.com
Tue Mar 13 12:38:57 UTC 2018
On 03/13/2018 12:09 PM, Aleksey Shipilev wrote:
> On 03/13/2018 02:06 AM, jesper.wilhelmsson at oracle.com wrote:
>> Hi all HotSpot developers!
>>
>> There is now a new submit repo available. It is similar to the one created a while ago [1], and the usage is the same, but this one is based on and synched with the jdk/hs forest. This means that it should now be possible for any contributor to run all the required tests for hotspot pushes (referred to as hs tier 1) on the latest version of the HotSpot source code.
>>
>> http://hg.openjdk.java.net/jdk/submit-hs/
>
> The mirror tarball for this new repo:
> https://builds.shipilev.net/workspaces/jdk-submit-hs.tar.xz
>
> As usual, this works:
>
> $ wget https://builds.shipilev.net/workspaces/jdk-submit-hs.tar.xz -O - | tar xJf -; \
> cd jdk-submit-hs; \
> hg pull; hg up;
Thanks Aleksey for mirroring, but if you are already working in jdk/hs,
then you can just add the jdk/hs-submit repo as an additional remote:
$ printf "[paths]\nsubmit = ssh://$(hg config
ui.username)@hg.openjdk.java.net/jdk/hs-submit\n" >> $(hg root)/.hg/hgrc
This way, when you want to test your work, just push to the submit path:
$ hg push --new-branch submit
To avoid forgetting to append the 'submit' path (and thereby pushing to
the main repository), it is probably best to create an alias:
$ printf "[alias]\nsubmit = push --new-branch submit" >> $HOME/.hgrc
This way you can just type:
$ hg submit
to run your current branch through the jdk/hs-submit system.
Thanks,
Erik
> Thanks,
> -Aleksey
>
>
More information about the jdk-dev
mailing list