Edgewall Software

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#10960 closed defect (fixed)

Downloaded zip file from repository viewer has strange duplicated root directories — at Version 3

Reported by: Jun Omae Owned by: Martin.vGagern@…
Priority: low Milestone: 1.0.2
Component: version control/browser Version: 0.12-stable
Severity: minor Keywords: zip svn
Cc: Branch:
Release Notes:

Fixed duplicated root directories in downloaded zip file.

API Changes:
Internal Changes:

Description

I downloaded a zip file of plugins/0.12/mercurial-plugin from repository viewer. The file has strange duplicated root directories, such as the following.

$ unzip -l plugins_0.12_mercurial-plugin-11470.zip
Archive:  plugins_0.12_mercurial-plugin-11470.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  11-13-2012 23:41   /
        0  11-13-2012 23:41   /
    17992  11-02-2005 18:05   plugins/0.12/mercurial-plugin/COPYING
     2678  10-26-2009 06:02   plugins/0.12/mercurial-plugin/README
      530  01-03-2012 00:14   plugins/0.12/mercurial-plugin/setup.cfg
     1758  01-03-2012 00:14   plugins/0.12/mercurial-plugin/setup.py
        0  01-03-2012 00:14   plugins/0.12/mercurial-plugin/tracext/
       56  02-13-2006 12:42   plugins/0.12/mercurial-plugin/tracext/__init__.py
        0  01-03-2012 00:14   plugins/0.12/mercurial-plugin/tracext/hg/
        2  02-13-2006 12:42   plugins/0.12/mercurial-plugin/tracext/hg/__init__.py
    49169  01-03-2012 00:14   plugins/0.12/mercurial-plugin/tracext/hg/backend.py
     4766  01-03-2012 00:14   plugins/0.12/mercurial-plugin/tracext/hg/hooks.py
        0  01-03-2012 00:14   plugins/0.12/mercurial-plugin/tracext/hg/locale/
        0  01-03-2012 00:14   plugins/0.12/mercurial-plugin/tracext/hg/locale/fr/
        0  01-03-2012 00:14   plugins/0.12/mercurial-plugin/tracext/hg/locale/fr/LC_MESSAGES/
     2988  01-03-2012 00:14   plugins/0.12/mercurial-plugin/tracext/hg/locale/fr/LC_MESSAGES/tracmercurial.po
     2235  01-03-2012 00:14   plugins/0.12/mercurial-plugin/tracext/hg/locale/messages.pot
---------                     -------
    82174                     17 files

Trac 0.12-stable, 1.0-stable and trunk with subversion 1.6 and 1.7 have the issue. Trac 0.11.x does not have the issue because the zip file has no directories.

Change History (3)

comment:1 by Christian Boos, 11 years ago

Milestone: next-minor-0.12.x1.0.2
Resolution: fixed
Status: newclosed

This was also fixed by r11744

Although the hard-code links to the old-style don't anymore:

changeset:head/plugins/0.12/mercurial-plugin?old_path=%2F&format=zip

One should now use instead:

source:plugins/0.12/mercurial-plugin?format=zip

comment:2 by Christian Boos, 11 years ago

Owner: set to Martin.vGagern@…

comment:3 by Ryan J Ollos, 11 years ago

Release Notes: modified (diff)
Note: See TracTickets for help on using tickets.