Project Manager, Archive command doesn't archive local Pretty libraries

Bug #1789038 reported by Kerusey Karyu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
jean-pierre charras

Bug Description

As in title. "Archive project" create archive with all project files in project folder, including subfolders, but local Pretty libraries are skipped.
The main problem lay in folder name. When it include a dot - for ex: `gerber.old` - it will be skipped. So, all folders with any kind of extension also will be skipped.

This might produce unhelpful archives (backups) in some cases.

Application: kicad
Version: (5.0.0), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Kerusey Karyu (keruseykaryu-deactivatedaccount) wrote :

And one more thing. It will be nice when archive filename will include date and time of creation. For ex. `project_20180901_134022.zip`

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 90788a5a72d8d4d2c80a7ed74dd7312e15b37b0a
https://git.launchpad.net/kicad/patch/?id=90788a5a72d8d4d2c80a7ed74dd7312e15b37b0a

Changed in kicad:
status: New → Fix Committed
assignee: nobody → jean-pierre charras (jp-charras)
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Just a reminder, the fix for this bug should be applied to the stable 5 branch.

Changed in kicad:
milestone: none → 5.0.1
Revision history for this message
jean-pierre charras (jp-charras) wrote :

I just pushed the fix into the stable 5.0.1 branch

Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.