•  
      story #8734 have new git repositories automatically mirrored
    Summary
    git admin
    have new git repositories automatically mirrored
    I don't have to manually configure my replication each time I add a new repository (esp. painful when used in context of android/repo usage)

    When at least one mirror is configured:

    • In git administration, at project level, there is a new tab "Default repository configuration"
    • In this tab there is a interface similar to repository "Settings" but only with "Mirror" tab
    • In this "Mirror" tab, there is the same interface than repository mirror configuration
    • On save, it's the new default for all upcomming repository creation.

    From UI point of view, nothing change for end users when they created new repository but:

    • There is a feedback message telling them that the repository will be replicated on mirrors (as it's done when mirroring is updated for an existing repo)
    • The repository is actually mirrored !

    Special behaviour:

    • This default configuration is inherited when a project is cloned (template project)

    Pitfalls and checks:

    • Check when a mirror is deleted (delete defaults)
    • Check behaviour with personal fork (if no mirror is used, use defaults)
    • Check with availability of mirror per project
    • Update auto mirroring defaults when project can no longer use one mirror
    Empty
    Nouha Terzi (terzino), Denis PILAT (denis_pilat), Yannis ROSSETTO (rossettoy), Loïc Lefort (lefort)
    Status
    Empty
    Done
    Development
    • [ ] Does it involves User Interface? 
    • [ ] Are there any mockups?
    • [ ] Are permissions checked?
    • [ ] Does it need Javascript development?
    • [ ] Does it need a forge upgrade bucket?
    • [ ] Does it need to execute things in system events?
    • [ ] Does it impact project creation (templates)?
    • [ ] Is it exploratory?
    Empty
    Details
    #8734
    Manuel Vacelet (vaceletm)
    2016-02-01 16:30
    2015-12-30 11:37
    4668

    References

    Follow-ups

    User avatar

    I don't see why mirror are restricted for some projects ?

    This was a request from you AFAIR.

    For instance to have mirrors dedicated to some organizations


    Where do you restrict mirrors to projects ?

    In site admin Git > Mirrors > for each mirror


    • Category set to
    User avatar
    I don't see why mirror are restricted for some projects ?
    Where do you restrict mirrors to projects ?
    User avatar
    "I've got a question regarding the project inheritance.If one of the project default mirror is restricted by project, what happen ? ": I don't undersdant what you mean, can you rephrase ?

    If you talk about project creation, when a project is created using another one as a template, then I think it's better NOT to inherit such configuration. It's too tricky, too hidden and nobody will be aware that git repo are replicated.

    I don't understand what you you say as well with "Is newly created project enabled by default on the mirror and the mirror is selected as default on the new project "
    User avatar
    Hello ST Team.

    I've got a question regarding the project inheritance. If one of the project default mirror is restricted by project, what happen ?

    * Is the newly created project enabled by default on the mirror and the mirror is selected as default on the new project ?
    * Is this mirror not available in the new project so the mirror is not selected by default in the newly created project ?

    Thanks.

    • CC list Nouha Terzi (terzino), Denis PILAT (denis_pilat) added
    User avatar
    gerrit #4992 integrated into Tuleap 8.10.99.21

    • Acceptance criteria
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from Ready (stalled) to On going
    • CC list Yannis ROSSETTO (rossettoy) added