•  
      request #25004 Tuleap should ship its own gitolite package
    Infos
    #25004
    Manuel Vacelet (vaceletm)
    2022-02-24 08:58
    2022-01-12 16:30
    26531
    Details
    Tuleap should ship its own gitolite package

    gitolite is available in epel and maintained but it depends on an outdate of git (the git shipped by RHEL7).

    Even if we don't use it anymore (see art #24990) it still pull this old git package and this might lead to mis-usage of git by administrators.

    SCM/Git
    13.4
    Empty
    • [x] enhancement
    • [x] internal improvement
    Empty
    Stage
    Manuel Vacelet (vaceletm)
    Closed
    2022-02-04
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    gerrit #25044 (Use tuleap-gitolite3 package instead of gitolite3) integrated in Tuleap 13.5.99.10

    After internal thoughts, I convinced myself that is was better to have everybody aligned instead of gambling about how teams will upgrade their platforms.

    User avatar
    Thomas Gerbet (tgerbet)2022-02-04 15:15

    Yup I see that after my last post. It also means tuleap-gitolite3 will be preferred when upgrading:

    ==============================================================================================================================================================================================================================================
     Package                                                             Arch                                     Version                                                           Repository                                               Size
    ==============================================================================================================================================================================================================================================
    Installing:
     tuleap-gitolite3                                                    noarch                                   1:13.5.99.9-1.3.6.12.1641463613                                   tuleap-enterprise-dev                                   120 k
         replacing  gitolite3.noarch 1:3.6.12-1.el7
    Updating:
     blackfire-php                                                       x86_64                                   1.74.0-1                                                          blackfire                                               5.0 M
     libzstd                                                             x86_64                                   1.5.2-1.el7                                                       epel                                                    282 k
     tuleap                                                              noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    39 M
     tuleap-core-subversion                                              noarch                                   1.2-13.5.99.9_1.el7                                               tuleap-enterprise-dev                                    12 k
     tuleap-documentation                                                noarch                                   13.5.99.9-1                                                       tuleap-enterprise-dev                                    16 M
     tuleap-git-bin                                                      x86_64                                   13.5.99.9-1.2.35.1.1641463613                                     tuleap-enterprise-dev                                    14 M
     tuleap-plugin-agiledashboard                                        noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   973 k
     tuleap-plugin-api-explorer                                          noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   333 k
     tuleap-plugin-captcha                                               noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    26 k
     tuleap-plugin-cardwall                                              noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   104 k
     tuleap-plugin-crosstracker                                          noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   204 k
     tuleap-plugin-docman                                                noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   485 k
     tuleap-plugin-document                                              noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   299 k
     tuleap-plugin-document_generation                                   noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   122 k
     tuleap-plugin-dynamic-credentials                                   noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    27 k
     tuleap-plugin-embed                                                 noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    11 k
     tuleap-plugin-frs                                                   noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   165 k
     tuleap-plugin-git                                                   noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   715 k
     tuleap-plugin-gitlfs                                                noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   101 k
     tuleap-plugin-graphontrackers                                       noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   181 k
     tuleap-plugin-hudson                                                noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    76 k
     tuleap-plugin-hudson-git                                            noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    57 k
     tuleap-plugin-hudson-svn                                            noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    27 k
     tuleap-plugin-label                                                 noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    75 k
     tuleap-plugin-ldap                                                  noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   103 k
     tuleap-plugin-mediawiki                                             noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   321 k
     tuleap-plugin-oauth2-server                                         noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    95 k
     tuleap-plugin-openidconnectclient                                   noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   162 k
     tuleap-plugin-projectmilestones                                     noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   182 k
     tuleap-plugin-prometheus-metrics                                    noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                    23 k
     tuleap-plugin-pullrequest                                           noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   432 k
     tuleap-plugin-svn                                                   noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   177 k
     tuleap-plugin-taskboard                                             noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   139 k
     tuleap-plugin-testmanagement                                        noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   639 k
     tuleap-plugin-testplan                                              noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   419 k
     tuleap-plugin-tracker                                               noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   1.5 M
     tuleap-plugin-webdav                                                noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   451 k
     tuleap-theme-burningparrot                                          noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   140 k
     tuleap-theme-flamingparrot                                          noarch                                   13.5.99.9-1.el7                                                   tuleap-enterprise-dev                                   131 k
    
    Transaction Summary
    ==============================================================================================================================================================================================================================================
    Install   1 Package
    Upgrade  39 Packages
    
    Total download size: 83 M
    

    so we already install it for existing instances. gerrit #25044 explicitly makes the switch.

    User avatar

    If we want to start using it on new instances we are a bit forced to change the dependency anyway is not it?

    I don't think so, the resolver will look for gitolite3 find 2 packages that provides the feature (gitolite3 and tuleap-gitolite that provides and obsoletes gitolite3) then it's tuleap-gitolite that will be installed (at least it's how it worked in build & run).

    $> docker run --rm -ti --entrypoint /bin/bash docker.tuleap.org/tuleap-enterprise-edition:dev +x
    [root@c578509722e0 /]# rpm -qa | grep gitolite
    tuleap-gitolite3-13.5.99.9-1.3.6.12.1641463613.noarch
    [root@c578509722e0 /]# rpm -qa | grep git
    tuleap-plugin-gitlfs-13.5.99.9-1.el7.noarch
    crontabs-1.11-6.20121102git.el7.noarch
    python-pillow-2.0.0-21.gitd1c6db8.el7.x86_64
    tuleap-gitolite3-13.5.99.9-1.3.6.12.1641463613.noarch
    tuleap-git-bin-13.5.99.9-1.2.35.1.1641463613.x86_64
    libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64
    libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
    tuleap-plugin-hudson-git-13.5.99.9-1.el7.noarch
    tuleap-plugin-botmattermost-git-0.35.0-1.el7.noarch
    libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64
    tuleap-plugin-git-13.5.99.9-1.el7.noarch
    tuleap-plugin-gitlab-13.5.99.9-1.el7.noarch
    
    User avatar
    Thomas Gerbet (tgerbet)2022-02-04 14:52

    If we want to start using it on new instances we are a bit forced to change the dependency anyway is not it?

    User avatar

    I didn't do it in the first review because I was wondering if we were forcing it for existing platforms right now

    User avatar
    Thomas Gerbet (tgerbet)2022-02-04 10:57

    In fact this is not done yet, we forgot to update the dependency set to gitolite3 by the Git plugin package 😅


    • Status changed from Closed to Reopen
    • Close date cleared