diff options
author | Ian Lynagh <igloo@earth.li> | 2011-06-11 19:12:35 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-06-11 19:12:35 +0100 |
commit | c91698bfe7349a2f6edbb327872848bac6b71c5a (patch) | |
tree | 47917068e8fa8a267b2fdf2ee28b513bbdcb9bf8 /sync-all | |
parent | 792449f555bb4dfa8e718079f6d42dc9babe938a (diff) | |
download | haskell-c91698bfe7349a2f6edbb327872848bac6b71c5a.tar.gz |
Remove upstream repos from the packages file
We no longer pull directly from upstream repos, so it wasn't useful
to have it programatically available. The info, and more, is now on
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Libraries#Repositorylocations
instead.
Diffstat (limited to 'sync-all')
-rwxr-xr-x | sync-all | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -142,13 +142,12 @@ sub parsePackages { foreach (@repos) { chomp; $lineNum++; - if (/^([^# ]+) +([^ ]+) +([^ ]+) +([^ ]+) +([^ ]+)$/) { + if (/^([^# ]+) +([^ ]+) +([^ ]+) +([^ ]+)$/) { my %line; $line{"localpath"} = $1; $line{"tag"} = $2; $line{"remotepath"} = $3; $line{"vcs"} = $4; - $line{"upstream"} = $5; push @packages, \%line; } elsif (! /^(#.*)?$/) { @@ -198,7 +197,6 @@ sub scmall { my $tag; my $remotepath; my $scm; - my $upstream; my $line; my $branch_name; my $subcommand; @@ -252,7 +250,6 @@ sub scmall { $tag = $$line{"tag"}; $remotepath = $$line{"remotepath"}; $scm = $$line{"vcs"}; - $upstream = $$line{"upstream"}; # Check the SCM is OK as early as possible die "Unknown SCM: $scm" if (($scm ne "darcs") and ($scm ne "git")); |