Patchwork [bitbake-devel] bitbake: Drop fetch v1, v2 provides a much better codebase to build from

login
register
mail settings
Submitter Richard Purdie
Date March 4, 2012, 4 a.m.
Message ID <1330833655.3949.3.camel@ted>
Download mbox | patch
Permalink /patch/22651/
State New
Headers show

Comments

Richard Purdie - March 4, 2012, 4 a.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/__init__.py       |    5 +-
 lib/bb/fetch/__init__.py |  832 ----------------------------------------------
 lib/bb/fetch/bzr.py      |  148 --------
 lib/bb/fetch/cvs.py      |  172 ----------
 lib/bb/fetch/git.py      |  339 -------------------
 lib/bb/fetch/hg.py       |  180 ----------
 lib/bb/fetch/local.py    |   73 ----
 lib/bb/fetch/osc.py      |  143 --------
 lib/bb/fetch/perforce.py |  206 ------------
 lib/bb/fetch/repo.py     |   98 ------
 lib/bb/fetch/ssh.py      |  118 -------
 lib/bb/fetch/svk.py      |  104 ------
 lib/bb/fetch/svn.py      |  204 -----------
 lib/bb/fetch/wget.py     |   93 -----
 14 files changed, 2 insertions(+), 2713 deletions(-)
 delete mode 100644 lib/bb/fetch/__init__.py
 delete mode 100644 lib/bb/fetch/bzr.py
 delete mode 100644 lib/bb/fetch/cvs.py
 delete mode 100644 lib/bb/fetch/git.py
 delete mode 100644 lib/bb/fetch/hg.py
 delete mode 100644 lib/bb/fetch/local.py
 delete mode 100644 lib/bb/fetch/osc.py
 delete mode 100644 lib/bb/fetch/perforce.py
 delete mode 100644 lib/bb/fetch/repo.py
 delete mode 100644 lib/bb/fetch/ssh.py
 delete mode 100644 lib/bb/fetch/svk.py
 delete mode 100644 lib/bb/fetch/svn.py
 delete mode 100644 lib/bb/fetch/wget.py


[Patch removes lib/bb/fetch/*]

Patch

diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py
index dce5610..8d579c7 100644
--- a/lib/bb/__init__.py
+++ b/lib/bb/__init__.py
@@ -79,9 +79,8 @@  if "BBDEBUG" in os.environ:
     if level:
         bb.msg.set_debug_level(level)
 
-if os.environ.get("BBFETCH2"):
-    from bb import fetch2 as fetch
-    sys.modules['bb.fetch'] = sys.modules['bb.fetch2']
+from bb import fetch2 as fetch
+sys.modules['bb.fetch'] = sys.modules['bb.fetch2']
 
 # Messaging convenience functions
 def plain(*args):