Hello Christian,
Sorry for late reply. I have tried the RB 3.0 - wasn't able to configure
Review Bot 1.0 and went back to 2.5.13. Now I cannot upgrade the site any
more due to some failed evolution
{code}
------------------ <begin log output> ------------------
Creating tables ...
There are unapplied evolutions for webapi.
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
The stored evolutions do not completely resolve all model changes.
Run `./manage.py evolve --hint` to see a suggestion for the changes
required.
The following are the changes that could not be resolved:
The application reviewbotext has been deleted
The application integrations has been deleted
The model reviews.GeneralComment has been deleted
The model reviews.StatusUpdate has been deleted
In model reviews.Review:
Field 'general_comments' has been deleted
In model reviews.ReviewRequestDraft:
Field 'owner' has been deleted
In model changedescs.ChangeDescription:
Field 'user' has been deleted
In model accounts.Profile:
Field 'settings' has been deleted
In model attachments.FileAttachment:
Field 'uuid' has been deleted
Field 'local_site' has been deleted
Field 'user' has been deleted
In field 'file':
Property 'null' has changed
In model site.LocalSite:
Field 'extra_data' has been deleted
CommandError: Your models contain changes that Django Evolution cannot
resolve automatically.
{code}
Can you please let me know how can I have a clean install and migrate the
data or how can I fix the evolution?
joi, 15 iunie 2017, 05:53:30 UTC+3, Christian Hammond a scris:
>
> Hi Florian,
>
> I believe you'll need the release-0.2.x branch of Review Bot in order to
> work with 2.5.x. The 0.1.x branch is too ancient.
>
> It's important to note that 0.1.x and 0.2.x are not meant for production
> use. There very well may be bugs or other issues you run into. These
> versions are unreleased and will never be released.
>
> However, Review Bot 1.0 will be released alongside Review Board 3.0, and
> it is built for production use. You can try it now with a RB 3.0 beta 1,
> using Review Bot's master branch.
>
> Christian
>
> On Tue, Jun 13, 2017 at 3:37 AM, Florian Mocanu <[email protected]
> <javascript:>> wrote:
>
>> Do I have any way of making the ReviewBot working on 2.5.12.
>>
>> The error that I have in logs is the following:
>>
>>
>> 2017-06-13 13:35:43,745 - ERROR - - djblets.extensions.manager - Error
>> loading extension reviewbotext: cannot import name review_request_resource
>> Traceback (most recent call last):
>> File
>> "/usr/lib/python2.6/site-packages/Djblets-0.9.7-py2.6.egg/djblets/extensions/manager.py",
>>
>> line 449, in _load_extensions
>> ext_class = entrypoint.load()
>> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in
>> load
>> entry = __import__(self.module_name, globals(),globals(),
>> ['__name__'])
>> File
>> "/usr/lib/python2.6/site-packages/Review_Bot_Extension-0.1-py2.6.egg/reviewbotext/extension.py",
>>
>> line 14, in <module>
>> from reviewbotext.resources import review_bot_review_resource, \
>> File
>> "/usr/lib/python2.6/site-packages/Review_Bot_Extension-0.1-py2.6.egg/reviewbotext/resources.py",
>>
>> line 14, in <module>
>> from reviewboard.webapi.resources import WebAPIResource, \
>> ImportError: cannot import name review_request_resource
>>
>>
>> Also if ReviewBot is not a solution - do you know any other extension
>> that does the trick?
>>
>> Thank you.
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
--
Supercharge your Review Board with Power Pack:
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons:
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.