Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-1504

Do not include superfluous files in distributable tar.gz

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 3.0.7
    • Fix Version/s: 3.0.9
    • Component/s: Packaging
    • Labels:
      None

      Description

      Hi,
      I've detected some superfluous files included in the distributable .tar.gz provided at https://www.percona.com/downloads/percona-toolkit/LATEST/

      At version 3.0.7 those files are:

      • .git (superflous)
      • .gitignore (superflous)
      • .travis.yml (superflous)
      • util/mysql_random_data_loader_linux_amd64 (no source code provided)
      • util/version_cmp (no source code provided)

      Please, consider the removal of superfluous files from .tar.gz file. This also will make a huge difference on the resulting distributable file:

      Including these files produces:
      rw-rr- 1 debuser debgroup 79294306 Mar 14 15:17 percona-toolkit-3.0.7.tar.gz

      Without these files produces:
      rw-rr- 1 debuser debgroup 14704469 Mar 14 15:18 percona-toolkit-3.0.7.tar.gz

      Each time I prepare a new release for Debian, I have to repack the tar.gz to remove those files...

      Thoughts?

      Thanks in advance.

      As a referece, I paste bits of my debian/changelog file:
      --%<-----------------------------------------------------------

      percona-toolkit (3.0.7+dfsg-1) unstable; urgency=medium

      • New upstream release (3.0.7)
      • Repack original tarball to remove some files and dirs:
      • .git
      • .gitignore
      • .travis.yml
      • util/mysql_random_data_loader_linux_amd64
      • util/version_cmp
        ...

      percona-toolkit (3.0.6+dfsg-1) unstable; urgency=medium

      • New upstream release (3.0.6)
      • Repack original tarball to remove some files and dirs:
      • .git
      • .gitignore
      • .travis.yml
      • util/mysql_random_data_loader_linux_amd64
        ...

      percona-toolkit (3.0.5+dfsg-1) unstable; urgency=medium

      • New upstream release (3.0.5)
      • Repack original tarball to remove some files and dirs:
      • .git
      • .gitignore
      • .travis.yml
        ...

      percona-toolkit (3.0.4+dfsg-1) unstable; urgency=medium

      • New upstream release (3.0.4)
      • Repack original tarball to remove some files and dirs:
      • .git
      • .gitignore
        ...

      percona-toolkit (3.0.3+dfsg-1) unstable; urgency=medium

      • New upstream release (3.0.3)
      • Repack original tarball to remove some files and dirs:
      • .git
      • .gitignore
      • config/deb/control.bak
      • config/rpm/percona-toolkit.spec.bak
        ...

      percona-toolkit (3.0.2+dfsg-1) unstable; urgency=medium

      • New upstream release (3.0.2)
      • Repack original tarball to remove .git metadata (.git directory
        and .gitignore file)
        ...

      --%<-----------------------------------------------------------

        Attachments

          Activity

            People

            Assignee:
            evgeniy.patlan Evgeniy Patlan
            Reporter:
            midget Dario Minnucci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 40 minutes
                6h 40m

                  Smart Checklist