Discussion:
[nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue
Matthias Paul Scholz
2018-04-12 08:13:03 UTC
Permalink
Hi,

I'm presently trying to integrate the CDateTime widget into our RCP
application. Since it heavily relies on databinding, I was happy to find a
CDateTimeObservableValue in Nebula that allows for binding external models
to the CDateTime widget. :)

However, when writing a SWTBot test for the widget, I have noticed that it
falis due to the fact that the CDateTimeObservableValue internally uses
Realm.getDefault() which gives rise to an exception in the the base
AbstractObservableValue in case of unit tests.

What is missing here is an additional constructor for
CDateTimeObservableValue that also takes a Realm instance and delegates to
the according constructor in AbstractObservableValue.

/MP
Wim Jongman
2018-04-16 08:37:41 UTC
Permalink
Hi Matthias,

Please file an issue and a patch, I will merge it.

Cheers,

Wim


On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <
Post by Matthias Paul Scholz
Hi,
I'm presently trying to integrate the CDateTime widget into our RCP
application. Since it heavily relies on databinding, I was happy to find a
CDateTimeObservableValue in Nebula that allows for binding external models
to the CDateTime widget. :)
However, when writing a SWTBot test for the widget, I have noticed that it
falis due to the fact that the CDateTimeObservableValue internally uses
Realm.getDefault() which gives rise to an exception in the the base
AbstractObservableValue in case of unit tests.
What is missing here is an additional constructor for
CDateTimeObservableValue that also takes a Realm instance and delegates to
the according constructor in AbstractObservableValue.
/MP
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
Wim Jongman
2018-05-10 18:16:16 UTC
Permalink
Hi Matthias,

For that you just use your normal Eclipse password.

Cheers,

Wim

From: nebula-dev-***@eclipse.org [mailto:nebula-dev-***@eclipse.org] On Behalf Of Matthias Paul Scholz
Sent: Thursday, 10 May 2018 17:05
To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

Hi Wim,
I tried to push a patch today, but for some reason, my Gerrit password (which worked fine some weeks ago) is not accepted any more.
It doesn't work when trying to log in on the web site (https://git.eclipse.org/r/login) neither.
Best,
MP

2018-04-16 10:37 GMT+02:00 Wim Jongman <***@gmail.com<mailto:***@gmail.com>>:
Hi Matthias,
Please file an issue and a patch, I will merge it.
Cheers,
Wim

On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <***@gmail.com<mailto:***@gmail.com>> wrote:
Hi,

I'm presently trying to integrate the CDateTime widget into our RCP application. Since it heavily relies on databinding, I was happy to find a CDateTimeObservableValue in Nebula that allows for binding external models to the CDateTime widget. :)
However, when writing a SWTBot test for the widget, I have noticed that it falis due to the fact that the CDateTimeObservableValue internally uses Realm.getDefault() which gives rise to an exception in the the base AbstractObservableValue in case of unit tests.
What is missing here is an additional constructor for CDateTimeObservableValue that also takes a Realm instance and delegates to the according constructor in AbstractObservableValue.
/MP

_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev


_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
Wim Jongman
2018-05-11 09:15:54 UTC
Permalink
Hi Matthias,

I am also puzzled by the Gerrit password and why we need it. I know that there has been a change so that it does not show your Gerrit password anymore [1]. So the password in Gerrit can only be viewed once. Then you have to store it somewhere or regenerate.

So the next try would be to login with your email in Gerrit and then change your Gerrit password in your account and reuse that one.

I have switched to ssh mode in Gerrit to not use the password anymore. I suggest you do the same.

Cheers,

Wim

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=531018



From: nebula-dev-***@eclipse.org [mailto:nebula-dev-***@eclipse.org] On Behalf Of Matthias Paul Scholz
Sent: Friday, 11 May 2018 09:15
To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

Hi Wim,
Yet, my Eclipse password does work for login into my Gerrit account only for my email adress as user name, but not for the user name configured in my Gerrit settings. That one is also used as the username part in the push URL in the Gerrit configuration on my local Nebula repository - hence, still no success with pushing when using the Eclipse password.
Following the guide in https://wiki.eclipse.org/Nebula/Contributions, one needs to use that username - and I remember that it worked well in the past.
Puzzled,
MP

2018-05-10 20:16 GMT+02:00 Wim Jongman <***@remainsoftware.com<mailto:***@remainsoftware.com>>:
Hi Matthias,

For that you just use your normal Eclipse password.

Cheers,

Wim

From: nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org> [mailto:nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org>] On Behalf Of Matthias Paul Scholz
Sent: Thursday, 10 May 2018 17:05
To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

Hi Wim,
I tried to push a patch today, but for some reason, my Gerrit password (which worked fine some weeks ago) is not accepted any more.
It doesn't work when trying to log in on the web site (https://git.eclipse.org/r/login) neither.
Best,
MP

2018-04-16 10:37 GMT+02:00 Wim Jongman <***@gmail.com<mailto:***@gmail.com>>:
Hi Matthias,
Please file an issue and a patch, I will merge it.
Cheers,
Wim

On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <***@gmail.com<mailto:***@gmail.com>> wrote:
Hi,

I'm presently trying to integrate the CDateTime widget into our RCP application. Since it heavily relies on databinding, I was happy to find a CDateTimeObservableValue in Nebula that allows for binding external models to the CDateTime widget. :)
However, when writing a SWTBot test for the widget, I have noticed that it falis due to the fact that the CDateTimeObservableValue internally uses Realm.getDefault() which gives rise to an exception in the the base AbstractObservableValue in case of unit tests.
What is missing here is an additional constructor for CDateTimeObservableValue that also takes a Realm instance and delegates to the according constructor in AbstractObservableValue.
/MP

_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev


_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev


_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
Matthias Paul Scholz
2018-05-16 13:04:34 UTC
Permalink
Hi Wim,

Tried that.
Now when pushing to
https://<my gerrit user name>@
git.eclipse.org/r/p/nebula/org.eclipse.nebula.git
I get the message

"prohibited by Gerrit: ref update access denied
Branch refs/heads/master:
You are not allowed to perform this operation.
To push into this reference you need 'Push' rights."

Have I lost my push rights somehow?

Best,
MP
Post by Wim Jongman
Hi Matthias,
I am also puzzled by the Gerrit password and why we need it. I know that
there has been a change so that it does not show your Gerrit password
anymore [1]. So the password in Gerrit can only be viewed once. Then you
have to store it somewhere or regenerate.
So the next try would be to login with your email in Gerrit and then
change your Gerrit password in your account and reuse that one.
I have switched to ssh mode in Gerrit to not use the password anymore. I
suggest you do the same.
Cheers,
Wim
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=531018
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Friday, 11 May 2018 09:15
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Yet, my Eclipse password does work for login into my Gerrit account only
for my email adress as user name, but not for the user name configured in
my Gerrit settings. That one is also used as the username part in the push
URL in the Gerrit configuration on my local Nebula repository - hence,
still no success with pushing when using the Eclipse password.
Following the guide in https://wiki.eclipse.org/Nebula/Contributions, one
needs to use that username - and I remember that it worked well in the past.
Puzzled,
MP
Hi Matthias,
For that you just use your normal Eclipse password.
Cheers,
Wim
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Thursday, 10 May 2018 17:05
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
I tried to push a patch today, but for some reason, my Gerrit password
(which worked fine some weeks ago) is not accepted any more.
It doesn't work when trying to log in on the web site (
https://git.eclipse.org/r/login) neither.
Best,
MP
Hi Matthias,
Please file an issue and a patch, I will merge it.
Cheers,
Wim
On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <
Hi,
I'm presently trying to integrate the CDateTime widget into our RCP
application. Since it heavily relies on databinding, I was happy to find a
CDateTimeObservableValue in Nebula that allows for binding external models
to the CDateTime widget. :)
However, when writing a SWTBot test for the widget, I have noticed that it
falis due to the fact that the CDateTimeObservableValue internally uses
Realm.getDefault() which gives rise to an exception in the the base
AbstractObservableValue in case of unit tests.
What is missing here is an additional constructor for
CDateTimeObservableValue that also takes a Realm instance and delegates to
the according constructor in AbstractObservableValue.
/MP
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
Matthias Paul Scholz
2018-05-16 14:48:55 UTC
Permalink
Maybe I have used the wrong ssh URL?
Which one do you use?

2018-05-16 16:47 GMT+02:00 Matthias Paul Scholz <
1. Changing password as you proposed.
2. Using an ssh key with an URL starting with ssh (as described in the
according Gerrit web page).
Same effect for both.
What did you try? Resetting the Gerrit password or doing SSH? In case of
SSH then the url should also start with ssh.
Cheers,
Wim
ipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Wednesday, 16 May 2018 15:05
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Tried that.
Now when pushing to
la/org.eclipse.nebula.git
I get the message
"prohibited by Gerrit: ref update access denied
You are not allowed to perform this operation.
To push into this reference you need 'Push' rights."
Have I lost my push rights somehow?
Best,
MP
Hi Matthias,
I am also puzzled by the Gerrit password and why we need it. I know that
there has been a change so that it does not show your Gerrit password
anymore [1]. So the password in Gerrit can only be viewed once. Then you
have to store it somewhere or regenerate.
So the next try would be to login with your email in Gerrit and then
change your Gerrit password in your account and reuse that one.
I have switched to ssh mode in Gerrit to not use the password anymore. I
suggest you do the same.
Cheers,
Wim
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=531018
ipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Friday, 11 May 2018 09:15
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Yet, my Eclipse password does work for login into my Gerrit account only
for my email adress as user name, but not for the user name configured in
my Gerrit settings. That one is also used as the username part in the push
URL in the Gerrit configuration on my local Nebula repository - hence,
still no success with pushing when using the Eclipse password.
Following the guide in https://wiki.eclipse.org/Nebula/Contributions,
one needs to use that username - and I remember that it worked well in the
past.
Puzzled,
MP
Hi Matthias,
For that you just use your normal Eclipse password.
Cheers,
Wim
ipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Thursday, 10 May 2018 17:05
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
I tried to push a patch today, but for some reason, my Gerrit password
(which worked fine some weeks ago) is not accepted any more.
It doesn't work when trying to log in on the web site (
https://git.eclipse.org/r/login) neither.
Best,
MP
Hi Matthias,
Please file an issue and a patch, I will merge it.
Cheers,
Wim
On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <
Hi,
I'm presently trying to integrate the CDateTime widget into our RCP
application. Since it heavily relies on databinding, I was happy to find a
CDateTimeObservableValue in Nebula that allows for binding external models
to the CDateTime widget. :)
However, when writing a SWTBot test for the widget, I have noticed that
it falis due to the fact that the CDateTimeObservableValue internally uses
Realm.getDefault() which gives rise to an exception in the the base
AbstractObservableValue in case of unit tests.
What is missing here is an additional constructor for
CDateTimeObservableValue that also takes a Realm instance and delegates to
the according constructor in AbstractObservableValue.
/MP
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
Wim Jongman
2018-05-16 18:35:52 UTC
Permalink
https url seems to be: https://<user>@git.eclipse.org/r/*a*
/nebula/org.eclipse.nebula

https://git.eclipse.org/r/#/admin/projects/nebula/org.eclipse.nebula
Post by Wim Jongman
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Wednesday, 16 May 2018 16:49
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Maybe I have used the wrong ssh URL?
Which one do you use?
2018-05-16 16:47 GMT+02:00 Matthias Paul Scholz <
1. Changing password as you proposed.
2. Using an ssh key with an URL starting with ssh (as described in the
according Gerrit web page).
Same effect for both.
What did you try? Resetting the Gerrit password or doing SSH? In case of
SSH then the url should also start with ssh.
Cheers,
Wim
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Wednesday, 16 May 2018 15:05
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Tried that.
Now when pushing to
nebula/org.eclipse.nebula.git
I get the message
"prohibited by Gerrit: ref update access denied
You are not allowed to perform this operation.
To push into this reference you need 'Push' rights."
Have I lost my push rights somehow?
Best,
MP
Hi Matthias,
I am also puzzled by the Gerrit password and why we need it. I know that
there has been a change so that it does not show your Gerrit password
anymore [1]. So the password in Gerrit can only be viewed once. Then you
have to store it somewhere or regenerate.
So the next try would be to login with your email in Gerrit and then
change your Gerrit password in your account and reuse that one.
I have switched to ssh mode in Gerrit to not use the password anymore. I
suggest you do the same.
Cheers,
Wim
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=531018
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Friday, 11 May 2018 09:15
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Yet, my Eclipse password does work for login into my Gerrit account only
for my email adress as user name, but not for the user name configured in
my Gerrit settings. That one is also used as the username part in the push
URL in the Gerrit configuration on my local Nebula repository - hence,
still no success with pushing when using the Eclipse password.
Following the guide in https://wiki.eclipse.org/Nebula/Contributions, one
needs to use that username - and I remember that it worked well in the past.
Puzzled,
MP
Hi Matthias,
For that you just use your normal Eclipse password.
Cheers,
Wim
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Thursday, 10 May 2018 17:05
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
I tried to push a patch today, but for some reason, my Gerrit password
(which worked fine some weeks ago) is not accepted any more.
It doesn't work when trying to log in on the web site (
https://git.eclipse.org/r/login) neither.
Best,
MP
Hi Matthias,
Please file an issue and a patch, I will merge it.
Cheers,
Wim
On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <
Hi,
I'm presently trying to integrate the CDateTime widget into our RCP
application. Since it heavily relies on databinding, I was happy to find a
CDateTimeObservableValue in Nebula that allows for binding external models
to the CDateTime widget. :)
However, when writing a SWTBot test for the widget, I have noticed that it
falis due to the fact that the CDateTimeObservableValue internally uses
Realm.getDefault() which gives rise to an exception in the the base
AbstractObservableValue in case of unit tests.
What is missing here is an additional constructor for
CDateTimeObservableValue that also takes a Realm instance and delegates to
the according constructor in AbstractObservableValue.
/MP
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
Matthias Paul Scholz
2018-05-17 06:56:03 UTC
Permalink
Hi Wim,

Both URLs (with my Geritt user name and, in case of the https channel my
newly configured passwort) give me

"You are not allowed to perform this operation.
To push into this reference you need 'Push' rights."

Besides, the https URL you stated differs from the one that is stated on
the Gerrit nebula page - there it is https://<user>@git.eclipse.org/r/*p*
/nebula/org.eclipse.nebula (which worked for me some weeks ago still, but
not any more now).
Post by Matthias Paul Scholz
/nebula/org.eclipse.nebula
https://git.eclipse.org/r/#/admin/projects/nebula/org.eclipse.nebula
Post by Wim Jongman
ipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Wednesday, 16 May 2018 16:49
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Maybe I have used the wrong ssh URL?
Which one do you use?
2018-05-16 16:47 GMT+02:00 Matthias Paul Scholz <
1. Changing password as you proposed.
2. Using an ssh key with an URL starting with ssh (as described in the
according Gerrit web page).
Same effect for both.
What did you try? Resetting the Gerrit password or doing SSH? In case of
SSH then the url should also start with ssh.
Cheers,
Wim
ipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Wednesday, 16 May 2018 15:05
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Tried that.
Now when pushing to
la/org.eclipse.nebula.git
I get the message
"prohibited by Gerrit: ref update access denied
You are not allowed to perform this operation.
To push into this reference you need 'Push' rights."
Have I lost my push rights somehow?
Best,
MP
Hi Matthias,
I am also puzzled by the Gerrit password and why we need it. I know that
there has been a change so that it does not show your Gerrit password
anymore [1]. So the password in Gerrit can only be viewed once. Then you
have to store it somewhere or regenerate.
So the next try would be to login with your email in Gerrit and then
change your Gerrit password in your account and reuse that one.
I have switched to ssh mode in Gerrit to not use the password anymore. I
suggest you do the same.
Cheers,
Wim
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=531018
ipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Friday, 11 May 2018 09:15
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Yet, my Eclipse password does work for login into my Gerrit account only
for my email adress as user name, but not for the user name configured in
my Gerrit settings. That one is also used as the username part in the push
URL in the Gerrit configuration on my local Nebula repository - hence,
still no success with pushing when using the Eclipse password.
Following the guide in https://wiki.eclipse.org/Nebula/Contributions,
one needs to use that username - and I remember that it worked well in the
past.
Puzzled,
MP
Hi Matthias,
For that you just use your normal Eclipse password.
Cheers,
Wim
ipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Thursday, 10 May 2018 17:05
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
I tried to push a patch today, but for some reason, my Gerrit password
(which worked fine some weeks ago) is not accepted any more.
It doesn't work when trying to log in on the web site (
https://git.eclipse.org/r/login) neither.
Best,
MP
Hi Matthias,
Please file an issue and a patch, I will merge it.
Cheers,
Wim
On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <
Hi,
I'm presently trying to integrate the CDateTime widget into our RCP
application. Since it heavily relies on databinding, I was happy to find a
CDateTimeObservableValue in Nebula that allows for binding external models
to the CDateTime widget. :)
However, when writing a SWTBot test for the widget, I have noticed that
it falis due to the fact that the CDateTimeObservableValue internally uses
Realm.getDefault() which gives rise to an exception in the the base
AbstractObservableValue in case of unit tests.
What is missing here is an additional constructor for
CDateTimeObservableValue that also takes a Realm instance and delegates to
the according constructor in AbstractObservableValue.
/MP
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
Wim Jongman
2018-05-17 07:40:35 UTC
Permalink
Hi Matthias,

I changed the wiki (;

Please ping me on skype wim.jongman so that we can sort this out.

Cheers,

Wim

From: nebula-dev-***@eclipse.org [mailto:nebula-dev-***@eclipse.org] On Behalf Of Matthias Paul Scholz
Sent: Thursday, 17 May 2018 08:56
To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

Hi Wim,
Both URLs (with my Geritt user name and, in case of the https channel my newly configured passwort) give me

"You are not allowed to perform this operation.
To push into this reference you need 'Push' rights."
Besides, the https URL you stated differs from the one that is stated on the Gerrit nebula page - there it is https://<user>@git.eclipse.org/r/<http://git.eclipse.org/r/>p/nebula/org.eclipse.nebula (which worked for me some weeks ago still, but not any more now).

2018-05-16 20:35 GMT+02:00 Wim Jongman <***@gmail.com<mailto:***@gmail.com>>:
https url seems to be: https://<user>@git.eclipse.org/r/<http://git.eclipse.org/r/>a/nebula/org.eclipse.nebula

https://git.eclipse.org/r/#/admin/projects/nebula/org.eclipse.nebula

On Wed, May 16, 2018 at 7:14 PM, Wim Jongman <***@remainsoftware.com<mailto:***@remainsoftware.com>> wrote:
ssh://<user>@git.eclipse.org:29418/nebula/org.eclipse.nebula.git<http://git.eclipse.org:29418/nebula/org.eclipse.nebula.git>

From: nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org> [mailto:nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org>] On Behalf Of Matthias Paul Scholz
Sent: Wednesday, 16 May 2018 16:49

To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

Maybe I have used the wrong ssh URL?
Which one do you use?

2018-05-16 16:47 GMT+02:00 Matthias Paul Scholz <***@gmail.com<mailto:***@gmail.com>>:
Actually, I did try both:
1. Changing password as you proposed.
2. Using an ssh key with an URL starting with ssh (as described in the according Gerrit web page).
Same effect for both.

2018-05-16 16:32 GMT+02:00 Wim Jongman <***@remainsoftware.com<mailto:***@remainsoftware.com>>:
What did you try? Resetting the Gerrit password or doing SSH? In case of SSH then the url should also start with ssh.

Cheers,

Wim


From: nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org> [mailto:nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org>] On Behalf Of Matthias Paul Scholz
Sent: Wednesday, 16 May 2018 15:05

To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

Hi Wim,
Tried that.
Now when pushing to
https://<my gerrit user name>@git.eclipse.org/r/p/nebula/org.eclipse.nebula.git<http://git.eclipse.org/r/p/nebula/org.eclipse.nebula.git>
I get the message

"prohibited by Gerrit: ref update access denied
Branch refs/heads/master:
You are not allowed to perform this operation.
To push into this reference you need 'Push' rights."
Have I lost my push rights somehow?
Best,
MP

2018-05-11 11:15 GMT+02:00 Wim Jongman <***@remainsoftware.com<mailto:***@remainsoftware.com>>:
Hi Matthias,

I am also puzzled by the Gerrit password and why we need it. I know that there has been a change so that it does not show your Gerrit password anymore [1]. So the password in Gerrit can only be viewed once. Then you have to store it somewhere or regenerate.

So the next try would be to login with your email in Gerrit and then change your Gerrit password in your account and reuse that one.

I have switched to ssh mode in Gerrit to not use the password anymore. I suggest you do the same.

Cheers,

Wim

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=531018



From: nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org> [mailto:nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org>] On Behalf Of Matthias Paul Scholz
Sent: Friday, 11 May 2018 09:15

To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

Hi Wim,
Yet, my Eclipse password does work for login into my Gerrit account only for my email adress as user name, but not for the user name configured in my Gerrit settings. That one is also used as the username part in the push URL in the Gerrit configuration on my local Nebula repository - hence, still no success with pushing when using the Eclipse password.
Following the guide in https://wiki.eclipse.org/Nebula/Contributions, one needs to use that username - and I remember that it worked well in the past.
Puzzled,
MP

2018-05-10 20:16 GMT+02:00 Wim Jongman <***@remainsoftware.com<mailto:***@remainsoftware.com>>:
Hi Matthias,

For that you just use your normal Eclipse password.

Cheers,

Wim

From: nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org> [mailto:nebula-dev-***@eclipse.org<mailto:nebula-dev-***@eclipse.org>] On Behalf Of Matthias Paul Scholz
Sent: Thursday, 10 May 2018 17:05
To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime widget: no possibility to specify Realm in CDateTimeObservableValue

Hi Wim,
I tried to push a patch today, but for some reason, my Gerrit password (which worked fine some weeks ago) is not accepted any more.
It doesn't work when trying to log in on the web site (https://git.eclipse.org/r/login) neither.
Best,
MP

2018-04-16 10:37 GMT+02:00 Wim Jongman <***@gmail.com<mailto:***@gmail.com>>:
Hi Matthias,
Please file an issue and a patch, I will merge it.
Cheers,
Wim

On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <***@gmail.com<mailto:***@gmail.com>> wrote:
Hi,

I'm presently trying to integrate the CDateTime widget into our RCP application. Since it heavily relies on databinding, I was happy to find a CDateTimeObservableValue in Nebula that allows for binding external models to the CDateTime widget. :)
However, when writing a SWTBot test for the widget, I have noticed that it falis due to the fact that the CDateTimeObservableValue internally uses Realm.getDefault() which gives rise to an exception in the the base AbstractObservableValue in case of unit tests.
What is missing here is an additional constructor for CDateTimeObservableValue that also takes a Realm instance and delegates to the according constructor in AbstractObservableValue.
/MP

_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev


_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev


_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev


_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev


_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev



_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev


_______________________________________________
nebula-dev mailing list
nebula-***@eclipse.org<mailto:nebula-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
Matthias Paul Scholz
2018-05-29 05:08:08 UTC
Permalink
Hi Wim,

I've contacted you with my new Skype account.

Best,
MP
Post by Wim Jongman
Hi Matthias,
I changed the wiki (;
Please ping me on skype wim.jongman so that we can sort this out.
Cheers,
Wim
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Thursday, 17 May 2018 08:56
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Both URLs (with my Geritt user name and, in case of the https channel my
newly configured passwort) give me
"You are not allowed to perform this operation.
To push into this reference you need 'Push' rights."
Besides, the https URL you stated differs from the one that is stated on
/nebula/org.eclipse.nebula (which worked for me some weeks ago still, but
not any more now).
/nebula/org.eclipse.nebula
https://git.eclipse.org/r/#/admin/projects/nebula/org.eclipse.nebula
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Wednesday, 16 May 2018 16:49
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Maybe I have used the wrong ssh URL?
Which one do you use?
2018-05-16 16:47 GMT+02:00 Matthias Paul Scholz <
1. Changing password as you proposed.
2. Using an ssh key with an URL starting with ssh (as described in the
according Gerrit web page).
Same effect for both.
What did you try? Resetting the Gerrit password or doing SSH? In case of
SSH then the url should also start with ssh.
Cheers,
Wim
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Wednesday, 16 May 2018 15:05
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Tried that.
Now when pushing to
nebula/org.eclipse.nebula.git
I get the message
"prohibited by Gerrit: ref update access denied
You are not allowed to perform this operation.
To push into this reference you need 'Push' rights."
Have I lost my push rights somehow?
Best,
MP
Hi Matthias,
I am also puzzled by the Gerrit password and why we need it. I know that
there has been a change so that it does not show your Gerrit password
anymore [1]. So the password in Gerrit can only be viewed once. Then you
have to store it somewhere or regenerate.
So the next try would be to login with your email in Gerrit and then
change your Gerrit password in your account and reuse that one.
I have switched to ssh mode in Gerrit to not use the password anymore. I
suggest you do the same.
Cheers,
Wim
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=531018
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Friday, 11 May 2018 09:15
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
Yet, my Eclipse password does work for login into my Gerrit account only
for my email adress as user name, but not for the user name configured in
my Gerrit settings. That one is also used as the username part in the push
URL in the Gerrit configuration on my local Nebula repository - hence,
still no success with pushing when using the Eclipse password.
Following the guide in https://wiki.eclipse.org/Nebula/Contributions, one
needs to use that username - and I remember that it worked well in the past.
Puzzled,
MP
Hi Matthias,
For that you just use your normal Eclipse password.
Cheers,
Wim
eclipse.org] *On Behalf Of *Matthias Paul Scholz
*Sent:* Thursday, 10 May 2018 17:05
*To:* Nebula Dev
*Subject:* Re: [nebula-dev] CDateTime widget: no possibility to specify
Realm in CDateTimeObservableValue
Hi Wim,
I tried to push a patch today, but for some reason, my Gerrit password
(which worked fine some weeks ago) is not accepted any more.
It doesn't work when trying to log in on the web site (
https://git.eclipse.org/r/login) neither.
Best,
MP
Hi Matthias,
Please file an issue and a patch, I will merge it.
Cheers,
Wim
On Thu, Apr 12, 2018 at 10:13 AM, Matthias Paul Scholz <
Hi,
I'm presently trying to integrate the CDateTime widget into our RCP
application. Since it heavily relies on databinding, I was happy to find a
CDateTimeObservableValue in Nebula that allows for binding external models
to the CDateTime widget. :)
However, when writing a SWTBot test for the widget, I have noticed that it
falis due to the fact that the CDateTimeObservableValue internally uses
Realm.getDefault() which gives rise to an exception in the the base
AbstractObservableValue in case of unit tests.
What is missing here is an additional constructor for
CDateTimeObservableValue that also takes a Realm instance and delegates to
the according constructor in AbstractObservableValue.
/MP
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
Loading...