Skip to content
Snippets Groups Projects

Update fork network relations upon project visibility decrease

Merged Oswaldo Ferreira requested to merge osw-delete-fork-relation-upon-visibility-change into master

What does this MR do?

When decreasing the visibility level of projects, instead of also changing its forks visibility we instead remove itself (the project) from the fork network, also unlinking its direct forks (but not deleting any membership).

A feature flag was added in order to fall back to the old behavior of updating the forks.

Screenshots

Now, when a project is deleted, or unlinked from its forks (now through this visibility level decrease), its direct forks will present the following in the home page:

Screen_Shot_2019-11-27_at_11.56.29

#33358 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by Oswaldo Ferreira

Merge request reports

Merge request pipeline #98991937 passed with warnings

Merge request pipeline passed with warnings for cfb3d3c4

Test coverage 97.30% from 1 job

Merged by Nick ThomasNick Thomas 5 years ago (Nov 28, 2019 2:27pm UTC)

Loading

Pipeline #99248682 failed

Pipeline failed for ead859fa on master

Test coverage 65.88% from 1 job
4 environments impacted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading