Commit graph

12 commits

Author SHA1 Message Date
Ludovic Courtès 3b9cee4638 gnupdate: Fix unbound-variable in `%ftp-login'.
* maintainers/scripts/gnu/gnupdate.scm (%ftp-login): Bind `command' to
  the command.

svn path=/nixpkgs/trunk/; revision=21742
2010-05-12 12:22:40 +00:00
Ludovic Courtès b43b098513 gnupdate: Re-fix thinko.
svn path=/nixpkgs/trunk/; revision=21717
2010-05-10 21:26:57 +00:00
Ludovic Courtès 5583d516d2 gnupdate: Add `--dry-run' option.
* maintainers/scripts/gnu/gnupdate.scm (%options): Add `dry-run'.
  (main): Handle `--dry-run'.

svn path=/nixpkgs/trunk/; revision=21716
2010-05-10 21:26:53 +00:00
Ludovic Courtès 5dd1036a04 gnupdate: Add optional directory argument to `ftp-list'.
* maintainers/scripts/gnu/gnupdate.scm (ftp-list): Add optional
  DIRECTORY argument.
  (releases): Pass DIRECTORY to `ftp-list'.

svn path=/nixpkgs/trunk/; revision=21715
2010-05-10 21:26:48 +00:00
Ludovic Courtès d8c33c1820 gnupdate: Handle FTP logins with password.
* maintainers/scripts/gnu/gnupdate.scm (%ftp-login): New procedure.
  (ftp-open): Use it.

svn path=/nixpkgs/trunk/; revision=21714
2010-05-10 21:26:43 +00:00
Ludovic Courtès fd9d4a5747 gnupdate: Add quirk for MIT/GNU Scheme.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory)[quirks]:
  Add `mit-scheme'.
  (nixpkgs->gnu-name)[quirks]: Ditto.

svn path=/nixpkgs/trunk/; revision=21711
2010-05-10 14:30:55 +00:00
Ludovic Courtès fbb4886d49 gnupdate: Fix typo in the GNU predicate.
* maintainers/scripts/gnu/gnupdate.scm (gnu?): Fix typo analyzing
  `meta.homepage'.

svn path=/nixpkgs/trunk/; revision=21706
2010-05-10 14:30:35 +00:00
Ludovic Courtès e4fecd6b8e gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21703
2010-05-10 12:33:58 +00:00
Ludovic Courtès 7e4f5567d4 gnupdate: Add quirk for `commoncpp2'.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory)[quirks]:
  Add `commoncpp2'.

svn path=/nixpkgs/trunk/; revision=21700
2010-05-09 23:14:55 +00:00
Ludovic Courtès 11d4a76c27 gnupdate: Use SSAX instead of SXML to reduce the memory & CPU overhead.
* maintainers/scripts/gnu/gnupdate.scm (xml-element->snix): New
  procedure.
  (xml->snix): Rewrite to use a parser generated by `ssax:make-parser'.
  (%options)[sxml]: Remove.
  (main): Update accordingly.

svn path=/nixpkgs/trunk/; revision=21695
2010-05-09 23:14:29 +00:00
Ludovic Courtès f226c85249 gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21049
2010-04-13 08:56:00 +00:00
Ludovic Courtès d41df5eb06 Add GNU package update script.
svn path=/nixpkgs/trunk/; revision=21040
2010-04-12 23:02:36 +00:00