@@ -166,6 +166,7 @@ fn test_is_uuid() {
166
166
}
167
167
168
168
// FIXME: implement url/URL parsing so we don't have to resort to weak checks
169
+ // (#2661)
169
170
170
171
fn has_archive_extension ( p : str ) -> bool {
171
172
str:: ends_with ( p, ".tar" ) ||
@@ -189,7 +190,7 @@ fn is_archive_path(u: str) -> bool {
189
190
190
191
fn is_archive_url ( u : str ) -> bool {
191
192
// FIXME: this requires the protocol bit - if we had proper url parsing,
192
- // we wouldn't need it
193
+ // we wouldn't need it (#2661)
193
194
194
195
alt str:: find_str ( u, "://" ) {
195
196
option:: some ( i) { has_archive_extension ( u) }
@@ -958,7 +959,7 @@ fn cmd_uninstall(c: cargo) {
958
959
959
960
// FIXME: needs stronger pattern matching
960
961
// FIXME: needs to uninstall from a specified location in a cache instead
961
- // of looking for it (binaries can be uninstalled by name only)
962
+ // of looking for it (binaries can be uninstalled by name only) (#2662)
962
963
if is_uuid( target) {
963
964
for os:: list_dir( lib) . each { |file|
964
965
alt str :: find_str( file, "-" + target + "-") {
@@ -1061,7 +1062,7 @@ fn install_query(c: cargo, wd: str, target: str) {
1061
1062
1062
1063
// FIXME: This whole dep_cache and current_install
1063
1064
// thing is a bit of a hack. It should be cleaned up in the future.
1064
-
1065
+ // #2662
1065
1066
if target == c. current_install {
1066
1067
for c. dep_cache. each { |k, _v|
1067
1068
c. dep_cache. remove( k) ;
@@ -1894,7 +1895,7 @@ fn main(argv: [str]) {
1894
1895
if !first_time && o. free[ 1 ] != "init" {
1895
1896
cmd_init( c) ;
1896
1897
1897
- // FIXME: shouldn't need to reconfigure
1898
+ // FIXME: shouldn't need to reconfigure (#2662)
1898
1899
c = configure( o) ;
1899
1900
}
1900
1901
0 commit comments