Bug #59

Bug #247: Version 1.7 bugfixes

SCons srcdist differs from Make version

Added by Ole Hansen over 3 years ago. Updated almost 3 years ago.

Status:NewStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-Estimated time:4.00 hours
Target version:1.7Spent time:-
Responsible:

Description

make srcdist produces a different archive than scons srcdist=1.

Make includes explicitly selected content in the archive, subject to a list of exclusion patterns. That works well - any clutter (extra directories, extra files) one adds in the working copy will not be archived unless one takes action and changes the Makefile. Conversely, SCons seems to want to archive everything unless specifically excluded. So one has to exclude explicitly what one doesn't want, which changes frequently, and it is easy to overlook something which then ends up in the archive. Additionally, the regexp exclusion doesn't even seem to be able to match certain conditions: for example, db_*.dat files only in the top-level directory - it's either all db_*.dat files or none. So test db files would need to go into a separate work directory, which then needs to be added to the exclusion list. That doesn't work well.

disttar.py should be modified to allow an inclusion list in addition to the exclusions.

History

#1 Updated by Ole Hansen over 3 years ago

  • Priority changed from Normal to Low

#2 Updated by Ole Hansen over 3 years ago

  • Start date deleted (01/19/2017)
  • Parent task set to #77

#3 Updated by Ole Hansen almost 3 years ago

  • Target version changed from 1.6 to 1.7

#4 Updated by Ole Hansen almost 3 years ago

  • Parent task changed from #77 to #247

Also available in: Atom PDF