What version are you running?
What's the URL of the page this enhancement relates to, if any?
installation and rb-site
Describe the enhancement and the motivation for it.
Need a way to provision a new installation with powerpack (add, enable, import license, import user, setup). This is needed so internally we can provision new installation but also for the VVE product where ReviewBoard is integrated and we automate the whole installation/setup/configuration during the build.
What operating system are you using? What browser?
Please provide any additional information below.
I'm working on automating provisioning for ReviewBoard.
Working on the powerpack now.
I know the powerpack license is linked to the "secret key" so it's not a problem.
What I'm trying to do is to preset the powerpack from command line.
That's my plan:
1- Installation (via pip)
2- Change the secret key to a fixed one (for our automated test)
3- Enable the powerpack
4- Import license
5- Import all existing user
6- Set the Automatic user licensing
7- Preset selection (feature of powerpack)
I didn't find the key in rb-site so I'll probably have to revert to some scripting like for setting the domain name. I found the related entries in the "Djblets_Extensions:Registered extensions" table under "rbpowerpack.extension.PowerPackExtension". Seems everything is in it for 3-4-6-7 So there must be a way to change it without going directly in the DB.
Still missing the import of existing user.
And what is the "licensed_users_stamp" (if it's fixed or if it changes between install/overtime) ?
Before going into the djblets, would there be some undocumented (or documented I would have miss) flag that already allow to perform the same action (or some of them) ?
This is needed so internally we can provision new installation but also for the VVE product where ReviewBoard is integrated and we automate the whole installation/setup/configuration during the build.