aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
AgeCommit message (Collapse)AuthorFilesLines
2019-05-16version: include version information for tarballs from gitPeter Wu1-0/+1
Embed the git commit hash as well as the tag information for tarballs produced by 'git archive' (this includes the Github tarball). Example: TShark (Wireshark) 3.0.1 (Git commit ea351cd80516) Note that the embedded git ref names can include branch information, see for example `git log -n1 -s --format=%D v3.0.1`: tag: wireshark-3.0.1, tag: v3.0.1 HEAD -> bug/15544, tag: v99.99 HEAD, origin/master, origin/HEAD, master Thus, when creating release tarballs, I would recommend using the above command to see whether unnecessary branch information is present. If so, create a new post-release commit first on the same branch. This way, the release tarballs should be reproducible. While at it, increase the commit abbreviation length from 8 to 12. Currently git describe abbreviates to 10 by default. The default length is at minimum 7 and is dependent on the number of objects: git count-objects -v | perl -lne 'print int(log($1)/log(2)/2)+1 if /^in-pack: (\d+)/' Bug: 15544 Change-Id: Ifd1ed636b69f7687a7272775686f51387040a596 Reviewed-on: https://code.wireshark.org/review/33214 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2018-04-26Ensure test directories are included with git archivePeter Wu1-1/+0
"make dist" will currently fail with "git archive" archives because dftestfiles and dftestlib is missing. To encourage distributors to run tests, ensure that these files (1.64MiB uncompressed, 688KiB gzip-compressed) are bundled. Change-Id: I1fc2bd6df45db40e64e7691235f716bbf3562f87 Reviewed-on: https://code.wireshark.org/review/27158 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-06-04Ensure that run_and_catch_crashes has UNIX/POSIX line endingsPascal Quantin1-7/+8
Change-Id: If7b5047c15c747ac306960003c60a3ccd35f3e51 Reviewed-on: https://code.wireshark.org/review/8764 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-10-01Add tests for the Qt UI.Gerald Combs1-0/+1
Make sure the Qt UI quits if WIRESHARK_QUIT_AFTER_CAPTURE is set. Make sure Bourne shell scripts (*.sh) have UNIX/POSIX line endings. Reduce some time values so that the tests run faster. Change-Id: I81df7c6f72d7d807d1856863cbea1bb6326ca711 Reviewed-on: https://code.wireshark.org/review/4407 Tested-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-06-19Add simple script to export release tarball right from GitBalint Reczey1-1/+6
The files not to be present in the release tarballs are filetered based on the contents of the .gitattributes files Change-Id: If12eb00cf174f5d5b6dfffd56685b078a4593bf8 Reviewed-on: https://code.wireshark.org/review/2402 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-02-05Introduce end-of-line normalizationPascal Quantin1-0/+1
Change-Id: Ie6991af2432b193fbdc23bbbd335f83c091f14e8 Reviewed-on: https://code.wireshark.org/review/114 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Pascal Quantin <pascal.quantin@gmail.com>