tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
copy-tarballs.pl: skip files that are patches
Solene Rapenne
3 years ago
f0e4074e
e9b835d9
+6
1 changed file
expand all
collapse all
unified
split
maintainers
scripts
copy-tarballs.pl
+6
maintainers/scripts/copy-tarballs.pl
reviewed
···
164
164
my $algo = $fetch->{type};
165
165
my $hash = $fetch->{hash};
166
166
my $name = $fetch->{name};
167
167
+
my $isPatch = $fetch->{isPatch};
167
168
168
169
if ($hash =~ /^([a-z0-9]+)-([A-Za-z0-9+\/=]+)$/) {
169
170
$algo = $1;
···
187
186
188
187
if ($url !~ /^http:/ && $url !~ /^https:/ && $url !~ /^ftp:/ && $url !~ /^mirror:/) {
189
188
print STDERR "skipping $url (unsupported scheme)\n";
189
189
+
next;
190
190
+
}
191
191
+
192
192
+
if ($isPatch) {
193
193
+
print STDERR "skipping $url (support for patches is missing)\n";
190
194
next;
191
195
}
192
196