Skip to main content



      Home
Home » Eclipse Projects » Oomph » Git Clone Task - redirect to private fork
Git Clone Task - redirect to private fork [message #1692707] Fri, 17 April 2015 08:12 Go to next message
Eclipse UserFriend
Assume that I want to contribute to a GitHub project for which I have no write access. Typically, I will fork the repository, make the change, push it to my fork and create a pull request. Right?

If the project provides an Oomph setup, it will involve a GitCloneTask pointing to the original repository. Ideally, I want to reuse the original setup for my own fork without having to modify it.

I tried creating a redirect task (redirecting the original URL - which I have to find out beforehand - to the fork URL) in the User model prior to installing the project. This seemed to work, but I was wondering if this is the recommended way for dealing the the above scenario. Possibly, there are better solutions or built in features?

Alex
Re: Git Clone Task - redirect to private fork [message #1692753 is a reply to message #1692707] Fri, 17 April 2015 10:35 Go to previous messageGo to next message
Eclipse UserFriend
Alex,

Most of the setups I've authored, a list of clone choices are offered,
i.e., https, git, ssh versions, so in that field one could enter the
clone of a fork...

On 17.04.2015 14:12, Alexander Nittka wrote:
> Assume that I want to contribute to a GitHub project for which I have no
> write access. Typically, I will fork the repository, make the change,
> push it to my fork and create a pull request. Right?
>
> If the project provides an Oomph setup, it will involve a GitCloneTask
> pointing to the original repository. Ideally, I want to reuse the
> original setup for my own fork without having to modify it.
>
> I tried creating a redirect task (redirecting the original URL - which I
> have to find out beforehand - to the fork URL) in the User model prior
> to installing the project. This seemed to work, but I was wondering if
> this is the recommended way for dealing the the above scenario.
> Possibly, there are better solutions or built in features?
>
> Alex
Re: Git Clone Task - redirect to private fork [message #1692757 is a reply to message #1692753] Fri, 17 April 2015 11:10 Go to previous message
Eclipse UserFriend
Ed Merks wrote on Fri, 17 April 2015 16:35
... so in that field one could enter the
clone of a fork...


Well, sometimes things are easy. It never occurred to me that I could simply paste my fork's location. Rolling Eyes Why type anything if there is a drop-down box?

Thanks a lot,

Alex

[Updated on: Fri, 17 April 2015 11:10] by Moderator

Previous Topic:Setup model for the Buildship project
Next Topic:Resource Variable Task - Browse-Button
Goto Forum:
  


Current Time: Sun Aug 31 12:59:31 EDT 2025

Powered by FUDForum. Page generated in 0.07056 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top