Skip to contentSkip to conversation

bitbake: gitannex.py: Add Git Annex support

PATCH New Otavio Salvador 1 participant 1 message Jan 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: gitannex.py: Add Git Annex support

This add a Git Annex backend which reuses the Git fetcher code; it allows managing files with git, without checking the file contents into git, being useful when dealing with files larger than git can currently easily handle, whether due to limitations in memory, time, or disk space.

---
Please keep me in Cc as I am not subscribed to the mailing list

 bitbake/lib/bb/fetch2/__init__.py |  2 ++
 bitbake/lib/bb/fetch2/gitannex.py | 76 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)
 create mode 100644 bitbake/lib/bb/fetch2/gitannex.py
bitbake/lib/bb/fetch2/__init__.py +2 -0
index b9f673c..a51e333 100644
@@ -1514,6 +1514,7 @@ class Fetch(object):
 from . import cvs
 from . import git
 from . import gitsm
+from . import gitannex
 from . import local
 from . import svn
 from . import wget
@@ -1531,6 +1532,7 @@ methods.append(wget.Wget())
 methods.append(svn.Svn())
 methods.append(git.Git())
 methods.append(gitsm.GitSM())
+methods.append(gitannex.GitANNEX())
 methods.append(cvs.Cvs())
 methods.append(svk.Svk())
 methods.append(ssh.SSH())
bitbake/lib/bb/fetch2/gitannex.py new file +76 -0

76 lines not on this page · raw message

Signature · 1 line
1.8.5.2