Skip to content

Add a script to populate the db #3

Open

Description

@ezio-melotti

Currently after starting the container and running rd-admin init, the db is empty.
There should be a script to easily populate the db, able to quickly:

  1. create a few users with different permissions (a Coordinator, a Developer, and a regular user)
  2. create a few issues with a few messages each
  3. create a specific number of users/issues/messages/etc with specific parameters
  4. perhaps import an issue from bpo

This script might also be exploited by the tests.

Activity

  1. added 2 commits that reference this issue on Mar 10, 2017
  2. ezio-melotti commented on Mar 10, 2017

    @ezio-melotti
    MemberAuthor

    #7 addresses the first point.
    I think this might be enough, since creating new users from rd-admin is easy. Issues and messages are also easy to create from rd-admin and/or from the tracker (once it's initialized and has a few issues), so implementing the points 2-3 might be unnecessary.
    I now think that implementing 4 is a good idea that can also replace 2-3, but should be developed as a separate script.

  3. added 5 commits that reference this issue on Mar 10, 2017
  4. added 4 commits that reference this issue on Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions