Skip to content

Replacement for upstream -> forks links creation #85

@evandrocoan

Description

@evandrocoan

Continuing: #84 (comment) Backstroke-bot has been flagged.

This feature of setup all forks to receive updates from the upstream should not automatically spread pull request through all forks. It should just also be opt-in by the fork users'. But as the fork owner has setup it, the fork users' could accept it. This could be done only by the fork users which already have a backstroke account. Then when they fork a repository which has backstroke setup, this backstroke link is added to the https://app.backstroke.co/#/links page as a disabled link. Then, they can enable it if they want to.

To help them, the users which already have a backstroke account, they could receive a email from backstroke with a link which they can use to enable the link if they want to. Users which do not have a backstroke account, should not receive any email. But when they create a backstroke account, they will already have these links available to be enabled, if they want to.

Instead of allowing the repositories owners to setup a backstroke link for their forks, we can remove this feature completely and change the way how links are created. The new link creation page should just require the url/link or user_name/repository_name to the user fork, then it creates everything only with this information. Just a simple link.

This could be done because you can infer everything backstroke needs just by the link. The repository upstream or downstream can be derived from the GitHub API with the link, and the link name can be by default the upsteam_name/repository_name. The user can change the backstroke link name if the wants to, but why bother? A name as upsteam_name/repository_name should be more than enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions