Update Fork so it's clear push refers to the upstream project

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

The following discussion from gitlab-ce!24407 should be addressed:

  • @godfat started a discussion: (+1 comment)

    I think having attribute push is rather confusing. Where it's pushing to?

    What do you think if we also include a upstream_project from the push?

    def upstream_project
      push.project
    end

    And we should avoid using push directly because it's really confusing.

This refers to qa/qa/resource/fork.rb.

Alternatively, we could rename push to upstream.

Edited Sep 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading