Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR from original repository to forked repository #186

Open
bergamin opened this issue Sep 5, 2024 · 6 comments
Open

PR from original repository to forked repository #186

bergamin opened this issue Sep 5, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@bergamin
Copy link

bergamin commented Sep 5, 2024

This is related to #67. The feature I see in the task seems to be opposite to what they were asking for there. So I ask for some help. I may be missing something here. It seems the PR doesn't work from original repo to forked repo. Only the other way round.

This is how I set up my test task. It is going to be set up after the deploy phase of the original repository. The idea is that after the original repository is deployed, it should create a PR to update the forked repo, which is the one set up under "Repository":

image

But as the tooltip suggests, it uses the forked repo as the source and there is nothing I can do to swap source and target repos here

image

If there is now way to do it as of today, I suggest the option to choose which repos are going to be the source and target. If the fork or current repo

Thanks

Edit: task version is 1.*

image

@shayki5 shayki5 added the enhancement New feature or request label Sep 8, 2024
@shayki5
Copy link
Owner

shayki5 commented Sep 8, 2024

Hi @bergamin,
Thank you for opening this issue!
Yea, currently the "isFork" flag is from forked repo to the original which this is the common behavior.
I can add the opposite way as well but need time... have you thought about maybe trying to contribute?

@bergamin
Copy link
Author

bergamin commented Sep 8, 2024

Hi, I could try, but I've never built a task for DevOps. I'm not even sure what language this is. I don't recognise this .ps1 filetype and I'm not quite sure how I could test it either... I'm not much into the MS development ecosystem nowadays. I do have a fallback license to an older version of Rider if this project needs .net, so I could try seeing if Rider recognises the project...

@shayki5
Copy link
Owner

shayki5 commented Sep 8, 2024

Oh ok, the .ps1 it's PowerShell.
You can try play with that and open a PR and I can review and maybe fix.
I just don't work with Azure Pipeline these days so I don't know if I will have time to update this feature by myself...

@bergamin
Copy link
Author

bergamin commented Sep 8, 2024

That's fair

@bergamin
Copy link
Author

bergamin commented Dec 3, 2024

I solved my issue by reengineering my solution so I won't need this anymore. I'll keep the issue open in case anybody else would like to work on this

@shayki5
Copy link
Owner

shayki5 commented Dec 3, 2024

Great, thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants