SqueakSource bug?

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

SqueakSource bug?

Frank Shearar
Hi,

I had a great idea last night, that of reimplementing RSpec in
Smalltalk. So I hacked up a basic implementation and just added a new
project to SqueakSource.

But it turns out that someone else (Dave Astels and Keith Hodges)
has/have already made such a project.

(a) I'd have expected an error on saving the project, and
(b) if you go to http://www.squeaksource.com/SSpec.html you'll see my
commit uploaded (fine, because the repository's globally open), but at
least temporarily the registration showed

MCHttpRepository
     location: 'http://www.squeaksource.com/SSpec'
     user: 'fbs'
     password: ''

(As a further nit, it'd be great if hitting Save looked like it did
something, like redirecting to the project page afterwards.)

frank

Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource bug?

Tobias Pape

Am 2011-03-26 um 22:06 schrieb Frank Shearar:

> Hi,
>
> I had a great idea last night, that of reimplementing RSpec in Smalltalk. So I hacked up a basic implementation and just added a new project to SqueakSource.
>
> But it turns out that someone else (Dave Astels and Keith Hodges) has/have already made such a project.
>
> (a) I'd have expected an error on saving the project, and
> (b) if you go to http://www.squeaksource.com/SSpec.html you'll see my commit uploaded (fine, because the repository's globally open), but at least temporarily the registration showed
>
> MCHttpRepository
>    location: 'http://www.squeaksource.com/SSpec'
>    user: 'fbs'
>    password: ''
>

WHat is the potential bug?
> (As a further nit, it'd be great if hitting Save looked like it did something, like redirecting to the project page afterwards.)

I do not quite understand, where are you being redirected?

So Long,
        -Tobias
Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource bug?

Levente Uzonyi-2
In reply to this post by Frank Shearar
On Sat, 26 Mar 2011, Frank Shearar wrote:

> Hi,
>
> I had a great idea last night, that of reimplementing RSpec in Smalltalk. So
> I hacked up a basic implementation and just added a new project to
> SqueakSource.
>
> But it turns out that someone else (Dave Astels and Keith Hodges) has/have
> already made such a project.
>
> (a) I'd have expected an error on saving the project, and

Did you use the same project name?

> (b) if you go to http://www.squeaksource.com/SSpec.html you'll see my commit
> uploaded (fine, because the repository's globally open), but at least
> temporarily the registration showed
>
> MCHttpRepository
>    location: 'http://www.squeaksource.com/SSpec'
>    user: 'fbs'
>    password: ''

This is because you were logged in.


Levente

>
> (As a further nit, it'd be great if hitting Save looked like it did
> something, like redirecting to the project page afterwards.)
>
> frank
>
>

Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource bug?

Frank Shearar
On 2011/03/27 09:48, Levente Uzonyi wrote:

> On Sat, 26 Mar 2011, Frank Shearar wrote:
>
>> Hi,
>>
>> I had a great idea last night, that of reimplementing RSpec in
>> Smalltalk. So I hacked up a basic implementation and just added a new
>> project to SqueakSource.
>>
>> But it turns out that someone else (Dave Astels and Keith Hodges)
>> has/have already made such a project.
>>
>> (a) I'd have expected an error on saving the project, and
>
> Did you use the same project name?

I'm not sure. I used "SSpec", which produced the mentioned repository,
but the original project seems to have the title "SSpec BDD testing
framework".

>> (b) if you go to http://www.squeaksource.com/SSpec.html you'll see my
>> commit uploaded (fine, because the repository's globally open), but at
>> least temporarily the registration showed
>>
>> MCHttpRepository
>> location: 'http://www.squeaksource.com/SSpec'
>> user: 'fbs'
>> password: ''
>
> This is because you were logged in.

Ah, OK. In other words, if I went to a random project I'd also see that.

> Levente
>
>>
>> (As a further nit, it'd be great if hitting Save looked like it did
>> something, like redirecting to the project page afterwards.)
>>
>> frank
>>
>>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource bug?

Frank Shearar
In reply to this post by Tobias Pape
On 2011/03/27 07:26, Tobias Pape wrote:

>
> Am 2011-03-26 um 22:06 schrieb Frank Shearar:
>
>> Hi,
>>
>> I had a great idea last night, that of reimplementing RSpec in Smalltalk. So I hacked up a basic implementation and just added a new project to SqueakSource.
>>
>> But it turns out that someone else (Dave Astels and Keith Hodges) has/have already made such a project.
>>
>> (a) I'd have expected an error on saving the project, and
>> (b) if you go to http://www.squeaksource.com/SSpec.html you'll see my commit uploaded (fine, because the repository's globally open), but at least temporarily the registration showed
>>
>> MCHttpRepository
>>     location: 'http://www.squeaksource.com/SSpec'
>>     user: 'fbs'
>>     password: ''
>>
>
> WHat is the potential bug?
>> (As a further nit, it'd be great if hitting Save looked like it did something, like redirecting to the project page afterwards.)
>
> I do not quite understand, where are you being redirected?

The problem is that I'm _not_ being redirected. I press the Save button
and I stay on the project creation page without any indication whether I
even pressed the Save button or not.

Maybe that's a bug caused by my (accidentally) trying to reuse a project
name.

frank

Reply | Threaded
Open this post in threaded view
|

Re: SqueakSource bug?

Tobias Pape
>>
>
> The problem is that I'm _not_ being redirected. I press the Save button and I stay on the project creation page without any indication whether I even pressed the Save button or not.
>
> Maybe that's a bug caused by my (accidentally) trying to reuse a project name.

I suppose. there should be an indication that the name is taken, tho.

So Long,
        -Tobias