•  
      request #8076 Save deleted git repositories before purging them
    Infos
    #8076
    Nouha Terzi (terzino)
    2015-07-23 09:12
    2015-05-13 17:44
    7423
    Details
    Save deleted git repositories before purging them
    As done for documents and files, we need to move the git archives thru archivedeleteditem plugin before purging them.
    enhancement
    SCM/Git
    All
    Empty
    Empty
    Stage
    Nouha Terzi (terzino)
    Closed
    2015-07-23
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Artifact Tracker v5

    Follow-ups

    • User avatar
      Merged in Tuleap 8.4.99.14.

      Thanks for your contribution !

      • Status changed from Under review to Closed
      • Close date changed from 2015-05-13 to 2015-07-23
    • User avatar
      Could you please review this new version: https://gerrit.tuleap.net/#/c/3959/9 ?
    • User avatar

      I add my comments posted on Gerrit here:

      I've got this in my logs:

      2015-06-10T06:10:02+02:00 [info] Purge of archived Gitolite repository: depot3
      2015-06-10T06:10:02+02:00 [info] [Gitolite] Moving to the archiving area before purge: depot3
      2015-06-10T06:10:02+02:00 [debug] Delete backup git-anonymous_depot3_1433867908
      2015-06-10T06:10:02+02:00 [info] Purge of Gitolite repository: depot3 terminated

      But I've nothing in my archive dir (defined in the archived deleted item plugin):

      ll /home/codendiadm total 0

      Maybe log more errors ?

    • User avatar
      Here are my results :

      ## logs

      2015-06-04T06:10:01+02:00 [info] Purge of archived Gitolite repository: mouhahaha
      2015-06-04T06:10:01+02:00 [info] [Gitolite] Moving to the archiving area before purge: mouhahaha
      2015-06-04T06:10:01+02:00 [debug] Delete backup git-anonymous_mouhahaha_1433346818
      2015-06-04T06:10:01+02:00 [info] Purge of Gitolite repository: mouhahaha terminated

      ## Archived area

      -bash-4.1# ll /tmp/ -rw-r----- 1 root root 6588 May 28 08:44 git-anonymous_mouhahaha_1432817006.tar.gz.backup

      So I've got few questions:

      * Why the prefix _gitolite_ is not used ?
      * Does the owner must be root:root ?

      (You can see this comment in Gerrit directly)
    • User avatar
      a new patch has been uploadeD. thank you for your review.
    • User avatar
      Thank you to review it at gerrit #3959

      • Status changed from Under implementation to Under review
    • User avatar

      • Assigned to changed from None to Nouha Terzi (terzino)