New Versionner Tool and Authentication

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

New Versionner Tool and Authentication

Sean P. DeNigris
Administrator
It seems maybe the "commit Xyz patch" tool is creating new instances of repositories instead of using the existing ones? Even though I am logged into sthub/Pharo/TxText, when I try to commit a config and new package versions for packages, dialogs pop up to enter my username and password, and even if I fill them out the credentials don't seem to be accepted. After cancelling, I can copy them over from my cache in the MC browser, so I'm definitely logged in. Any ideas?
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: New Versionner Tool and Authentication

EstebanLM
yes… is a bug who should be fixed if you install bleedingEdge… I’m sorry for the mess.

Esteban

> On 03 May 2015, at 19:29, Sean P. DeNigris <[hidden email]> wrote:
>
> It seems maybe the "commit Xyz patch" tool is creating new instances of
> repositories instead of using the existing ones? Even though I am logged
> into sthub/Pharo/TxText, when I try to commit a config and new package
> versions for packages, dialogs pop up to enter my username and password, and
> even if I fill them out the credentials don't seem to be accepted. After
> cancelling, I can copy them over from my cache in the MC browser, so I'm
> definitely logged in. Any ideas?
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/New-Versionner-Tool-and-Authentication-tp4824032.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: New Versionner Tool and Authentication

Sean P. DeNigris
Administrator
EstebanLM wrote
I’m sorry for the mess.
Don't be! This is a great feature. I'm happy to test it :)
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: New Versionner Tool and Authentication

Sean P. DeNigris
Administrator
In reply to this post by EstebanLM
EstebanLM wrote
should be fixed if you install bleedingEdge…
I installed #bleedingEdge but it is still happening :/
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: New Versionner Tool and Authentication

EstebanLM
damn… can you check if this method looks like this?

VSCommitAction>>#commitPackage: packageName comment: comment
        | remoteRepository version |

        remoteRepository := self remoteRepository.
        version := self workingCopy
                newVersionWithMessage: comment
                in: remoteRepository.
        self retryOnCredentialRequest: [ remoteRepository storeVersion: version ]

> On 04 May 2015, at 07:06, Sean P. DeNigris <[hidden email]> wrote:
>
> EstebanLM wrote
>> should be fixed if you install bleedingEdge…
>
> I installed #bleedingEdge but it is still happening :/
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/New-Versionner-Tool-and-Authentication-tp4824032p4824137.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: New Versionner Tool and Authentication

Sean P. DeNigris
Administrator
EstebanLM wrote
damn… can you check if this method looks like this?
It does... Digging a bit, it seems that the problem is that the TxText config reports the repository 'http://www.smalltalkhub.com/mc/Pharo/TxText/main/', but the instance in the image is 'http://smalltalkhub.com/mc/Pharo/TxText/main/' (no 'www')
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: New Versionner Tool and Authentication

EstebanLM
mmm… but I don’t know if I can consider them same repository (it is in this case, and probably 99% of the cases, but not all, I think).
What do you think?

Esteban

> On 04 May 2015, at 12:45, Sean P. DeNigris <[hidden email]> wrote:
>
> EstebanLM wrote
>> damn… can you check if this method looks like this?
>
> It does... Digging a bit, it seems that the problem is that the TxText
> config reports the repository
> 'http://www.smalltalkhub.com/mc/Pharo/TxText/main/', but the instance in the
> image is 'http://smalltalkhub.com/mc/Pharo/TxText/main/' (no 'www')
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/New-Versionner-Tool-and-Authentication-tp4824032p4824206.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: New Versionner Tool and Authentication

Sean P. DeNigris
Administrator
EstebanLM wrote
mmm… but I don’t know if I can consider them same repository (it is in this case, and probably 99% of the cases, but not all, I think).
What do you think?
The easiest way would be to remove the www from the config :) Slightly more general might be to delegate the comparison to the repo object. Since we have a subclass for sthub, and we know that it specifically doesn't care about www-or-not, we could handle that there without affecting other servers that might make a distinction...
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: New Versionner Tool and Authentication

EstebanLM

> On 04 May 2015, at 13:06, Sean P. DeNigris <[hidden email]> wrote:
>
> EstebanLM wrote
>> mmm… but I don’t know if I can consider them same repository (it is in
>> this case, and probably 99% of the cases, but not all, I think).
>> What do you think?
>
> The easiest way would be to remove the www from the config :) Slightly more
> general might be to delegate the comparison to the repo object. Since we
> have a subclass for sthub, and we know that it specifically doesn't care
> about www-or-not, we could handle that there without affecting other servers
> that might make a distinction…

yep… in any case, making the string comparison I’m making now is obviously not cool.

Esteban

>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/New-Versionner-Tool-and-Authentication-tp4824032p4824215.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: New Versionner Tool and Authentication

Sean P. DeNigris
Administrator
In reply to this post by Sean P. DeNigris
Sean P. DeNigris wrote
The easiest way would be to remove the www from the config :)
Done. Problem solved... for the moment :)
Cheers,
Sean