Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
How to publish a new BFAV release
Last updated at 7:32 pm UTC on 11 December 2006

Publishing 2.31

Tom Koenig 27 February 2005 Here's what I did:
1. In the image, finished the release, in Monticello saved it to SqueakSource as BFAV-tlk.200.mcz.
2. Download that latest release to my local disk.
3. In a browser, go to http://map1.squeakfoundation.org/sm/account
4. Enter my id and password and login.
5. Click on BFAV2 edit release
6. Typed in new release name, new release notes, clicked off publish clicked save as new release.
7. Cleared all field on the Download edit boxes and selected 'uploaded' hyperlink
8. Clicked on Browse button, navigated to and selected BFAV-tlk.200.mcs and clicked open
9. Clicked on upload button and then back hypertext
10. Clicked on BFAV2 edit release
11. Selected BFAV-tlk.200.mcs from the dropdown list
12. Clicked on 'to test url' hyperlink and cancelled dialog box once I saw it was good
13. Clicked on publish and clicked save changes.
14. Clicked back
15. Click on BFAV2 installer edit release
16. Typed in new release name, new release notes, clicked off publish clicked save as new release. [didn't have to change install script, but I did before I figured it out]
17. Clicked on publish and clicked save changes.
18. Clicked back and logged off.
19. In a fresh image, in SM from right mouse menu selected 'upgrade map from net'
20. selected BFAV2 Installer 2.31 and installed.


The really long version

Tom Koenig November 08, 2004 I would like to register a (beta) version of BFAV. I've an account on SqueakSource where I'm an 'admin' for BFAV, and where I've put the code:
 http://kilana.unibe.ch:8888/BFAV2/BFAV-tlk.182.mcz.  
I also have an account on SqueakMap, where I need to enter a download url. For 2.12 this shows as:
http://map1.squeakfoundation.org/sm/accountbyid/7d14beff-c6b5-40fe-b47b-625d54519641/files/BFAV-tlk.165.mcz
I don't understand how to make the connection. Am I supposed to copy from SS to SM? If so how? I tried inspecting:
SMSqueakMap default packageWithNameBeginning: 'BFAV' 
and exploring Map to see if the UUID was there.
Frank Caggiano replied:
1. You must be logged into SqueakSource for this to work.
2. From the main project page on SqueakSource, click 'Versions' (or'Releases' if this is a release).
3. From the list displayed, select the line for the delta you want to put into SqueakMap and click 'details'.
4. There will be a button 'SqueakMap Release', click it and follow the directions.
Tom Koenig Thanks
1. I signed on to SqueakSource,
2. I went to Projects, selected 'The Squeak community harvesting tool', selected Versions.
3. I selected the line for BFAV-tlk.182 details download
4. I clicked on SqueakMap Release,
5. I entered BFAV as the project, and entered my initials and by password twice. I got:
 Internal Server Error
 Error: Invalid account
Frank Caggiano Just to cover all bases, the initials and password you enter here are your initals and password on SqueakMap not SqueakSource (if they are different of course). Is your account on SqueakMap ok? Can you directly log on to SqueakMap using the initials and passwd you are entering when trying to create the squeakmap release? Do you have permission to edit the SqueakMap entry for BFAV?
Tom Koenig So, I was using my SS rather than SM password on the last step.
5. I entered BFAV as the project, and entered my initials and by SM password twice. And it looks good.
6. Then I open a brownser and sign onto SM and add ____as 2.30. (I don't check publish, since 2.12 is still better for most folks.)
7. I go into my 3.9a 6351 image and upgrade my SM map from the image. I don't see the BFAV2 2.30 release as a choice in the SM list.
8. I checked in my 3.9a-6328 image and I can see the BFAV2 2.30 release as a choice in the SM list.
Goran Krampe What do you mean "as a choice"? Do you see it at all? In my just updated map, this
SMSqueakMap default checkpointNumber 
evaluates to==> 1384. If you update your map now and it succeeds then it should be at least 1384. Otherwise you didn't succeed in updating it.
Tom Koenig Following your earlier advice, I think I've successfully
6a. Installed a BFAV version 2.30.
6b. Modified the script for the BFAV Installer (made it release 2.30)
6c. Marked these releases as well as HTTPClient as being 3.9a compatible.
7. When I go into a clean 3.9a 6351 image, refresh the SM map and select the BFAV2 Installer 2.30 beta, it starts loading and then produces an
'Error occurred during install: UUID did not map to a package. Would you like to open a debugger?' 
The UUIDString it didnít find was '66598d55-bce0-4f20-ad7f-18ce194f4a81'.
BVAV2 2.30 is saved as
http://map1.squeakfoundation.org/sm/accountbyid/66598d55-bce0-4f20-ad7f-
18ce194f4a81/files/BFAV-tlk.182.mcz
....
Tom Koenig BFAV still isn't published because I can't get the install script to work. One thing I hadn't done yet is figure out how to invoke
ArchivePost initialize  
In the install script, so the DRNP reopen function works.
Frank Shearar The script looks fine. What doesn't look fine is when I publish it and
SqueakMap tells me there's no package matching the UUID in the script. The 2. 30 script says
  'a056f3b5-38ba-df44-99bb-981b0711842d'. "The BFAV package itself"
where the previous releases all say
  'd4d7d3e0-5892-4b71-8c34-ca363d270427'. "The BFAV package itself"
Now I thought maybe that was because the UUID points to a release, rather than a package; however, both the 2.11 and 2.12 versions of the installer use the same UUID. I'll try copy the 2.30 installer, and use the UUID used in 2.11/2.12 and see what happens. If it doesn't work I'll revert the change.


Publishing a release

Frank Shearar February 07, 2005 What I always do is this:
1. Finish the release, save it to SqueakSource.
2. Download that latest release to my local disk.
3. Browse to SqueakMap, and upload that release to my SM account.
4. Make a new release on SqueakMap, referencing the SM location of the release.



The really long version

Tom Koenig November 08, 2004 I would like to register a (beta) version of BFAV. I've an account on SqueakSource where I'm an 'admin' for BFAV, and where I've put the code:
 http://kilana.unibe.ch:8888/BFAV2/BFAV-tlk.182.mcz.  
I also have an account on SqueakMap, where I need to enter a download url. For 2.12 this shows as:
http://map1.squeakfoundation.org/sm/accountbyid/7d14beff-c6b5-40fe-b47b-625d54519641/files/BFAV-tlk.165.mcz
I don't understand how to make the connection. Am I supposed to copy from SS to SM? If so how? I tried inspecting:
SMSqueakMap default packageWithNameBeginning: 'BFAV' 
and exploring Map to see if the UUID was there.
Frank Caggiano replied:
1. You must be logged into SqueakSource for this to work.
2. From the main project page on SqueakSource, click 'Versions' (or'Releases' if this is a release).
3. From the list displayed, select the line for the delta you want to put into SqueakMap and click 'details'.
4. There will be a button 'SqueakMap Release', click it and follow the directions.
Tom Koenig Thanks
1. I signed on to SqueakSource,
2. I went to Projects, selected 'The Squeak community harvesting tool', selected Versions.
3. I selected the line for BFAV-tlk.182 details download
4. I clicked on SqueakMap Release,
5. I entered BFAV as the project, and entered my initials and by password twice. I got:
 Internal Server Error
 Error: Invalid account
Frank Caggiano Just to cover all bases, the initials and password you enter here are your initals and password on SqueakMap not SqueakSource (if they are different of course). Is your account on SqueakMap ok? Can you directly log on to SqueakMap using the initials and passwd you are entering when trying to create the squeakmap release? Do you have permission to edit the SqueakMap entry for BFAV?
Tom Koenig So, I was using my SS rather than SM password on the last step.
5. I entered BFAV as the project, and entered my initials and by SM password twice. And it looks good.
6. Then I open a brownser and sign onto SM and add ____as 2.30. (I don't check publish, since 2.12 is still better for most folks.)
7. I go into my 3.9a 6351 image and upgrade my SM map from the image. I don't see the BFAV2 2.30 release as a choice in the SM list.
8. I checked in my 3.9a-6328 image and I can see the BFAV2 2.30 release as a choice in the SM list.
Goran Krampe What do you mean "as a choice"? Do you see it at all? In my just updated map, this
SMSqueakMap default checkpointNumber 
evaluates to==> 1384. If you update your map now and it succeeds then it should be at least 1384. Otherwise you didn't succeed in updating it.
Tom Koenig Following your earlier advice, I think I've successfully
6a. Installed a BFAV version 2.30.
6b. Modified the script for the BFAV Installer (made it release 2.30)
6c. Marked these releases as well as HTTPClient as being 3.9a compatible.
7. When I go into a clean 3.9a 6351 image, refresh the SM map and select the BFAV2 Installer 2.30 beta, it starts loading and then produces an
'Error occurred during install: UUID did not map to a package. Would you like to open a debugger?' 
The UUIDString it didnít find was '66598d55-bce0-4f20-ad7f-18ce194f4a81'.
BVAV2 2.30 is saved as
http://map1.squeakfoundation.org/sm/accountbyid/66598d55-bce0-4f20-ad7f-
18ce194f4a81/files/BFAV-tlk.182.mcz
....
Tom Koenig BFAV still isn't published because I can't get the install script to work. One thing I hadn't done yet is figure out how to invoke
ArchivePost initialize  
In the install script, so the DRNP reopen function works.
Frank Shearar The script looks fine. What doesn't look fine is when I publish it and
SqueakMap tells me there's no package matching the UUID in the script. The 2. 30 script says
  'a056f3b5-38ba-df44-99bb-981b0711842d'. "The BFAV package itself"
where the previous releases all say
  'd4d7d3e0-5892-4b71-8c34-ca363d270427'. "The BFAV package itself"
Now I thought maybe that was because the UUID points to a release, rather than a package; however, both the 2.11 and 2.12 versions of the installer use the same UUID. I'll try copy the 2.30 installer, and use the UUID used in 2.11/2.12 and see what happens. If it doesn't work I'll revert the change.
Frank Shearar So, there were two problems. The UUID for the BFAV package was wrong (see above), and there was a syntax error in the .st - it had:
   ArchivePost initialize
instead of:
   ArchivePost initialize.
Fixed both, so we now have a released 2.30

Tom Koenig 07 February 2005 Here's what I did:
1. From my image, saved BFAV-tlk.194 to SqueakSource
2. From a browser, signed onto SqueakSource and published a 194 as arelease
3. From my image, refreshed SqueakMap and See (194)with a SqueakSource not a SqueakMap download address
4. From a browser, signed onto SqueakMap and am not sure what to do next
Frank Shearar Hm, I think what you've done will work. OK, so you've got the 9th release open in your browser.
5. Duplicate the window & open up the previous version (8-2.30).
6. Duplicate all the information and you're done. (Using a version number like maybe 2.31)

I think what you should do next time to make a new release is
1. Open up the latest old release
2. Change the bits that need changing (version number, download URL, maybe the release notes (credits, etc)) and make sure it's published, of course .
3. Hit the "Save as new release" button.

Why you need to indicate what release BFAV is compatible with?

November 08, 2004 Bernhard Pieber
1. I just downloaded the newest Squeak3.9a-6404.zip and tried to install 'BFAV2 Installer' version 2.12. SqueakMap warns me that BFAV2Installer might not be compatible with Squeak3.9alpha. When I proceed anyway, I get the following error:
'No published release for this system version found to install.'
Goran Krampe This is because "BFAV2 Install" is a load script and it uses the default SM method to install packages(upgradeOrInstallPackageWithUID: This in turn uses SMPackage>>upgradeOrInstall. That method tries to be smart and finds the latest published release for the Squeak version you are running. If it can't find one it fails. So it boils down to marking the HTTPClient and BFAV package releases appropriately. I just added a 3.9-alpha category to SM so we can do this.

Why we don't use map1.squeakfoundation.org not kilana.unibe.ch for installing

Frank Shearar 02.12.2004 I published BFAV 2.30 and of course BFAV-Installer. I open up a virgin Squeak 3.9a, open up a SqueakMap & hit "install" on the BFAV Installer. After a while, I get a debugger popping up complaining about how the EOCD wasn't found. I look at the size of the BFAV-tlk.182.mcz SqueakMap downloaded - 454 bytes. It looks like a truncated file was downloaded. So I thought I'd see if maybe the repository had a bad file & downloaded:
 http://kilana.unibe.ch:8888/BFAV2/BFAV-tlk.182.mcz. 
It came down fine, all 99K of it. Any ideas why this is happening?
I think in the meantime I'll upload the BFAV-tlk.182.mcz to map1.squeakfoundation.org. (That's how I've done all the previous releases - it cuts out an additional point of failure.)
Stefan Matthias Aust Can you re-upload it through the web-interface? It's on disc, but (see other mail) squeaksource lost it's knowledge about it.
Frank Shearar Ah OK. I see (for the other people who need to do this) you can:
1. Browse to BFAV2's mczs at http://kilana.unibe.ch:8888/BFAV2/
2. Download those versions that SqueakSource has "forgotten"
3. Re-upload the versions through the web interface
Adjust as required for your package.