Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1180

Exclude files/dirs from git-generated archive files

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Meta
    • None

      GitHub releases are generated from git archive and we can use the .gitattributes file to exclude files. I think there's a good case to be made that the tarball should omit "developer" files so it's as small and focused as possible.

      Candidates for inclusion:

      • /.* – exclude all dot files, including .evergreen, .gitignore, .travis.yml etc.
      • /appveyor.yml – just like excluding .travis.yml
      • /docs – exclude all the hugo source files and HTML template for the docs site
      • /etc – exclude all these development helpers

      The downside of removing things like docs and etc is that some developer build targets will be broken, but I don't think that will have an impact on the typical user. Anyone who wants a "developer's view" of the code should clone the repo.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: