Some squeaksource.com updates

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

Some squeaksource.com updates

David T. Lewis
Mail notifications for squeaksource.com updates have now been enabled.
This function was disabled when squeaksource.com was initially re-hosted
on squeak.org, and should now once again work as expected.

Earlier problems that had caused repeat mail notifications for existing
updates have been resolved and are not expected to cause further problems.

The welcome page for http://squeaksource.com has been updated for factual
content, and hopefully to appear less alarming for casual visitors.

The policy of disabling new project creation remains in effect.

With the welcome page updates, I also removed the instructions for
moving projects from SqS to the newer repositories, because it seems
a bit too unwelcoming for a "welcome" page. However, this is
important information, so we need to keep it available somewhere.
Is this (or could it be) available on a FAQ somewhere? If so I will
link to it from the SqS welcome page.

Here is the part that I removed:

  <h2>Migration to SmalltalkHub</h2>
  <p>To migrate so SmalltalkHub use the following script</p>
 
  <div class="format" style="color: #CD0A0A; background-color: #FEF1EC; border: 2px solid #CD0A0A; padding: 5px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;">| source goSource destination goDestination files destinationFiles |
  <br/>
  source := MCHttpRepository location: ''http://www.squeaksource.com/YOURPROJECT''.
  destination := MCSmalltalkhubRepository
  &nbsp;&nbsp;&nbsp;&nbsp;owner: ''YOURNAME''
  &nbsp;&nbsp;&nbsp;&nbsp;project: ''YOURPROJECT''
  &nbsp;&nbsp;&nbsp;&nbsp;user: ''YOURNAME''
  &nbsp;&nbsp;&nbsp;&nbsp;password: ''YOURPASSWORD''.
  <br/>
  goSource := Gofer new repository: source.
  goDestination := Gofer new repository: destination.
  <br/>
  files := source allVersionNames.
  <br/>
  (goSource allResolved select: [ :resolved | files anySatisfy: [ :each |
  &nbsp;&nbsp;&nbsp;&nbsp;resolved name = each ] ]) do: [ :each | goSource package: each packageName ].
  <br/>
  goSource fetch. "downloads all mcz on your computer"
  <br/>
  destinationFiles := destination allVersionNames. "checks what files are already at destination"
  files reject: [ :file | destinationFiles includes: file ] thenDo: [ :file |
  &nbsp;&nbsp;&nbsp;&nbsp;goDestination version: file ]. "selects only the mcz that are not yet at destination"
  <br/>
  goDestination push. "sends everything to SmalltalkHub"
  <br/>
  self assert: destination allVersionNames sorted = files sorted.
  "checks we have exactly the same files at source and destination"</div>

Thanks,

Dave


Reply | Threaded
Open this post in threaded view
|

Re: Some squeaksource.com updates

Sean P. DeNigris
Administrator
David T. Lewis wrote
The welcome page for http://squeaksource.com has been updated... The policy of disabling new project creation remains in effect.
Thanks! It is good that so much of our history will remain accessible...

"create any number of projects to host on our server" should probably be removed
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Some squeaksource.com updates

David T. Lewis
On Sun, Dec 01, 2013 at 07:11:59PM -0800, Sean P. DeNigris wrote:
> David T. Lewis wrote
> > The welcome page for http://squeaksource.com has been updated... The
> > policy of disabling new project creation remains in effect.
>
> Thanks! It is good that so much of our history will remain accessible...
>
> "create any number of projects to host on our server" should probably be
> removed
>

Thanks Sean, I fixed it.

Dave