From: Johnjohn <jj...@us...> - 2004-03-17 10:23:49
|
Update of /cvsroot/ngetsuite/ngetsuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv856 Modified Files: ngetcache.sql ngetsuite.rb Log Message: deleting a group deletes everything related to it in the database added a field 'ignoreregex' in groups, can be set using -I ; will prevent nget to download articles which subject matches that (using nget's -R) added a fiels 'category' for groups, can be set using -S ; actually unused Index: ngetcache.sql =================================================================== RCS file: /cvsroot/ngetsuite/ngetsuite/ngetcache.sql,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ngetcache.sql 20 Feb 2004 14:42:43 -0000 1.11 --- ngetcache.sql 17 Mar 2004 10:14:18 -0000 1.12 *************** *** 59,65 **** --- 59,67 ---- `fullname` varchar(128) NOT NULL, `shortname` varchar(32) NOT NULL default '', + `category` varchar(128) default NULL, `directory` varchar(255) NOT NULL default '', `active` set('yes','no') NOT NULL default 'yes', `description` varchar(255) default NULL, + `ignoreregex` varchar(255) default NULL, `date_added` datetime NOT NULL default '0000-00-00 00:00:00', `date_updated` datetime default NULL, Index: ngetsuite.rb =================================================================== RCS file: /cvsroot/ngetsuite/ngetsuite/ngetsuite.rb,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ngetsuite.rb 5 Mar 2004 15:28:04 -0000 1.21 --- ngetsuite.rb 17 Mar 2004 10:14:18 -0000 1.22 *************** *** 20,23 **** --- 20,24 ---- [ '--update-group', '-u', GetoptLong::REQUIRED_ARGUMENT, 'groupid', 'Update the header cache for the specified group'], [ '--update-all-groups', '-v', GetoptLong::NO_ARGUMENT, 'Update headers for all groups'], + [ '--set-group-category', '-S', GetoptLong::REQUIRED_ARGUMENT, 'groupid,category', 'Set the category of the group'], [ '--list-nfos', '-l', GetoptLong::OPTIONAL_ARGUMENT, '[groupid]', 'Lists already fetched nfos' ], [ '--list-releases', '-L', GetoptLong::OPTIONAL_ARGUMENT, '[groupid]', 'Lists detected releases' ], *************** *** 26,29 **** --- 27,31 ---- [ '--queue-article', '-q', GetoptLong::REQUIRED_ARGUMENT, 'groupid,articleid', 'Adds an article to the download queue'], [ '--queue-regexp', '-r', GetoptLong::REQUIRED_ARGUMENT, 'gid,regexp[,prio,period,dir]', 'Adds a regexp to the download queue' ], + [ '--set-ignore-regexp', '-I', GetoptLong::REQUIRED_ARGUMENT, 'gid[,regexp]', 'Sets the regexp that nget will use as ignore-regexp (none for remove)' ], [ '--show-queue', '-t', GetoptLong::OPTIONAL_ARGUMENT, '[groupid]', 'Shows the current download queue'], [ '--start-manager', '-m', GetoptLong::NO_ARGUMENT, 'Launches the download manager'], |