summaryrefslogtreecommitdiff
path: root/scripts/feeds
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-10-24 12:36:51 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-10-24 12:36:51 +0000
commit0d74b4546764201d9a87549dbe089248ff8171d9 (patch)
treec0fe97be3d12e64883b814a1a54a56c8604981d1 /scripts/feeds
parentd78a574019ef5eb00596b07a4b96892e1012c942 (diff)
downloadmtk-20170518-0d74b4546764201d9a87549dbe089248ff8171d9.zip
mtk-20170518-0d74b4546764201d9a87549dbe089248ff8171d9.tar.gz
mtk-20170518-0d74b4546764201d9a87549dbe089248ff8171d9.tar.bz2
add support for darcs-based feeds
The following patch adds support for darcs-based feeds. It is tested and works well for my purpose. I wish it were committed upstream so that I can share my feed with other users without converting it to svn/git/whatever. Best regards, Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr> SVN-Revision: 23616
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-xscripts/feeds7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds
index 4c0fe91..84f97fe 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -123,7 +123,11 @@ my %update_method = (
'src-hg' => {
'init' => "hg clone '%s' '%s'",
'update' => "hg pull --update",
- 'controldir' => ".hg"}
+ 'controldir' => ".hg"},
+ 'src-darcs' => {
+ 'init' => "darcs get '%s' '%s'",
+ 'update' => "darcs pull -a",
+ 'controldir' => "_darcs"},
);
# src-git: pull broken
@@ -278,6 +282,7 @@ my %install_method = (
'src-git' => \&install_generic,
'src-bzr' => \&install_generic,
'src-hg' => \&install_generic,
+ 'src-darcs' => \&install_generic,
);
my %feed;