syphilis has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I assume this must be a simple procedure.
I want to obtain the same perl source code that CI ran in its automated testing of https://github.com/Perl/perl5/pull/18783.
What is the simplest way for me to obtain that source ?

Update: I probably should mention that I do already have a fully functional git utility.

Cheers,
Rob

Replies are listed 'Best First'.
Re: [OT] github: testing PRs
by Fletch (Bishop) on May 11, 2021 at 05:08 UTC

    I think what you'd do if you've already got an existing perl5 clone is you probably can just add the other person's repo as a remote (git remote add xenu https://github.com/xenu/perl5.git); otherwise just clone their perl5 into a new working copy. Once you've done that you should be able to do something like git checkout xenu/mingw-org and it'll set you up a local tracking branch for that.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

      otherwise just clone their perl5 into a new working copy

      Doh, I expected that alone to be sufficient - but, I see it's not. I also have to checkout the xenu/mingw-org branch.

      How did you determine that the xenu/mingw-org branch was the appropriate one ?
      Is there something in the PR itself that identifies that branch ?

      Thanks for the reply !

      Cheers,
      Rob

        top of the pull req says "xenu wants to merge 4 commits into Perl:blead from xenu:xenu/mingw-org"

        The cake is a lie.
        The cake is a lie.
        The cake is a lie.

Re: [OT] github: testing PRs
by perlfan (Parson) on May 11, 2021 at 15:48 UTC