Skip to content
Edsko de Vries edited this page Aug 22, 2013 · 4 revisions

Listing of all haskell-scripts URIs.

Main page

  • /
  • /packages/hackage.html

Package list

  • /packages/archive/pkg-list.html

Recently uploaded

  • /packages/archive/recent.html
  • /packages/archive/recent.rss

Account information/change password page

  • /packages/accounts.html

Admin page

  • /packages/admin.html

Search page

  • /packages/advancedsearch.html
  • /packages/search.html

Package index

  • /packages/00-index.tar.gz
  • /packages/archive/00-index.tar.gz
    • with structure /<package>/<version>/<package>.cabal, and also /preferred-versions

Global upload log

  • /packages/archive/log

Distributions

  • /packages/archive/00-distromap/<distro>

Package

  • /packages/archive/<package>/
  • /packages/archive/<package>/<version>/
  • /packages/archive/<package>/<version>/<package>.cabal
  • /packages/archive/<package>/<version>/<package>-<version>.tar.gz
  • /packages/archive/<package>/<version>/tags

Server-side build reports

  • /packages/archive/<package>/<version>/logs/success/ghc-<version>
  • /packages/archive/<package>/<version>/logs/failure/ghc-<version>

Package info which may not exist

  • /packages/archive/<package>/distroinfo (may not exist)
  • /packages/archive/<package>/<version>/doc/html/<doctree>
  • /packages/archive/<package>/latest/doc/html/<doctree>
    • The Haddock <doctree> structured is for all <path> = (<hierarchy>-)*<module>
    • <path>.html
    • mini_<path>.html
    • doc-index-<symbol>.html
    • src/<path>.html

Current versions tar

  • /cgi-bin/hackage-scripts/archive.tar
    • with structure <package>/<version>/<package>-<version>.tar.gz

Upload and check

  • /cgi-bin/hackage-scripts/protected/upload-pkg
  • /packages/upload
  • /cgi-bin/hackage-scripts/check-pkg
  • /packages/check
    • POST as multipart/form-data with a file selector named "package"

Package page

  • /cgi-bin/hackage-scripts/package/ (serve pkg-list.html)
  • /cgi-bin/hackage-scripts/package/<package>
  • /cgi-bin/hackage-scripts/package/<package>-<version>
  • /package/<package>
  • /package/<package>-<version>

Password change

  • /cgi-bin/hackage-scripts/htpasswd
    • POST as application/x-www-form-urlencoded: user=<user name>&old=<old password>&new=<new password>&new2=<confirmation>

Search

  • /cgi-bin/hackage-scripts/search
    • POST as application/x-www-form-urlencoded: either text=<formatted query>, or a long sequence of various parameters

Admin scripts

  • /cgi-bin/hackage-scripts/admin/htpasswd
  • /cgi-bin/hackage-scripts/admin/list-users
  • /cgi-bin/hackage-scripts/admin/re-index
  • /cgi-bin/hackage-scripts/admin/update-docs

Statistics

  • /cgi-bin/hackage-scripts/stats

Other (non-essential)

  • /packages/archive/cabal<distro>Map.txt
  • /packages/archive/<package>/<version>/log (deprecated)
  • /packages/archive/preferred-versions
  • /packages/archive/hackage-daily.png (sparklines)
  • /packages/archive/hackage-monthly.png