Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

[OT] github: testing PRs

by syphilis (Bishop)
on May 11, 2021 at 04:56 UTC ( #11132378=perlquestion: print w/replies, xml ) Need Help??

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 (Chancellor) 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 (Vicar) on May 11, 2021 at 15:48 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11132378]
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2021-06-13 17:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (57 votes). Check out past polls.

    Notices?