SVN: toys/rsget.pl/RSGet: Curl.pm Dispatch.pm FileList.pm Get.pm Tools.pm

sparky sparky at pld-linux.org
Wed Nov 4 00:08:21 CET 2009


Author: sparky
Date: Wed Nov  4 00:08:21 2009
New Revision: 10943

Modified:
   toys/rsget.pl/RSGet/Curl.pm
   toys/rsget.pl/RSGet/Dispatch.pm
   toys/rsget.pl/RSGet/FileList.pm
   toys/rsget.pl/RSGet/Get.pm
   toys/rsget.pl/RSGet/Tools.pm
Log:
- added type to def_settings


Modified: toys/rsget.pl/RSGet/Curl.pm
==============================================================================
--- toys/rsget.pl/RSGet/Curl.pm	(original)
+++ toys/rsget.pl/RSGet/Curl.pm	Wed Nov  4 00:08:21 2009
@@ -34,19 +34,19 @@
 		desc => "Rename backup files with specified suffix. " .
 			"If none defined -N will be added to file name, without disrupting file extension.",
 		allowed => qr/\S*/,
-		dynamic => "STRING",
+		type => "STRING",
 		user => 1,
 	},
 	outdir => {
 		desc => "Output directory; where finished files are moved to.",
 		default => '.',
-		dynamic => "STRING",
+		type => "PATH",
 		user => 1,
 	},
 	workdir => {
 		desc => "Work directory; where unfinished files are stored.",
 		default => '.',
-		dynamic => "STRING",
+		type => "PATH",
 		user => 1,
 	},
 );

Modified: toys/rsget.pl/RSGet/Dispatch.pm
==============================================================================
--- toys/rsget.pl/RSGet/Dispatch.pm	(original)
+++ toys/rsget.pl/RSGet/Dispatch.pm	Wed Nov  4 00:08:21 2009
@@ -15,13 +15,13 @@
 		desc => "Number of slots (per IP) to use if getter has no limitation.",
 		default => 8,
 		allowed => qr/0*[1-9]\d*/,
-		dynamic => "NUMBER",
+		type => "NUMBER",
 	},
 	max_slots_check => {
 		desc => "Number of slots per service (per IP) to use when checking file information.",
 		default => 8,
 		allowed => qr/0*[1-9]\d*/,
-		dynamic => "NUMBER",
+		type => "NUMBER",
 	},
 
 );

Modified: toys/rsget.pl/RSGet/FileList.pm
==============================================================================
--- toys/rsget.pl/RSGet/FileList.pm	(original)
+++ toys/rsget.pl/RSGet/FileList.pm	Wed Nov  4 00:08:21 2009
@@ -16,11 +16,13 @@
 		desc => "If lock file exists, list file won't be updated.",
 		default => '$(dir)/.$(file).swp',
 		allowed => qr/.+/,
+		type => "PATH",
 		user => 1,
 	},
 	list_file => {
 		desc => "Use specified file as URI list.",
 		allowed => qr/.+/,
+		type => "PATH",
 		user => 1,
 	}
 );

Modified: toys/rsget.pl/RSGet/Get.pm
==============================================================================
--- toys/rsget.pl/RSGet/Get.pm	(original)
+++ toys/rsget.pl/RSGet/Get.pm	Wed Nov  4 00:08:21 2009
@@ -19,7 +19,7 @@
 		desc => "Save errors.",
 		default => 0,
 		allowed => qr/\d/,
-		dynamic => "NUMBER",
+		type => "NUMBER",
 	},
 );
 

Modified: toys/rsget.pl/RSGet/Tools.pm
==============================================================================
--- toys/rsget.pl/RSGet/Tools.pm	(original)
+++ toys/rsget.pl/RSGet/Tools.pm	Wed Nov  4 00:08:21 2009
@@ -153,6 +153,7 @@
 		default => "Default value.",
 		allowed => "RegExp that defines allowed values.",
 		dynamic => "May be changed after start.",
+		type => "Type of the setting.",
 		user => "May be modified by user.",
 	);
 	foreach my $k ( keys %s ) {


More information about the pld-cvs-commit mailing list