pike.git / lib / modules / Tools.pmod / Monger.pmod / MongerDeveloper.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Monger.pmod/MongerDeveloper.pike:1:   // -*- Pike -*-    - // $Id: MongerDeveloper.pike,v 1.4 2008/01/13 17:03:13 nilsson Exp $ + // $Id: MongerDeveloper.pike,v 1.5 2008/04/03 14:58:18 grubba Exp $      #pike __REAL_VERSION__    - constant version = ("$Revision: 1.4 $"/" ")[1]; + constant version = ("$Revision: 1.5 $"/" ")[1];   constant description = "MongerDeveloper: the Pike module manger.";      private string default_repository = "http://modules.gotpike.org:8000/xmlrpc/index.pike";   private string default_builddir = getenv("HOME") + "/.monger";   private string repository;   private string builddir;      private int use_force=0;   private int use_local=0;   private string my_command;
pike.git/lib/modules/Tools.pmod/Monger.pmod/MongerDeveloper.pike:261:    else    exit(1, "repository error: no recommended version to %s.\n"    "use --force --version=ver to force %s of a particular version.\n",    my_command, my_command);       mapping vi = x->get_module_version_info((int)module_id, dv);       return vi + info;   }    + #if 0   private void do_download(string name, string|void version)   {    mapping vi = get_module_action_data(name, version);       if(vi->download)    {    write("beginning download of version %s...\n", vi->version);    array rq = Protocols.HTTP.get_url_nice(vi->download);    if(!rq)    exit(1, "download error: unable to access download url\n");
pike.git/lib/modules/Tools.pmod/Monger.pmod/MongerDeveloper.pike:403:    object x = xmlrpc_handler(repository);       if(name && strlen(name))    results=x->get_modules_match(name);    else    results=x->get_modules();       foreach(results, string r)    write("%s\n", r);   } + #endif /* 0 */      string generate_components(string root_directory)   {    Stdio.Stat s = file_stat(root_directory);       if(!s ||!s->isdir)    {    throw(Error.Generic(root_directory + " is not a directory.\n"));    }