Changes between Version 4 and Version 5 of HackageDB/2.0
- Timestamp:
- 07/22/11 09:40:05 (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HackageDB/2.0
v4 v5 24 24 Note that the `dist/build/blah blah` and `--static-dir` bits are only needed for running the server inplace in the build tree. If you install it then that's not needed. But it's handy while hacking on it to run inplace. 25 25 26 This creates an empty server and runs it on port 80 00, so point your browser to `http://localhost:8000/`. It creates a single administrator account with username admin and password admin (you can specify something different at init time if you like, see `hackage-server init --help` for details).26 This creates an empty server and runs it on port 8080, so point your browser to `http://localhost:8080/`. It creates a single administrator account with username admin and password admin (you can specify something different at init time if you like, see `hackage-server init --help` for details). 27 27 28 28 You can kill the server just using `control-C`. It should save state and shutdown cleanly. You can then run it again and it will resume with the same state. … … 34 34 === Creating users & uploading packages === 35 35 36 The list of registered users is at http://localhost:80 00/users/36 The list of registered users is at http://localhost:8080/users/ 37 37 38 You can register new users at http://localhost:80 00/users/register38 You can register new users at http://localhost:8080/users/register 39 39 40 I don't think there is currently any link to this page from the users page or from `http://localhost:80 00/accounts.html` but there should be! Currently there is no restriction on registering, but only an admin user can grant privileges to registered users e.g. by adding them to other groups. In particular there are groups:40 I don't think there is currently any link to this page from the users page or from `http://localhost:8080/accounts.html` but there should be! Currently there is no restriction on registering, but only an admin user can grant privileges to registered users e.g. by adding them to other groups. In particular there are groups: 41 41 42 * admins http://localhost:80 00/users/admins/ -- administrators can do things with user accounts like disabling, deleting, changing other groups etc.43 * trustees http://localhost:80 00/packages/trustees/ -- trustees can do janitorial work on all packages44 * mirrors http://localhost:80 00/packages/mirrorers/ -- for special mirroring clients that are trusted to upload packages45 * per-package maintainer groups http://localhost:80 00/package/foo/maintainers -- users allowed to upload packages42 * admins http://localhost:8080/users/admins/ -- administrators can do things with user accounts like disabling, deleting, changing other groups etc. 43 * trustees http://localhost:8080/packages/trustees/ -- trustees can do janitorial work on all packages 44 * mirrors http://localhost:8080/packages/mirrorers/ -- for special mirroring clients that are trusted to upload packages 45 * per-package maintainer groups http://localhost:8080/package/foo/maintainers -- users allowed to upload packages 46 46 47 47 Currently any registered user can upload new packages i.e. new names (we may want to review this), but only people in the package maintainer group can upload new versions of existing packages.
