Re: Error on SCM repo migration from RB 5.0.5 to 6.0.2

2024-03-01 Thread David Trowbridge
Florian,

If you're seeing "missing support" in the list, it's because pysvn isn't
loaded correctly. You'll still be able to create/edit repositories but they
won't actually work until that's fixed. Recreating the repository
configurations won't change that, and deleting a repository entry will
delete all linked data.

You can't just "pip install pysvn". Someone has created a "pysvn" package
on pypi, but it's not the same library. You'll need to use our installation
script.

David

On Fri, Mar 1, 2024 at 3:38 PM Florian Miedniak 
wrote:

> Hi David,
>
> I'm using the docker images, both for 5.0.5 and 6.0.2. For the 6.0.2 rb
> container I installed pysvn via Pip.
> Since adding a new subversion repo worked just fine, I doubt it's a
> general problem of pysvn, right?
>
> Any further ideas? Anything I can do to further track it down?
> Btw, it would also be ok to manually recreate all repos, as long as
> existing review records don't get broken...
>
> -Florian
>
> Florian Miedniak  schrieb am Fr., 1. März
> 2024, 18:45:
>
>> Hi,
>>
>> I'm just trying to upgrade from RB 5.0.5 to 6.0.2, which went quite well
>> so far. Though, having a look at the upgraded installation, I discovered a
>> problem with SCM repository settings:
>> Repos that had been are properly configured for Subversion in RB 5.0.5,
>> are missing the repo-specific settings after upgrade to RB 6.0.2.
>> - https://.../admin/db/scmtools/repository/ now shows a new column
>> "Type/Account" which contains for all affected repos "subversion (missing
>> support)"
>> - Settings (Repo type, path, credentials) are simply gone
>> - When trying to edit an existing repo, in dropdown "Repository type"
>> there isn't an entry for "Subversion" at all.
>> - When creating a new repo from scratch, the dropdown has an entry
>> "Subversion", rest of configuration then is straight forward and working
>> well.
>>
>> It seems to me, that there is some kind of (database?) migration missing.
>>
>> Is there anything I can do to solve this other than simply recreating all
>> the repos? I fear a bit that doing so, relations to existing review records
>> are broken ...
>>
>> Best regards,
>> -Florian
>>
>> --
>> 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 a topic in the
>> Google Groups "Review Board Community" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/reviewboard/zppupZ36uzE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> reviewboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/reviewboard/c2d42fc8-db68-4b4e-b9f6-bbd4f8f9cb94n%40googlegroups.com
>> 
>> .
>>
> --
> 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
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/CADq2vJDDsJXGbLQCXshz1h_e0eMcZZ%2BZaZYMUDB82k%3DKXFhDiQ%40mail.gmail.com
> 
> .
>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNXZOk87Cq0PG9tYzKJPk4JYjL4fTjPnkNPEJ1yyvOObGQ%40mail.gmail.com.


Re: Error on SCM repo migration from RB 5.0.5 to 6.0.2

2024-03-01 Thread Florian Miedniak
Hi David,

I'm using the docker images, both for 5.0.5 and 6.0.2. For the 6.0.2 rb
container I installed pysvn via Pip.
Since adding a new subversion repo worked just fine, I doubt it's a general
problem of pysvn, right?

Any further ideas? Anything I can do to further track it down?
Btw, it would also be ok to manually recreate all repos, as long as
existing review records don't get broken...

-Florian

Florian Miedniak  schrieb am Fr., 1. März 2024,
18:45:

> Hi,
>
> I'm just trying to upgrade from RB 5.0.5 to 6.0.2, which went quite well
> so far. Though, having a look at the upgraded installation, I discovered a
> problem with SCM repository settings:
> Repos that had been are properly configured for Subversion in RB 5.0.5,
> are missing the repo-specific settings after upgrade to RB 6.0.2.
> - https://.../admin/db/scmtools/repository/ now shows a new column
> "Type/Account" which contains for all affected repos "subversion (missing
> support)"
> - Settings (Repo type, path, credentials) are simply gone
> - When trying to edit an existing repo, in dropdown "Repository type"
> there isn't an entry for "Subversion" at all.
> - When creating a new repo from scratch, the dropdown has an entry
> "Subversion", rest of configuration then is straight forward and working
> well.
>
> It seems to me, that there is some kind of (database?) migration missing.
>
> Is there anything I can do to solve this other than simply recreating all
> the repos? I fear a bit that doing so, relations to existing review records
> are broken ...
>
> Best regards,
> -Florian
>
> --
> 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 a topic in the
> Google Groups "Review Board Community" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/reviewboard/zppupZ36uzE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/c2d42fc8-db68-4b4e-b9f6-bbd4f8f9cb94n%40googlegroups.com
> 
> .
>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CADq2vJDDsJXGbLQCXshz1h_e0eMcZZ%2BZaZYMUDB82k%3DKXFhDiQ%40mail.gmail.com.


Re: Error on SCM repo migration from RB 5.0.5 to 6.0.2

2024-03-01 Thread David Trowbridge
Florian,

You probably had subvertpy installed previously. Review Board 6 has removed
the subvertpy backend because it caused significant problems. You'll need
to install PySVN. We have a guide for doing that at
https://www.reviewboard.org/docs/manual/latest/admin/installation/linux/#installing-svn

David

On Fri, Mar 1, 2024 at 10:45 AM Florian Miedniak 
wrote:

> Hi,
>
> I'm just trying to upgrade from RB 5.0.5 to 6.0.2, which went quite well
> so far. Though, having a look at the upgraded installation, I discovered a
> problem with SCM repository settings:
> Repos that had been are properly configured for Subversion in RB 5.0.5,
> are missing the repo-specific settings after upgrade to RB 6.0.2.
> - https://.../admin/db/scmtools/repository/ now shows a new column
> "Type/Account" which contains for all affected repos "subversion (missing
> support)"
> - Settings (Repo type, path, credentials) are simply gone
> - When trying to edit an existing repo, in dropdown "Repository type"
> there isn't an entry for "Subversion" at all.
> - When creating a new repo from scratch, the dropdown has an entry
> "Subversion", rest of configuration then is straight forward and working
> well.
>
> It seems to me, that there is some kind of (database?) migration missing.
>
> Is there anything I can do to solve this other than simply recreating all
> the repos? I fear a bit that doing so, relations to existing review records
> are broken ...
>
> Best regards,
> -Florian
>
> --
> 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
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/c2d42fc8-db68-4b4e-b9f6-bbd4f8f9cb94n%40googlegroups.com
> 
> .
>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNXsbcaxgdY6%3D5pTOqgZ3dky%3D_t1ueG_KZdA4D%3DPUUGtug%40mail.gmail.com.


Re: The eviewboard api does not change users emails

2024-03-01 Thread David Trowbridge
Parameters to PUT and POST operations in the API need to be specified as
form-data, not query parameters or JSON. This can be done with the -F
parameter to curl:

curl -H "Authorization: ..." -H "Accept: ..." -X PUT-F "email="
https:///api/users//

David

On Fri, Mar 1, 2024 at 10:45 AM Lyova Pogosyan  wrote:

> Hi,
>
> I am using RB 6.0.2 and I want to change multiply users emails, so I need
> to use the api.
> I tried many options, but I could not update any user's email.
>
> My query is:
> curl -H "Authorization: token " -H "Accept: application/json" -X
> PUT "https:///api/users//?email="
>
> The response is as expected in example:
> User Resource | Review Board latest Documentation | Review Board
> 
>
> Just the users email is not updated
>
> Also I have tried to send json header but the result is same:
> curl -H "Authorization: token " -H "Accept: application/json" -X
> PUT "https:///api/users//" -H "Content-Type:
> application/json" -d "{'email': ''}"
>
> --
> 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
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/bd8cc1df-dbae-4b7c-a133-9637f1e74166n%40googlegroups.com
> 
> .
>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNUVbTMK%3DTxCFAmQxAEZuQ%2B-dGSWyni4RjRtqNNqoS3iWA%40mail.gmail.com.


The eviewboard api does not change users emails

2024-03-01 Thread Lyova Pogosyan
Hi,

I am using RB 6.0.2 and I want to change multiply users emails, so I need 
to use the api.
I tried many options, but I could not update any user's email.

My query is:
curl -H "Authorization: token " -H "Accept: application/json" -X 
PUT "https:///api/users//?email="

The response is as expected in example:
User Resource | Review Board latest Documentation | Review Board 


Just the users email is not updated

Also I have tried to send json header but the result is same:
curl -H "Authorization: token " -H "Accept: application/json" -X 
PUT "https:///api/users//" -H "Content-Type: 
application/json" -d "{'email': ''}"

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/bd8cc1df-dbae-4b7c-a133-9637f1e74166n%40googlegroups.com.


Error on SCM repo migration from RB 5.0.5 to 6.0.2

2024-03-01 Thread Florian Miedniak
Hi,

I'm just trying to upgrade from RB 5.0.5 to 6.0.2, which went quite well so 
far. Though, having a look at the upgraded installation, I discovered a 
problem with SCM repository settings:
Repos that had been are properly configured for Subversion in RB 5.0.5, are 
missing the repo-specific settings after upgrade to RB 6.0.2.
- https://.../admin/db/scmtools/repository/ now shows a new column 
"Type/Account" which contains for all affected repos "subversion (missing 
support)"
- Settings (Repo type, path, credentials) are simply gone
- When trying to edit an existing repo, in dropdown "Repository type" there 
isn't an entry for "Subversion" at all.
- When creating a new repo from scratch, the dropdown has an entry 
"Subversion", rest of configuration then is straight forward and working 
well.

It seems to me, that there is some kind of (database?) migration missing.

Is there anything I can do to solve this other than simply recreating all 
the repos? I fear a bit that doing so, relations to existing review records 
are broken ...

Best regards,
-Florian 

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/c2d42fc8-db68-4b4e-b9f6-bbd4f8f9cb94n%40googlegroups.com.