Exclude files/dirs from git-generated archive files

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Trivial - P5
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Meta
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Samuel Rossi (Inactive)
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: