[PATCH/RFC] Use submodule for dnspython

Jelmer Vernooij jelmer at jelmer.uk
Tue May 5 16:16:51 MDT 2015

TL;DR: This patch removes our copy of dnspython from the tree and instead
puts a submodule in place.


This should make updates of external libraries (just dnspython for
now) easier to review in the future as you'll just see a one-line diff
updating it to a new upstream SHA. This way we also know we don't
have any local changes.

We currently use a mirror of the upstream dnspython repository that is
hosted on git.samba.org - just in case upstream changes their URL.

What changes for users

A consequence of this is that if "dnspython" is not installed on the
system and if samba wasn't cloned using 'git clone --recursive',
the user will get the following message during configure:

  ERROR: Unable to find Python module 'dnspython'. Please install the
  system package or check out the relevant submodule by running
  'git submodule update --init'.

(Previously Samba would automatically use the bundled version)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: submodule-dnspython.diff
Type: text/x-diff
Size: 714229 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150505/adbd23e6/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150505/adbd23e6/attachment-0001.pgp>

More information about the samba-technical mailing list